GenericMappingTools
pygmt
BlogDocsChangelog

Run pytest with `--color=yes` to force GitHub Actions logs to have color

#3330Merged
Comparing
pytest-color-output
(
24464f6
) with
main
(
97a6f30
)
CodSpeed Performance Gauge
+39%
Improvements
21
Untouched
80

Benchmarks

Improved

test_virtual_file
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+39%
90.4 ms65.1 ms
test_virtualfile_from_matrix
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+39%
90.8 ms65.4 ms
test_virtualfile_from_vectors
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+38%
91.4 ms66 ms
test_virtualfile_from_vectors_one_string_or_object_column[object]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+30%
11.2 ms8.6 ms
test_virtualfile_from_vectors_one_string_or_object_column[str]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+30%
11.2 ms8.7 ms
test_x2sys_init_units_gap
pygmt/tests/test_x2sys_init.py
CodSpeed Performance Gauge
+30%
11.3 ms8.7 ms
test_call_module
pygmt/tests/test_clib.py
CodSpeed Performance Gauge
+29%
11.1 ms8.6 ms
test_virtualfile_in_required_z_matrix[array-matrix]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+28%
11.8 ms9.3 ms
test_virtualfile_in_required_z_matrix[DataFrame-vector]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+27%
12.2 ms9.6 ms
test_info_pandas_dataframe_date_column[datetime64[ns]]
pygmt/tests/test_info.py
CodSpeed Performance Gauge
+27%
12.3 ms9.7 ms
test_info_xarray_dataset_time_column
pygmt/tests/test_info.py
CodSpeed Performance Gauge
+27%
12.4 ms9.8 ms
test_info_pandas_dataframe_date_column[date32[day][pyarrow]]
pygmt/tests/test_info.py
CodSpeed Performance Gauge
+26%
12.5 ms9.9 ms
test_info_pandas_dataframe_date_column[date64[ms][pyarrow]]
pygmt/tests/test_info.py
CodSpeed Performance Gauge
+26%
12.5 ms9.9 ms
test_virtualfile_in_required_z_matrix[Dataset-vector]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+21%
14.6 ms12.1 ms
test_geopandas_info_geodataframe
pygmt/tests/test_geopandas.py
CodSpeed Performance Gauge
+19%
16.1 ms13.6 ms
test_config_format_date_map
pygmt/tests/test_config.py
CodSpeed Performance Gauge
+17%
45.1 ms38.6 ms
test_begin_end
pygmt/tests/test_session_management.py
CodSpeed Performance Gauge
+15%
37.3 ms32.5 ms
test_grdlandmask_no_outgrid
pygmt/tests/test_grdlandmask.py
CodSpeed Performance Gauge
+15%
135.4 ms118.2 ms
test_velo_pandas_dataframe
pygmt/tests/test_velo.py
CodSpeed Performance Gauge
+13%
21.5 ms19.1 ms
test_binstats_no_outgrid
pygmt/tests/test_binstats.py
CodSpeed Performance Gauge
+10%
25.4 ms23 ms
test_load_remote_dataset_benchmark_with_region
pygmt/tests/test_datasets_load_remote_datasets.py
CodSpeed Performance Gauge
+10%
57.3 ms52 ms

Passed

test_meca_spec_multiple_focalmecha[array2d]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
+9%
30 ms27.6 ms
test_which_multiple
pygmt/tests/test_which.py
CodSpeed Performance Gauge
+9%
32.6 ms30 ms
test_meca_spec_multiple_focalmecha[dataframe]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
+9%
30.7 ms28.3 ms
test_meca_spec_multiple_focalmecha[dict_mecha]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
+8%
31 ms28.6 ms
test_meca_spec_multiple_focalmecha[dict_mecha_mixed]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
+8%
31.2 ms28.8 ms
test_earth_relief_holes
pygmt/tests/test_datasets_samples.py
CodSpeed Performance Gauge
+6%
41.9 ms39.4 ms
test_x2sys_cross_input_dataframe_output_dataframe[s]
pygmt/tests/test_x2sys_cross.py
CodSpeed Performance Gauge
+4%
252.3 ms242.6 ms
test_x2sys_cross_input_dataframe_output_dataframe[o]
pygmt/tests/test_x2sys_cross.py
CodSpeed Performance Gauge
+4%
252.2 ms242.5 ms
test_x2sys_cross_input_dataframe_output_dataframe[y]
pygmt/tests/test_x2sys_cross.py
CodSpeed Performance Gauge
+4%
252.2 ms242.5 ms
test_sph2grd_no_outgrid
pygmt/tests/test_sph2grd.py
CodSpeed Performance Gauge
+3%
402.8 ms390.2 ms
test_dataset
pygmt/tests/test_datatypes_dataset.py
CodSpeed Performance Gauge
+3%
85.6 ms83 ms
test_select_input_dataframe
pygmt/tests/test_select.py
CodSpeed Performance Gauge
+3%
85.8 ms83.2 ms
test_ternary_3_labels
pygmt/tests/test_ternary.py
CodSpeed Performance Gauge
+2%
26.4 ms25.9 ms
test_logo
pygmt/tests/test_logo.py
CodSpeed Performance Gauge
+1%
179 ms176.4 ms
test_accessor_set_geographic_cartesian_roundtrip
pygmt/tests/test_accessor.py
CodSpeed Performance Gauge
0%
309.9 µs308.7 µs
test_legend_entries
pygmt/tests/test_legend.py
CodSpeed Performance Gauge
0%
126 ms125.7 ms
test_grdimage_grid_and_shading_with_xarray[png]
pygmt/tests/test_grdimage.py
CodSpeed Performance Gauge
0%
1.3 s1.3 s
test_coast_region
pygmt/tests/test_coast.py
CodSpeed Performance Gauge
0%
480.8 ms480.5 ms
test_nearneighbor_input_xyz
pygmt/tests/test_nearneighbor.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
test_grdview_drapegrid_dataarray
pygmt/tests/test_grdview.py
CodSpeed Performance Gauge
0%
1.3 s1.3 s
test_project_input_matrix[DataFrame]
pygmt/tests/test_project.py
CodSpeed Performance Gauge
0%
111.4 ms111.5 ms
test_project_input_matrix[array]
pygmt/tests/test_project.py
CodSpeed Performance Gauge
0%
111.1 ms111.2 ms
test_grdvolume
pygmt/tests/test_grdvolume.py
CodSpeed Performance Gauge
0%
77.2 ms77.3 ms
test_project_input_matrix[Dataset]
pygmt/tests/test_project.py
CodSpeed Performance Gauge
0%
113.1 ms113.1 ms
test_delaunay_triples_input_xyz
pygmt/tests/test_triangulate.py
CodSpeed Performance Gauge
0%
94 ms94.1 ms
test_regular_grid_no_outgrid
pygmt/tests/test_triangulate.py
CodSpeed Performance Gauge
0%
61.9 ms62 ms
test_grdtrack_input_dataframe_and_dataarray
pygmt/tests/test_grdtrack.py
CodSpeed Performance Gauge
0%
60.7 ms60.7 ms
test_xyz2grd_input_array[array]
pygmt/tests/test_xyz2grd.py
CodSpeed Performance Gauge
0%
33.5 ms33.6 ms
test_inset_aliases
pygmt/tests/test_inset.py
CodSpeed Performance Gauge
0%
572.4 ms572.9 ms
test_filter1d
pygmt/tests/test_filter1d.py
CodSpeed Performance Gauge
0%
44.1 ms44.1 ms
test_blockmedian_input_table_matrix
pygmt/tests/test_blockmedian.py
CodSpeed Performance Gauge
0%
124.5 ms124.6 ms
test_grd2xyz
pygmt/tests/test_grd2xyz.py
CodSpeed Performance Gauge
0%
61.2 ms61.3 ms
test_blockmode_input_dataframe
pygmt/tests/test_blockm.py
CodSpeed Performance Gauge
0%
126.7 ms126.8 ms
test_grdsample_dataarray_out
pygmt/tests/test_grdsample.py
CodSpeed Performance Gauge
0%
10.9 ms10.9 ms
test_grdclip_no_outgrid
pygmt/tests/test_grdclip.py
CodSpeed Performance Gauge
0%
10 ms10 ms
test_contour_matrix[array]
pygmt/tests/test_contour.py
CodSpeed Performance Gauge
0%
68.7 ms68.8 ms
test_blockmean_input_xyz
pygmt/tests/test_blockm.py
CodSpeed Performance Gauge
0%
84 ms84.1 ms
test_xyz2grd_input_array[Dataset]
pygmt/tests/test_xyz2grd.py
CodSpeed Performance Gauge
0%
31.4 ms31.4 ms
test_contour_matrix[Dataset]
pygmt/tests/test_contour.py
CodSpeed Performance Gauge
0%
71.5 ms71.7 ms
test_contour_matrix[DataFrame]
pygmt/tests/test_contour.py
CodSpeed Performance Gauge
0%
69.2 ms69.3 ms
test_sphdistance_no_outgrid
pygmt/tests/test_sphdistance.py
CodSpeed Performance Gauge
0%
132.1 ms132.4 ms
test_grdproject_no_outgrid[+proj=merc +ellps=WGS84 +units=m +width=10]
pygmt/tests/test_grdproject.py
CodSpeed Performance Gauge
0%
12.1 ms12.2 ms
test_rose_plot_data_using_cpt
pygmt/tests/test_rose.py
CodSpeed Performance Gauge
0%
17.6 ms17.6 ms
test_dimfilter_no_outgrid
pygmt/tests/test_dimfilter.py
CodSpeed Performance Gauge
0%
10.2 ms10.2 ms
test_grdfilter_dataarray_in_dataarray_out
pygmt/tests/test_grdfilter.py
CodSpeed Performance Gauge
0%
10.1 ms10.2 ms
test_grdfill_dataarray_out
pygmt/tests/test_grdfill.py
CodSpeed Performance Gauge
0%
10 ms10 ms
test_grdproject_no_outgrid[M10c]
pygmt/tests/test_grdproject.py
CodSpeed Performance Gauge
0%
10.1 ms10.1 ms
test_grdproject_no_outgrid[EPSG:3395 +width=10]
pygmt/tests/test_grdproject.py
CodSpeed Performance Gauge
0%
10.7 ms10.7 ms
test_grdcontour_labels
pygmt/tests/test_grdcontour.py
CodSpeed Performance Gauge
0%
18.2 ms18.3 ms
test_dataarray_to_matrix_works
pygmt/tests/test_clib.py
CodSpeed Performance Gauge
0%
2.2 ms2.2 ms
test_solar_set_terminator_datetime[terminator_datetime_string]
pygmt/tests/test_solar.py
CodSpeed Performance Gauge
0%
25 ms25.1 ms
test_subplot_basic_frame
pygmt/tests/test_subplot.py
CodSpeed Performance Gauge
0%
56.2 ms56.5 ms
test_equalize_grid_no_outgrid
pygmt/tests/test_grdhisteq.py
CodSpeed Performance Gauge
0%
10 ms10 ms
test_io_load_dataarray
pygmt/tests/test_io.py
CodSpeed Performance Gauge
0%
23.6 ms23.7 ms
test_grdgradient_no_outgrid
pygmt/tests/test_grdgradient.py
CodSpeed Performance Gauge
0%
10 ms10.1 ms
test_compute_bins_no_outfile
pygmt/tests/test_grdhisteq.py
CodSpeed Performance Gauge
-1%
9.9 ms10 ms
test_solar_set_terminator_datetime[terminator_datetime1]
pygmt/tests/test_solar.py
CodSpeed Performance Gauge
-1%
24.1 ms24.3 ms
test_surface_input_xyz
pygmt/tests/test_surface.py
CodSpeed Performance Gauge
-1%
10.7 ms10.8 ms
test_grdinfo
pygmt/tests/test_grdinfo.py
CodSpeed Performance Gauge
-1%
6.8 ms6.8 ms
test_sphinterpolate_no_outgrid
pygmt/tests/test_sphinterpolate.py
CodSpeed Performance Gauge
-1%
71.4 ms71.9 ms
test_load_libgmt
pygmt/tests/test_clib_loading.py
CodSpeed Performance Gauge
-1%
522.4 µs526.1 µs
test_grdcut_dataarray_in_dataarray_out
pygmt/tests/test_grdcut.py
CodSpeed Performance Gauge
-1%
15.1 ms15.2 ms
test_plot_vectors
pygmt/tests/test_plot.py
CodSpeed Performance Gauge
-1%
15.7 ms15.8 ms
test_basemap
pygmt/tests/test_basemap.py
CodSpeed Performance Gauge
-1%
14.7 ms14.8 ms
test_grd2cpt
pygmt/tests/test_grd2cpt.py
CodSpeed Performance Gauge
-1%
38.6 ms38.9 ms
test_plot3d_vectors
pygmt/tests/test_plot3d.py
CodSpeed Performance Gauge
-1%
16.2 ms16.3 ms
test_makecpt_output_cpt_file
pygmt/tests/test_makecpt.py
CodSpeed Performance Gauge
-1%
10.9 ms11 ms
test_histogram[Series]
pygmt/tests/test_histogram.py
CodSpeed Performance Gauge
-1%
15.1 ms15.2 ms
test_colorbar
pygmt/tests/test_colorbar.py
CodSpeed Performance Gauge
-1%
15.1 ms15.2 ms
test_histogram[list]
pygmt/tests/test_histogram.py
CodSpeed Performance Gauge
-1%
15.1 ms15.2 ms
test_figure_repr
pygmt/tests/test_figure.py
CodSpeed Performance Gauge
-1%
33.3 ms33.6 ms
test_text_multiple_lines_of_text
pygmt/tests/test_text.py
CodSpeed Performance Gauge
-1%
14.8 ms14.9 ms
test_psconvert
pygmt/tests/test_psconvert.py
CodSpeed Performance Gauge
-1%
24 ms24.2 ms
test_timestamp_font
pygmt/tests/test_timestamp.py
CodSpeed Performance Gauge
-1%
14.5 ms14.7 ms
test_wiggle_data_incols
pygmt/tests/test_wiggle.py
CodSpeed Performance Gauge
-1%
15.1 ms15.3 ms
test_put_matrix_grid
pygmt/tests/test_clib_put_matrix.py
CodSpeed Performance Gauge
-3%
59.3 ms60.8 ms
test_put_strings
pygmt/tests/test_clib_put_strings.py
CodSpeed Performance Gauge
-4%
3.6 ms3.7 ms
test_put_vector
pygmt/tests/test_clib_put_vector.py
CodSpeed Performance Gauge
-5%
26.7 ms28.1 ms
test_put_vector_string_dtype
pygmt/tests/test_clib_put_vector.py
CodSpeed Performance Gauge
-5%
25.9 ms27.2 ms
test_put_matrix
pygmt/tests/test_clib_put_matrix.py
CodSpeed Performance Gauge
-6%
23 ms24.4 ms

Commits

Click on a commit to change the comparison range
Base
main
97a6f30
+38.95%
Set --color=yes in addopts rather than GitHub Actions workflow
24464f6
1 year ago
by weiji14
© 2025 CodSpeed Technology
Home Terms Privacy Docs