GenericMappingTools
pygmt
BlogDocsChangelog

CI: Add pytest plugins pytest-xdist and pytest-rerunfailures

#3193Merged
Comparing
pytest/xdist
(
a2e85cd
) with
main
(
5787a34
)
CodSpeed Performance Gauge
×4.2
Improvements
5
Untouched
94

Benchmarks

Improved

test_contour_matrix[array]
pygmt/tests/test_contour.py
CodSpeed Performance Gauge
×4.2
68.8 ms16.2 ms
test_contour_matrix[DataFrame]
pygmt/tests/test_contour.py
CodSpeed Performance Gauge
×4.1
69.3 ms16.7 ms
test_contour_matrix[Dataset]
pygmt/tests/test_contour.py
CodSpeed Performance Gauge
×3.8
71.6 ms19.1 ms
test_grdlandmask_no_outgrid
pygmt/tests/test_grdlandmask.py
CodSpeed Performance Gauge
×2.1
133.7 ms63.3 ms
test_sph2grd_no_outgrid
pygmt/tests/test_sph2grd.py
CodSpeed Performance Gauge
+42%
415.2 ms291.9 ms

Passed

test_legend_entries
pygmt/tests/test_legend.py
CodSpeed Performance Gauge
+10%
126.3 ms115.2 ms
test_grdsample_dataarray_out
pygmt/tests/test_grdsample.py
CodSpeed Performance Gauge
+5%
11.7 ms11.1 ms
test_plot3d_vectors
pygmt/tests/test_plot3d.py
CodSpeed Performance Gauge
+2%
16.3 ms15.9 ms
test_meca_spec_multiple_focalmecha[dataframe]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
+2%
31.2 ms30.4 ms
test_meca_spec_multiple_focalmecha[array2d]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
+2%
30.5 ms29.8 ms
test_meca_spec_multiple_focalmecha[dict_mecha_mixed]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
+2%
31.7 ms31 ms
test_rose_plot_data_using_cpt
pygmt/tests/test_rose.py
CodSpeed Performance Gauge
+2%
17.6 ms17.2 ms
test_psconvert
pygmt/tests/test_psconvert.py
CodSpeed Performance Gauge
+2%
24 ms23.5 ms
test_plot_vectors
pygmt/tests/test_plot.py
CodSpeed Performance Gauge
+2%
15.8 ms15.5 ms
test_meca_spec_multiple_focalmecha[dict_mecha]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
+2%
31.6 ms31 ms
test_put_matrix
pygmt/tests/test_clib_put_matrix.py
CodSpeed Performance Gauge
+2%
23.6 ms23.2 ms
test_put_strings
pygmt/tests/test_clib_put_strings.py
CodSpeed Performance Gauge
+2%
3.6 ms3.6 ms
test_accessor_set_geographic_cartesian_roundtrip
pygmt/tests/test_accessor.py
CodSpeed Performance Gauge
+1%
312.8 µs308.5 µs
test_logo
pygmt/tests/test_logo.py
CodSpeed Performance Gauge
+1%
180.6 ms178.3 ms
test_put_vector_string_dtype
pygmt/tests/test_clib_put_vector.py
CodSpeed Performance Gauge
+1%
26.9 ms26.6 ms
test_put_vector
pygmt/tests/test_clib_put_vector.py
CodSpeed Performance Gauge
+1%
28 ms27.7 ms
test_virtualfile_from_vectors_one_string_or_object_column[object]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+1%
11.7 ms11.5 ms
test_virtualfile_in_required_z_matrix[DataFrame-vector]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+1%
12.6 ms12.5 ms
test_virtualfile_from_vectors_one_string_or_object_column[str]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+1%
11.7 ms11.6 ms
test_load_remote_dataset_benchmark_with_region
pygmt/tests/test_datasets_load_remote_datasets.py
CodSpeed Performance Gauge
+1%
57.9 ms57.4 ms
test_dimfilter_no_outgrid
pygmt/tests/test_dimfilter.py
CodSpeed Performance Gauge
+1%
10.3 ms10.3 ms
test_put_matrix_grid
pygmt/tests/test_clib_put_matrix.py
CodSpeed Performance Gauge
+1%
61.6 ms61.1 ms
test_virtualfile_in_required_z_matrix[array-matrix]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+1%
12.2 ms12.1 ms
test_virtualfile_from_matrix
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+1%
94.5 ms93.9 ms
test_histogram[Series]
pygmt/tests/test_histogram.py
CodSpeed Performance Gauge
+1%
15.2 ms15.1 ms
test_sphinterpolate_no_outgrid
pygmt/tests/test_sphinterpolate.py
CodSpeed Performance Gauge
+1%
71.1 ms70.6 ms
test_info_xarray_dataset_time_column
pygmt/tests/test_info.py
CodSpeed Performance Gauge
+1%
12.9 ms12.8 ms
test_histogram[list]
pygmt/tests/test_histogram.py
CodSpeed Performance Gauge
+1%
15.1 ms15 ms
test_wiggle_data_incols
pygmt/tests/test_wiggle.py
CodSpeed Performance Gauge
+1%
15.2 ms15.1 ms
test_virtualfile_in_required_z_matrix[Dataset-vector]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+1%
15.1 ms15 ms
test_virtual_file
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+1%
94.2 ms93.6 ms
test_virtualfile_from_vectors
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
+1%
95.5 ms94.9 ms
test_info_pandas_dataframe_date_column[datetime64[ns]]
pygmt/tests/test_info.py
CodSpeed Performance Gauge
+1%
12.8 ms12.8 ms
test_colorbar
pygmt/tests/test_colorbar.py
CodSpeed Performance Gauge
0%
15.1 ms15 ms
test_grdcontour_labels
pygmt/tests/test_grdcontour.py
CodSpeed Performance Gauge
0%
18.3 ms18.3 ms
test_call_module
pygmt/tests/test_clib.py
CodSpeed Performance Gauge
0%
11.5 ms11.4 ms
test_io_load_dataarray
pygmt/tests/test_io.py
CodSpeed Performance Gauge
0%
23.6 ms23.6 ms
test_grdclip_no_outgrid
pygmt/tests/test_grdclip.py
CodSpeed Performance Gauge
0%
10.2 ms10.1 ms
test_info_pandas_dataframe_date_column[date32[day][pyarrow]]
pygmt/tests/test_info.py
CodSpeed Performance Gauge
0%
12.9 ms12.9 ms
test_x2sys_init_units_gap
pygmt/tests/test_x2sys_init.py
CodSpeed Performance Gauge
0%
11.4 ms11.4 ms
test_x2sys_cross_input_dataframe_output_dataframe
pygmt/tests/test_x2sys_cross.py
CodSpeed Performance Gauge
0%
24.9 ms24.8 ms
test_info_pandas_dataframe_date_column[date64[ms][pyarrow]]
pygmt/tests/test_info.py
CodSpeed Performance Gauge
0%
12.9 ms12.9 ms
test_velo_pandas_dataframe
pygmt/tests/test_velo.py
CodSpeed Performance Gauge
0%
22 ms22 ms
test_grdimage_grid_and_shading_with_xarray[png]
pygmt/tests/test_grdimage.py
CodSpeed Performance Gauge
0%
1.3 s1.3 s
test_config_format_date_map
pygmt/tests/test_config.py
CodSpeed Performance Gauge
0%
46.2 ms46.2 ms
test_which_multiple
pygmt/tests/test_which.py
CodSpeed Performance Gauge
0%
32.9 ms32.8 ms
test_grdproject_no_outgrid[EPSG:3395 +width=10]
pygmt/tests/test_grdproject.py
CodSpeed Performance Gauge
0%
10.8 ms10.8 ms
test_inset_aliases
pygmt/tests/test_inset.py
CodSpeed Performance Gauge
0%
564.9 ms564.1 ms
test_begin_end
pygmt/tests/test_session_management.py
CodSpeed Performance Gauge
0%
38 ms38 ms
test_makecpt_output_cpt_file
pygmt/tests/test_makecpt.py
CodSpeed Performance Gauge
0%
10.9 ms10.9 ms
test_select_input_dataframe
pygmt/tests/test_select.py
CodSpeed Performance Gauge
0%
86.3 ms86.2 ms
test_dataset
pygmt/tests/test_datatypes_dataset.py
CodSpeed Performance Gauge
0%
85.9 ms85.9 ms
test_geopandas_info_geodataframe
pygmt/tests/test_geopandas.py
CodSpeed Performance Gauge
0%
21.8 ms21.8 ms
test_filter1d
pygmt/tests/test_filter1d.py
CodSpeed Performance Gauge
0%
44.1 ms44.1 ms
test_solar_set_terminator_datetime[terminator_datetime1]
pygmt/tests/test_solar.py
CodSpeed Performance Gauge
0%
24.2 ms24.2 ms
test_grdcut_dataarray_in_dataarray_out
pygmt/tests/test_grdcut.py
CodSpeed Performance Gauge
0%
15.5 ms15.5 ms
test_grd2xyz
pygmt/tests/test_grd2xyz.py
CodSpeed Performance Gauge
0%
61.5 ms61.4 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_grdvolume
pygmt/tests/test_grdvolume.py
CodSpeed Performance Gauge
0%
77.4 ms77.4 ms
test_grdtrack_input_dataframe_and_dataarray
pygmt/tests/test_grdtrack.py
CodSpeed Performance Gauge
0%
60.9 ms60.9 ms
test_project_input_matrix[DataFrame]
pygmt/tests/test_project.py
CodSpeed Performance Gauge
0%
111.5 ms111.5 ms
test_xyz2grd_input_array[Dataset]
pygmt/tests/test_xyz2grd.py
CodSpeed Performance Gauge
0%
31.4 ms31.4 ms
test_regular_grid_no_outgrid
pygmt/tests/test_triangulate.py
CodSpeed Performance Gauge
0%
62 ms62 ms
test_project_input_matrix[array]
pygmt/tests/test_project.py
CodSpeed Performance Gauge
0%
111.2 ms111.2 ms
test_sphdistance_no_outgrid
pygmt/tests/test_sphdistance.py
CodSpeed Performance Gauge
0%
132.1 ms132.2 ms
test_blockmode_input_dataframe
pygmt/tests/test_blockm.py
CodSpeed Performance Gauge
0%
126.8 ms126.8 ms
test_timestamp_font
pygmt/tests/test_timestamp.py
CodSpeed Performance Gauge
0%
14.6 ms14.6 ms
test_text_multiple_lines_of_text
pygmt/tests/test_text.py
CodSpeed Performance Gauge
0%
14.9 ms14.9 ms
test_blockmean_input_xyz
pygmt/tests/test_blockm.py
CodSpeed Performance Gauge
0%
84.1 ms84.1 ms
test_blockmedian_input_table_matrix
pygmt/tests/test_blockmedian.py
CodSpeed Performance Gauge
0%
124.6 ms124.6 ms
test_project_input_matrix[Dataset]
pygmt/tests/test_project.py
CodSpeed Performance Gauge
0%
113.2 ms113.3 ms
test_surface_input_xyz
pygmt/tests/test_surface.py
CodSpeed Performance Gauge
0%
10.8 ms10.8 ms
test_delaunay_triples_input_xyz
pygmt/tests/test_triangulate.py
CodSpeed Performance Gauge
0%
94.1 ms94.2 ms
test_grdproject_no_outgrid[M10c]
pygmt/tests/test_grdproject.py
CodSpeed Performance Gauge
0%
10.2 ms10.3 ms
test_compute_bins_no_outfile
pygmt/tests/test_grdhisteq.py
CodSpeed Performance Gauge
0%
10.1 ms10.1 ms
test_ternary_3_labels
pygmt/tests/test_ternary.py
CodSpeed Performance Gauge
0%
26.5 ms26.5 ms
test_grdproject_no_outgrid[+proj=merc +ellps=WGS84 +units=m +width=10]
pygmt/tests/test_grdproject.py
CodSpeed Performance Gauge
0%
12.2 ms12.3 ms
test_binstats_no_outgrid
pygmt/tests/test_binstats.py
CodSpeed Performance Gauge
0%
25.6 ms25.7 ms
test_solar_set_terminator_datetime[terminator_datetime_string]
pygmt/tests/test_solar.py
CodSpeed Performance Gauge
0%
25 ms25 ms
test_xyz2grd_input_array[array]
pygmt/tests/test_xyz2grd.py
CodSpeed Performance Gauge
0%
33.4 ms33.5 ms
test_grdinfo
pygmt/tests/test_grdinfo.py
CodSpeed Performance Gauge
0%
6.9 ms7 ms
test_subplot_basic_frame
pygmt/tests/test_subplot.py
CodSpeed Performance Gauge
0%
56.2 ms56.3 ms
test_basemap
pygmt/tests/test_basemap.py
CodSpeed Performance Gauge
0%
14.7 ms14.8 ms
test_grdgradient_no_outgrid
pygmt/tests/test_grdgradient.py
CodSpeed Performance Gauge
0%
10.2 ms10.2 ms
test_equalize_grid_no_outgrid
pygmt/tests/test_grdhisteq.py
CodSpeed Performance Gauge
0%
10.1 ms10.2 ms
test_earth_relief_holes
pygmt/tests/test_datasets_samples.py
CodSpeed Performance Gauge
0%
42.3 ms42.5 ms
test_grdfill_dataarray_out
pygmt/tests/test_grdfill.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.3 ms10.3 ms
test_load_libgmt
pygmt/tests/test_clib_loading.py
CodSpeed Performance Gauge
-1%
526.2 µs529.6 µs
test_grd2cpt
pygmt/tests/test_grd2cpt.py
CodSpeed Performance Gauge
-1%
38.9 ms39.3 ms
test_figure_repr
pygmt/tests/test_figure.py
CodSpeed Performance Gauge
-1%
33.3 ms33.7 ms
test_dataarray_to_matrix_works
pygmt/tests/test_clib.py
CodSpeed Performance Gauge
-1%
2.3 ms2.3 ms
test_coast_region
pygmt/tests/test_coast.py
CodSpeed Performance Gauge
-3%
479.4 ms492.2 ms

Commits

Click on a commit to change the comparison range
Base
main
5787a34
×4.2
Debug benchmarks
0c6cc85
2 years ago
by seisman
-0.4%
Merge branch 'main' into pytest/xdist
b9b94e9
2 years ago
by seisman
+0.61%
Merge branch 'main' into pytest/xdist
1ecec65
2 years ago
by seisman
-0.63%
Merge branch 'main' into pytest/xdist
e4e2ab9
2 years ago
by seisman
+0.01%
Merge branch 'main' into pytest/xdist
a2e85cd
2 years ago
by seisman
© 2025 CodSpeed Technology
Home Terms Privacy Docs