Avatar for the GenericMappingTools user
GenericMappingTools
pygmt
BlogDocsChangelog

Mark unit tests with @pytest.mark.benchmark part 1

#2911Merged
Comparing
pytest/mark-benchmark
(
1c84a84
) with
main
(
b013f05
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
1
New
63
Dropped
0
Ignored
0

Benchmarks

New

test_geopandas_info_geodataframe
pygmt/tests/test_geopandas.py::test_geopandas_info_geodataframe
CodSpeed Performance Gauge
N/A
N/A
119 ms
test_grd2cpt
pygmt/tests/test_grd2cpt.py::test_grd2cpt
CodSpeed Performance Gauge
N/A
N/A
228.9 ms
test_grd2xyz
pygmt/tests/test_grd2xyz.py::test_grd2xyz
CodSpeed Performance Gauge
N/A
N/A
43.6 ms
test_grdclip_no_outgrid
pygmt/tests/test_grdclip.py::test_grdclip_no_outgrid
CodSpeed Performance Gauge
N/A
N/A
86.5 ms
test_grdcontour_labels
pygmt/tests/test_grdcontour.py::test_grdcontour_labels
CodSpeed Performance Gauge
N/A
N/A
99.1 ms
test_grdcut_dataarray_in_dataarray_out
pygmt/tests/test_grdcut.py::test_grdcut_dataarray_in_dataarray_out
CodSpeed Performance Gauge
N/A
N/A
86.2 ms
test_grdfill_dataarray_out
pygmt/tests/test_grdfill.py::test_grdfill_dataarray_out
CodSpeed Performance Gauge
N/A
N/A
86.1 ms
test_grdfilter_dataarray_in_dataarray_out
pygmt/tests/test_grdfilter.py::test_grdfilter_dataarray_in_dataarray_out
CodSpeed Performance Gauge
N/A
N/A
86.8 ms
test_grdgradient_no_outgrid
pygmt/tests/test_grdgradient.py::test_grdgradient_no_outgrid
CodSpeed Performance Gauge
N/A
N/A
86.5 ms
test_compute_bins_no_outfile
pygmt/tests/test_grdhisteq.py::test_compute_bins_no_outfile
CodSpeed Performance Gauge
N/A
N/A
47 ms
test_equalize_grid_no_outgrid
pygmt/tests/test_grdhisteq.py::test_equalize_grid_no_outgrid
CodSpeed Performance Gauge
N/A
N/A
86.3 ms
test_grdimage_grid_and_shading_with_xarray[png]
pygmt/tests/test_grdimage.py::test_grdimage_grid_and_shading_with_xarray[png]
CodSpeed Performance Gauge
N/A
N/A
5.9 s
test_grdinfo
pygmt/tests/test_grdinfo.py::test_grdinfo
CodSpeed Performance Gauge
N/A
N/A
35 ms
test_grdlandmask_no_outgrid
pygmt/tests/test_grdlandmask.py::test_grdlandmask_no_outgrid
CodSpeed Performance Gauge
N/A
N/A
2.2 s
test_grdproject_no_outgrid[+proj=merc +ellps=WGS84 +units=m +width=10]
pygmt/tests/test_grdproject.py::test_grdproject_no_outgrid[+proj=merc +ellps=WGS84 +units=m +width=10]
CodSpeed Performance Gauge
N/A
N/A
103.2 ms
test_grdproject_no_outgrid[EPSG:3395 +width=10]
pygmt/tests/test_grdproject.py::test_grdproject_no_outgrid[EPSG:3395 +width=10]
CodSpeed Performance Gauge
N/A
N/A
104.2 ms
test_grdproject_no_outgrid[M10c]
pygmt/tests/test_grdproject.py::test_grdproject_no_outgrid[M10c]
CodSpeed Performance Gauge
N/A
N/A
101.1 ms
test_grdsample_dataarray_out
pygmt/tests/test_grdsample.py::test_grdsample_dataarray_out
CodSpeed Performance Gauge
N/A
N/A
111.3 ms
test_grdtrack_input_dataframe_and_dataarray
pygmt/tests/test_grdtrack.py::test_grdtrack_input_dataframe_and_dataarray
CodSpeed Performance Gauge
N/A
N/A
44 ms
test_grdview_drapegrid_dataarray
pygmt/tests/test_grdview.py::test_grdview_drapegrid_dataarray
CodSpeed Performance Gauge
N/A
N/A
7.6 s
test_grdvolume_no_outgrid
pygmt/tests/test_grdvolume.py::test_grdvolume_no_outgrid
CodSpeed Performance Gauge
N/A
N/A
42.2 ms
test_histogram[Series]
pygmt/tests/test_histogram.py::test_histogram[Series]
CodSpeed Performance Gauge
N/A
N/A
81.9 ms
test_histogram[list]
pygmt/tests/test_histogram.py::test_histogram[list]
CodSpeed Performance Gauge
N/A
N/A
81.6 ms
test_info_pandas_dataframe_date_column[datetime64[ns]]
pygmt/tests/test_info.py::test_info_pandas_dataframe_date_column[datetime64[ns]]
CodSpeed Performance Gauge
N/A
N/A
57.5 ms
test_info_xarray_dataset_time_column
pygmt/tests/test_info.py::test_info_xarray_dataset_time_column
CodSpeed Performance Gauge
N/A
N/A
58.5 ms
test_inset_aliases
pygmt/tests/test_inset.py::test_inset_aliases
CodSpeed Performance Gauge
N/A
N/A
2.6 s
test_io_load_dataarray
pygmt/tests/test_io.py::test_io_load_dataarray
CodSpeed Performance Gauge
N/A
N/A
127.9 ms
test_legend_entries
pygmt/tests/test_legend.py::test_legend_entries
CodSpeed Performance Gauge
N/A
N/A
587.2 ms
test_makecpt_output_cpt_file
pygmt/tests/test_makecpt.py::test_makecpt_output_cpt_file
CodSpeed Performance Gauge
N/A
N/A
58.4 ms
test_meca_spec_multiple_focalmecha[array2d]
pygmt/tests/test_meca.py::test_meca_spec_multiple_focalmecha[array2d]
CodSpeed Performance Gauge
N/A
N/A
161.9 ms
test_meca_spec_multiple_focalmecha[dataframe]
pygmt/tests/test_meca.py::test_meca_spec_multiple_focalmecha[dataframe]
CodSpeed Performance Gauge
N/A
N/A
165.1 ms
test_meca_spec_multiple_focalmecha[dict_mecha]
pygmt/tests/test_meca.py::test_meca_spec_multiple_focalmecha[dict_mecha]
CodSpeed Performance Gauge
N/A
N/A
167.3 ms
test_meca_spec_multiple_focalmecha[dict_mecha_mixed]
pygmt/tests/test_meca.py::test_meca_spec_multiple_focalmecha[dict_mecha_mixed]
CodSpeed Performance Gauge
N/A
N/A
167.5 ms
test_nearneighbor_input_xyz
pygmt/tests/test_nearneighbor.py::test_nearneighbor_input_xyz
CodSpeed Performance Gauge
N/A
N/A
8.2 s
test_plot_vectors
pygmt/tests/test_plot.py::test_plot_vectors
CodSpeed Performance Gauge
N/A
N/A
84.8 ms
test_plot3d_vectors
pygmt/tests/test_plot3d.py::test_plot3d_vectors
CodSpeed Performance Gauge
N/A
N/A
87.3 ms
test_project_input_matrix[DataFrame]
pygmt/tests/test_project.py::test_project_input_matrix[DataFrame]
CodSpeed Performance Gauge
N/A
N/A
41.8 ms
test_project_input_matrix[Dataset]
pygmt/tests/test_project.py::test_project_input_matrix[Dataset]
CodSpeed Performance Gauge
N/A
N/A
51 ms
test_project_input_matrix[array]
pygmt/tests/test_project.py::test_project_input_matrix[array]
CodSpeed Performance Gauge
N/A
N/A
40.4 ms
test_psconvert
pygmt/tests/test_psconvert.py::test_psconvert
CodSpeed Performance Gauge
N/A
N/A
137.9 ms
test_rose_plot_data_using_cpt
pygmt/tests/test_rose.py::test_rose_plot_data_using_cpt
CodSpeed Performance Gauge
N/A
N/A
93.9 ms
test_select_input_dataframe
pygmt/tests/test_select.py::test_select_input_dataframe
CodSpeed Performance Gauge
N/A
N/A
182.6 ms
test_begin_end
pygmt/tests/test_session_management.py::test_begin_end
CodSpeed Performance Gauge
N/A
N/A
181.6 ms
test_solar_set_terminator_datetime[terminator_datetime1]
pygmt/tests/test_solar.py::test_solar_set_terminator_datetime[terminator_datetime1]
CodSpeed Performance Gauge
N/A
N/A
135.9 ms
test_solar_set_terminator_datetime[terminator_datetime_string]
pygmt/tests/test_solar.py::test_solar_set_terminator_datetime[terminator_datetime_string]
CodSpeed Performance Gauge
N/A
N/A
139.7 ms
test_sph2grd_no_outgrid
pygmt/tests/test_sph2grd.py::test_sph2grd_no_outgrid
CodSpeed Performance Gauge
N/A
N/A
4.7 s
test_sphdistance_no_outgrid
pygmt/tests/test_sphdistance.py::test_sphdistance_no_outgrid
CodSpeed Performance Gauge
N/A
N/A
585.6 ms
test_sphinterpolate_no_outgrid
pygmt/tests/test_sphinterpolate.py::test_sphinterpolate_no_outgrid
CodSpeed Performance Gauge
N/A
N/A
397.8 ms
test_subplot_basic_frame
pygmt/tests/test_subplot.py::test_subplot_basic_frame
CodSpeed Performance Gauge
N/A
N/A
341.6 ms
test_surface_input_xyz
pygmt/tests/test_surface.py::test_surface_input_xyz
CodSpeed Performance Gauge
N/A
N/A
127.1 ms
test_ternary_3_labels
pygmt/tests/test_ternary.py::test_ternary_3_labels
CodSpeed Performance Gauge
N/A
N/A
137.9 ms
test_text_multiple_lines_of_text
pygmt/tests/test_text.py::test_text_multiple_lines_of_text
CodSpeed Performance Gauge
N/A
N/A
101 ms
test_timestamp_font
pygmt/tests/test_timestamp.py::test_timestamp_font
CodSpeed Performance Gauge
N/A
N/A
79.6 ms
test_delaunay_triples_input_xyz
pygmt/tests/test_triangulate.py::test_delaunay_triples_input_xyz
CodSpeed Performance Gauge
N/A
N/A
169.4 ms
test_regular_grid_no_outgrid
pygmt/tests/test_triangulate.py::test_regular_grid_no_outgrid
CodSpeed Performance Gauge
N/A
N/A
312.4 ms
test_velo_pandas_dataframe
pygmt/tests/test_velo.py::test_velo_pandas_dataframe
CodSpeed Performance Gauge
N/A
N/A
110.7 ms
test_which_multiple
pygmt/tests/test_which.py::test_which_multiple
CodSpeed Performance Gauge
N/A
N/A
65.3 ms
test_wiggle_data_incols
pygmt/tests/test_wiggle.py::test_wiggle_data_incols
CodSpeed Performance Gauge
N/A
N/A
82.9 ms
test_x2sys_cross_input_dataframe_output_dataframe
pygmt/tests/test_x2sys_cross.py::test_x2sys_cross_input_dataframe_output_dataframe
CodSpeed Performance Gauge
N/A
N/A
123.3 ms
test_x2sys_init_units_gap
pygmt/tests/test_x2sys_init.py::test_x2sys_init_units_gap
CodSpeed Performance Gauge
N/A
N/A
51.9 ms
test_xyz2grd_input_array[Dataset]
pygmt/tests/test_xyz2grd.py::test_xyz2grd_input_array[Dataset]
CodSpeed Performance Gauge
N/A
N/A
245.7 ms
test_xyz2grd_input_array[array]
pygmt/tests/test_xyz2grd.py::test_xyz2grd_input_array[array]
CodSpeed Performance Gauge
N/A
N/A
248.7 ms

Passed

test_basemap
pygmt/tests/test_basemap.py::test_basemap
CodSpeed Performance Gauge
0%
16 ms
16 ms

Commits

Click on a commit to change the comparison range
Base
main
b013f05
0%
Benchmark test_grdimage_grid_and_shading_with_xarray
62503c0
1 year ago
by weiji14
0%
Benchmark test_tilemap_ogc_wgs84
197bf9e
1 year ago
by weiji14
0%
Benchmark test_grdvolume_no_outgrid
4a964dd
1 year ago
by weiji14
0%
Revert "Benchmark test_image" This reverts commit d7674c463b19e2e1d3389e8e6080aa7b05261dd5.
1c84a84
1 year ago
by weiji14
© 2025 CodSpeed Technology
Home Terms PrivacyDocs