Avatar for the GenericMappingTools user
GenericMappingTools
pygmt
BlogDocsChangelog

Refactor clib to avoid checking GMT version repeatedly and only check once when loading the GMT library

#3254Merged
Comparing
clib/check-version
(
00ee9b4
) with
main
(
81e12d9
)
CodSpeed Performance Gauge
0%
Untouched
101

Benchmarks

101 total
test_sph2grd_no_outgrid
pygmt/tests/test_sph2grd.py
CodSpeed Performance Gauge
+3%
410.3 ms398.7 ms
test_load_libgmt
pygmt/tests/test_clib_loading.py
CodSpeed Performance Gauge
0%
528.2 µs526.6 µs
test_grdproject_no_outgrid[EPSG:3395 +width=10]
pygmt/tests/test_grdproject.py
CodSpeed Performance Gauge
0%
10.5 ms10.5 ms
test_coast_region
pygmt/tests/test_coast.py
CodSpeed Performance Gauge
0%
481.3 ms480 ms
test_geopandas_info_geodataframe
pygmt/tests/test_geopandas.py
CodSpeed Performance Gauge
0%
13.4 ms13.3 ms
test_grd2cpt
pygmt/tests/test_grd2cpt.py
CodSpeed Performance Gauge
0%
37.7 ms37.7 ms
test_rose_plot_data_using_cpt
pygmt/tests/test_rose.py
CodSpeed Performance Gauge
0%
17 ms17 ms
test_dataarray_to_matrix_works
pygmt/tests/test_clib.py
CodSpeed Performance Gauge
0%
2.2 ms2.2 ms
test_dimfilter_no_outgrid
pygmt/tests/test_dimfilter.py
CodSpeed Performance Gauge
0%
10 ms10 ms
test_plot3d_vectors
pygmt/tests/test_plot3d.py
CodSpeed Performance Gauge
0%
15.7 ms15.7 ms
test_binstats_no_outgrid
pygmt/tests/test_binstats.py
CodSpeed Performance Gauge
0%
22.8 ms22.8 ms
test_which_multiple
pygmt/tests/test_which.py
CodSpeed Performance Gauge
0%
29.7 ms29.7 ms
test_colorbar
pygmt/tests/test_colorbar.py
CodSpeed Performance Gauge
0%
14.6 ms14.6 ms
test_plot_vectors
pygmt/tests/test_plot.py
CodSpeed Performance Gauge
0%
15.2 ms15.2 ms
test_begin_end
pygmt/tests/test_session_management.py
CodSpeed Performance Gauge
0%
31.5 ms31.4 ms
test_virtualfile_in_required_z_matrix[array-matrix]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
0%
9 ms9 ms
test_grdclip_no_outgrid
pygmt/tests/test_grdclip.py
CodSpeed Performance Gauge
0%
9.8 ms9.8 ms
test_virtualfile_from_vectors_one_string_or_object_column[str]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
0%
8.4 ms8.4 ms
test_xyz2grd_input_array[array]
pygmt/tests/test_xyz2grd.py
CodSpeed Performance Gauge
0%
33.4 ms33.4 ms
test_config_format_date_map
pygmt/tests/test_config.py
CodSpeed Performance Gauge
0%
36.9 ms36.9 ms
test_grdproject_no_outgrid[M10c]
pygmt/tests/test_grdproject.py
CodSpeed Performance Gauge
0%
9.9 ms9.9 ms
test_psconvert
pygmt/tests/test_psconvert.py
CodSpeed Performance Gauge
0%
23.3 ms23.2 ms
test_grdtrack_input_dataframe_and_dataarray
pygmt/tests/test_grdtrack.py
CodSpeed Performance Gauge
0%
60.5 ms60.5 ms
test_virtual_file
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
0%
63 ms63 ms
test_virtualfile_from_matrix
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
0%
63.3 ms63.3 ms

Commits

Click on a commit to change the comparison range
Base
clib/check-version
81e12d9
+2.07%
clib: Refactor to check the GMT version only once
f55d5d4
2 years ago
by seisman
+0.06%
Merge branch 'main' into clib/check-version
81e12d9
2 years ago
by seisman
-2.19%
Apply suggestions from code review
00ee9b4
2 years ago
by seisman
© 2026 CodSpeed Technology
Home Terms Privacy Docs