BlogDocs

Mark unit tests with @pytest.mark.benchmark part 2(#2924)

Merged
Merging
pytest/mark-benchmark-part2
(
4c1f1e9
) into
main
(
8be628e
)
-1%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
64
NEW
34
DROPPED
0
IGNORED
0

Benchmarks

test_accessor_set_geographic_cartesian_roundtrip
pygmt/tests/test_accessor.py::test_accessor_set_geographic_cartesian_roundtrip
N/A
N/A
928.5 µs
test_basemap
pygmt/tests/test_basemap.py::test_basemap
0%
15.7 ms
15.7 ms
test_binstats_no_outgrid
pygmt/tests/test_binstats.py::test_binstats_no_outgrid
N/A
N/A
154 ms
test_blockmean_input_xyz
pygmt/tests/test_blockm.py::test_blockmean_input_xyz
N/A
N/A
412.3 ms
test_blockmode_input_dataframe
pygmt/tests/test_blockm.py::test_blockmode_input_dataframe
N/A
N/A
621.6 ms
test_blockmedian_input_table_matrix
pygmt/tests/test_blockmedian.py::test_blockmedian_input_table_matrix
N/A
N/A
603.7 ms
test_call_module
pygmt/tests/test_clib.py::test_call_module
N/A
N/A
46.7 ms
test_dataarray_to_matrix_works
pygmt/tests/test_clib.py::test_dataarray_to_matrix_works
N/A
N/A
10.5 ms
test_load_libgmt
pygmt/tests/test_clib_loading.py::test_load_libgmt
N/A
N/A
951.1 µs
test_put_matrix
pygmt/tests/test_clib_put_matrix.py::test_put_matrix
N/A
N/A
125.9 ms
test_put_matrix_grid
pygmt/tests/test_clib_put_matrix.py::test_put_matrix_grid
N/A
N/A
331.1 ms
test_put_strings
pygmt/tests/test_clib_put_strings.py::test_put_strings
N/A
N/A
14.7 ms
test_put_vector
pygmt/tests/test_clib_put_vector.py::test_put_vector
N/A
N/A
148 ms
test_put_vector_string_dtype
pygmt/tests/test_clib_put_vector.py::test_put_vector_string_dtype
N/A
N/A
143.4 ms
test_virtual_file
pygmt/tests/test_clib_virtualfiles.py::test_virtual_file
N/A
N/A
444.2 ms
test_virtualfile_from_data_required_z_matrix[DataFrame-vector]
pygmt/tests/test_clib_virtualfiles.py::test_virtualfile_from_data_required_z_matrix[DataFrame-vector]
N/A
N/A
51.3 ms
test_virtualfile_from_data_required_z_matrix[Dataset-vector]
pygmt/tests/test_clib_virtualfiles.py::test_virtualfile_from_data_required_z_matrix[Dataset-vector]
N/A
N/A
64.8 ms
test_virtualfile_from_data_required_z_matrix[array-matrix]
pygmt/tests/test_clib_virtualfiles.py::test_virtualfile_from_data_required_z_matrix[array-matrix]
N/A
N/A
49.4 ms
test_virtualfile_from_matrix
pygmt/tests/test_clib_virtualfiles.py::test_virtualfile_from_matrix
N/A
N/A
446 ms
test_virtualfile_from_vectors
pygmt/tests/test_clib_virtualfiles.py::test_virtualfile_from_vectors
N/A
N/A
451.2 ms
test_virtualfile_from_vectors_one_string_or_object_column[object]
pygmt/tests/test_clib_virtualfiles.py::test_virtualfile_from_vectors_one_string_or_object_column[object]
N/A
N/A
47.2 ms
test_virtualfile_from_vectors_one_string_or_object_column[str]
pygmt/tests/test_clib_virtualfiles.py::test_virtualfile_from_vectors_one_string_or_object_column[str]
N/A
N/A
47.2 ms
test_coast_region
pygmt/tests/test_coast.py::test_coast_region
N/A
N/A
2.4 s
test_colorbar_box
pygmt/tests/test_colorbar.py::test_colorbar_box
N/A
N/A
78.1 ms
test_config_format_date_map
pygmt/tests/test_config.py::test_config_format_date_map
N/A
N/A
233.4 ms
test_contour_matrix[DataFrame]
pygmt/tests/test_contour.py::test_contour_matrix[DataFrame]
N/A
N/A
89.2 ms
test_contour_matrix[Dataset]
pygmt/tests/test_contour.py::test_contour_matrix[Dataset]
N/A
N/A
102.5 ms
test_contour_matrix[array]
pygmt/tests/test_contour.py::test_contour_matrix[array]
N/A
N/A
87.1 ms
test_load_remote_dataset_benchmark_with_region
pygmt/tests/test_datasets_load_remote_datasets.py::test_load_remote_dataset_benchmark_with_region
N/A
N/A
142.1 ms
test_earth_relief_holes
pygmt/tests/test_datasets_samples.py::test_earth_relief_holes
N/A
N/A
120.5 ms
test_dimfilter_no_outgrid
pygmt/tests/test_dimfilter.py::test_dimfilter_no_outgrid
N/A
N/A
85.9 ms
test_figure_repr
pygmt/tests/test_figure.py::test_figure_repr
N/A
N/A
193.2 ms
test_filter1d_format
pygmt/tests/test_filter1d.py::test_filter1d_format
N/A
N/A
197.3 ms
test_geopandas_info_geodataframe
pygmt/tests/test_geopandas.py::test_geopandas_info_geodataframe
-2%
24.9 ms
25.3 ms
test_grd2cpt
pygmt/tests/test_grd2cpt.py::test_grd2cpt
-1%
41.6 ms
41.9 ms
test_grd2xyz
pygmt/tests/test_grd2xyz.py::test_grd2xyz
-1%
9.7 ms
9.7 ms
test_grdclip_no_outgrid
pygmt/tests/test_grdclip.py::test_grdclip_no_outgrid
-1%
17.7 ms
17.8 ms
test_grdcontour_labels
pygmt/tests/test_grdcontour.py::test_grdcontour_labels
-1%
19.2 ms
19.5 ms
test_grdcut_dataarray_in_dataarray_out
pygmt/tests/test_grdcut.py::test_grdcut_dataarray_in_dataarray_out
-1%
17.6 ms
17.8 ms
test_grdfill_dataarray_out
pygmt/tests/test_grdfill.py::test_grdfill_dataarray_out
-1%
17.6 ms
17.8 ms
test_grdfilter_dataarray_in_dataarray_out
pygmt/tests/test_grdfilter.py::test_grdfilter_dataarray_in_dataarray_out
-1%
17.7 ms
17.9 ms
test_grdgradient_no_outgrid
pygmt/tests/test_grdgradient.py::test_grdgradient_no_outgrid
-1%
17.7 ms
17.8 ms
test_compute_bins_no_outfile
pygmt/tests/test_grdhisteq.py::test_compute_bins_no_outfile
-1%
10.5 ms
10.6 ms
test_equalize_grid_no_outgrid
pygmt/tests/test_grdhisteq.py::test_equalize_grid_no_outgrid
+1%
17.9 ms
17.8 ms
test_grdimage_grid_and_shading_with_xarray[png]
pygmt/tests/test_grdimage.py::test_grdimage_grid_and_shading_with_xarray[png]
0%
1.3 s
1.3 s
test_grdinfo
pygmt/tests/test_grdinfo.py::test_grdinfo
-1%
8 ms
8.1 ms
test_grdlandmask_no_outgrid
pygmt/tests/test_grdlandmask.py::test_grdlandmask_no_outgrid
+5%
152.4 ms
144.7 ms
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]
0%
21.2 ms
21.2 ms
test_grdproject_no_outgrid[EPSG:3395 +width=10]
pygmt/tests/test_grdproject.py::test_grdproject_no_outgrid[EPSG:3395 +width=10]
-1%
21.2 ms
21.3 ms
test_grdproject_no_outgrid[M10c]
pygmt/tests/test_grdproject.py::test_grdproject_no_outgrid[M10c]
-1%
20.8 ms
20.9 ms
test_grdsample_dataarray_out
pygmt/tests/test_grdsample.py::test_grdsample_dataarray_out
+3%
19.3 ms
18.6 ms
test_grdtrack_input_dataframe_and_dataarray
pygmt/tests/test_grdtrack.py::test_grdtrack_input_dataframe_and_dataarray
0%
9.9 ms
10 ms
test_grdview_drapegrid_dataarray
pygmt/tests/test_grdview.py::test_grdview_drapegrid_dataarray
0%
1.3 s
1.3 s
test_grdvolume_no_outgrid
pygmt/tests/test_grdvolume.py::test_grdvolume_no_outgrid
-1%
9.5 ms
9.6 ms
test_histogram[Series]
pygmt/tests/test_histogram.py::test_histogram[Series]
-1%
16.1 ms
16.3 ms
test_histogram[list]
pygmt/tests/test_histogram.py::test_histogram[list]
-1%
16 ms
16.3 ms
test_info_pandas_dataframe_date_column[date32[day][pyarrow]]
pygmt/tests/test_info.py::test_info_pandas_dataframe_date_column[date32[day][pyarrow]]
N/A
N/A
59.3 ms
test_info_pandas_dataframe_date_column[date64[ms][pyarrow]]
pygmt/tests/test_info.py::test_info_pandas_dataframe_date_column[date64[ms][pyarrow]]
N/A
N/A
59.2 ms
test_info_pandas_dataframe_date_column[datetime64[ns]]
pygmt/tests/test_info.py::test_info_pandas_dataframe_date_column[datetime64[ns]]
-4%
12.7 ms
13.2 ms
test_info_xarray_dataset_time_column
pygmt/tests/test_info.py::test_info_xarray_dataset_time_column
-4%
12.8 ms
13.3 ms
test_inset_aliases
pygmt/tests/test_inset.py::test_inset_aliases
0%
566.9 ms
567.9 ms
test_io_load_dataarray
pygmt/tests/test_io.py::test_io_load_dataarray
0%
25.9 ms
25.9 ms
test_legend_entries
pygmt/tests/test_legend.py::test_legend_entries
-2%
127.8 ms
129.9 ms
test_logo
pygmt/tests/test_logo.py::test_logo
-1%
177.5 ms
178.6 ms
test_makecpt_output_cpt_file
pygmt/tests/test_makecpt.py::test_makecpt_output_cpt_file
0%
11.8 ms
11.9 ms
test_meca_spec_multiple_focalmecha[array2d]
pygmt/tests/test_meca.py::test_meca_spec_multiple_focalmecha[array2d]
-3%
31 ms
31.9 ms
test_meca_spec_multiple_focalmecha[dataframe]
pygmt/tests/test_meca.py::test_meca_spec_multiple_focalmecha[dataframe]
-3%
31.7 ms
32.6 ms
test_meca_spec_multiple_focalmecha[dict_mecha]
pygmt/tests/test_meca.py::test_meca_spec_multiple_focalmecha[dict_mecha]
-2%
32.2 ms
33 ms
test_meca_spec_multiple_focalmecha[dict_mecha_mixed]
pygmt/tests/test_meca.py::test_meca_spec_multiple_focalmecha[dict_mecha_mixed]
-2%
32.2 ms
33.1 ms
test_nearneighbor_input_xyz
pygmt/tests/test_nearneighbor.py::test_nearneighbor_input_xyz
0%
1.4 s
1.4 s
test_plot_vectors
pygmt/tests/test_plot.py::test_plot_vectors
-2%
16.7 ms
16.9 ms
test_plot3d_vectors
pygmt/tests/test_plot3d.py::test_plot3d_vectors
-2%
17.2 ms
17.4 ms
test_project_input_matrix[DataFrame]
pygmt/tests/test_project.py::test_project_input_matrix[DataFrame]
0%
9.5 ms
9.5 ms
test_project_input_matrix[Dataset]
pygmt/tests/test_project.py::test_project_input_matrix[Dataset]
0%
11.3 ms
11.3 ms
test_project_input_matrix[array]
pygmt/tests/test_project.py::test_project_input_matrix[array]
0%
9.3 ms
9.3 ms
test_psconvert
pygmt/tests/test_psconvert.py::test_psconvert
-1%
25.9 ms
26.3 ms
test_rose_plot_data_using_cpt
pygmt/tests/test_rose.py::test_rose_plot_data_using_cpt
-2%
18.3 ms
18.6 ms
test_select_input_dataframe
pygmt/tests/test_select.py::test_select_input_dataframe
-1%
34.8 ms
35.2 ms
test_begin_end
pygmt/tests/test_session_management.py::test_begin_end
-2%
35.3 ms
36.2 ms
test_solar_set_terminator_datetime[terminator_datetime1]
pygmt/tests/test_solar.py::test_solar_set_terminator_datetime[terminator_datetime1]
0%
25.1 ms
25.2 ms
test_solar_set_terminator_datetime[terminator_datetime_string]
pygmt/tests/test_solar.py::test_solar_set_terminator_datetime[terminator_datetime_string]
0%
25.9 ms
26 ms
test_sph2grd_no_outgrid
pygmt/tests/test_sph2grd.py::test_sph2grd_no_outgrid
-1%
412.7 ms
416.5 ms
test_sphdistance_no_outgrid
pygmt/tests/test_sphdistance.py::test_sphdistance_no_outgrid
0%
148.8 ms
149 ms
test_sphinterpolate_no_outgrid
pygmt/tests/test_sphinterpolate.py::test_sphinterpolate_no_outgrid
0%
74.1 ms
74.2 ms
test_subplot_basic_frame
pygmt/tests/test_subplot.py::test_subplot_basic_frame
0%
62.9 ms
63.1 ms
test_surface_input_xyz
pygmt/tests/test_surface.py::test_surface_input_xyz
0%
25.4 ms
25.5 ms
test_ternary_3_labels
pygmt/tests/test_ternary.py::test_ternary_3_labels
0%
27.2 ms
27.1 ms
test_text_multiple_lines_of_text
pygmt/tests/test_text.py::test_text_multiple_lines_of_text
0%
19.5 ms
19.6 ms
test_timestamp_font
pygmt/tests/test_timestamp.py::test_timestamp_font
0%
15.7 ms
15.7 ms
test_delaunay_triples_input_xyz
pygmt/tests/test_triangulate.py::test_delaunay_triples_input_xyz
0%
44.8 ms
44.8 ms
test_regular_grid_no_outgrid
pygmt/tests/test_triangulate.py::test_regular_grid_no_outgrid
0%
77.1 ms
77.3 ms
test_velo_pandas_dataframe
pygmt/tests/test_velo.py::test_velo_pandas_dataframe
-2%
21.9 ms
22.4 ms
test_which_multiple
pygmt/tests/test_which.py::test_which_multiple
-3%
13.8 ms
14.2 ms
test_wiggle_data_incols
pygmt/tests/test_wiggle.py::test_wiggle_data_incols
0%
16.3 ms
16.4 ms
test_x2sys_cross_input_dataframe_output_dataframe
pygmt/tests/test_x2sys_cross.py::test_x2sys_cross_input_dataframe_output_dataframe
-3%
25.1 ms
25.9 ms
test_x2sys_init_units_gap
pygmt/tests/test_x2sys_init.py::test_x2sys_init_units_gap
-4%
11.4 ms
11.9 ms
test_xyz2grd_input_array[Dataset]
pygmt/tests/test_xyz2grd.py::test_xyz2grd_input_array[Dataset]
0%
46.5 ms
46.7 ms
test_xyz2grd_input_array[array]
pygmt/tests/test_xyz2grd.py::test_xyz2grd_input_array[array]
-1%
48.6 ms
48.9 ms

Commits

Click on a commit to change the comparison range
base
main
8be628e
-1%
Benchmark test_contour_matrix
b403808
9 months ago
by weiji14
0%
Benchmark test_accessor_set_geographic_cartesian_roundtrip
f85aae7
8 months ago
by weiji14
0%
Benchmark test_virtualfile_from_vectors_one_string_or_object_column
eef9dc8
8 months ago
by weiji14
0%
Merge branch 'main' into pytest/mark-benchmark-part2
4c1f1e9
8 months ago
by weiji14
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.