Avatar for the GenericMappingTools user
GenericMappingTools
pygmt
BlogDocsChangelog

pygmt.grd2xyz: Improve performance by storing output in virtual files

#3097Merged
Comparing
output/grd2xyz
(
2c5aeb3
) with
main
(
0b46aad
)
CodSpeed Performance Gauge
-84%
Regression
1
Untouched
97

Benchmarks

98 total
test_grd2xyz
pygmt/tests/test_grd2xyz.py
CodSpeed Performance Gauge
-84%
9.8 ms62.7 ms
test_grdlandmask_no_outgrid
pygmt/tests/test_grdlandmask.py
CodSpeed Performance Gauge
-1%
142 ms144.1 ms
test_accessor_set_geographic_cartesian_roundtrip
pygmt/tests/test_accessor.py
CodSpeed Performance Gauge
-1%
307 µs310.5 µs
test_grdsample_dataarray_out
pygmt/tests/test_grdsample.py
CodSpeed Performance Gauge
-1%
18.8 ms19 ms
test_sph2grd_no_outgrid
pygmt/tests/test_sph2grd.py
CodSpeed Performance Gauge
-1%
414.1 ms416.6 ms
test_virtualfile_from_vectors_one_string_or_object_column[object]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
-1%
11.6 ms11.7 ms
test_virtualfile_from_vectors_one_string_or_object_column[str]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
0%
11.6 ms11.7 ms
test_virtualfile_from_matrix
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
0%
93.8 ms94.2 ms
test_info_xarray_dataset_time_column
pygmt/tests/test_info.py
CodSpeed Performance Gauge
0%
14 ms14.1 ms
test_virtual_file
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
0%
93.5 ms93.9 ms
test_virtualfile_from_vectors
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
0%
94.7 ms95.2 ms
test_grdproject_no_outgrid[+proj=merc +ellps=WGS84 +units=m +width=10]
pygmt/tests/test_grdproject.py
CodSpeed Performance Gauge
0%
21.5 ms21.4 ms
test_which_multiple
pygmt/tests/test_which.py
CodSpeed Performance Gauge
0%
15.7 ms15.8 ms
test_grdclip_no_outgrid
pygmt/tests/test_grdclip.py
CodSpeed Performance Gauge
0%
18.1 ms18 ms
test_load_libgmt
pygmt/tests/test_clib_loading.py
CodSpeed Performance Gauge
0%
350.8 µs349.6 µs
test_info_pandas_dataframe_date_column[datetime64[ns]]
pygmt/tests/test_info.py
CodSpeed Performance Gauge
0%
14 ms14 ms
test_info_pandas_dataframe_date_column[date64[ms][pyarrow]]
pygmt/tests/test_info.py
CodSpeed Performance Gauge
0%
14.1 ms14.1 ms
test_io_load_dataarray
pygmt/tests/test_io.py
CodSpeed Performance Gauge
0%
24.9 ms24.9 ms
test_x2sys_init_units_gap
pygmt/tests/test_x2sys_init.py
CodSpeed Performance Gauge
0%
12.6 ms12.6 ms
test_virtualfile_in_required_z_matrix[Dataset-vector]
pygmt/tests/test_clib_virtualfiles.py
CodSpeed Performance Gauge
0%
15.1 ms15.2 ms
test_config_format_date_map
pygmt/tests/test_config.py
CodSpeed Performance Gauge
0%
47.4 ms47.6 ms
test_x2sys_cross_input_dataframe_output_dataframe
pygmt/tests/test_x2sys_cross.py
CodSpeed Performance Gauge
0%
27.2 ms27.3 ms
test_info_pandas_dataframe_date_column[date32[day][pyarrow]]
pygmt/tests/test_info.py
CodSpeed Performance Gauge
0%
14.1 ms14.1 ms
test_project_input_matrix[DataFrame]
pygmt/tests/test_project.py
CodSpeed Performance Gauge
0%
9.6 ms9.6 ms
test_dimfilter_no_outgrid
pygmt/tests/test_dimfilter.py
CodSpeed Performance Gauge
0%
18.1 ms18.1 ms

Commits

Click on a commit to change the comparison range
Base
main
0b46aad
-83.99%
Fix
868529c
2 years ago
by seisman
-0.39%
Combine two grd2xyz tests into a single one
37e48b8
2 years ago
by seisman
-0.01%
Type hints for column names
218efcf
2 years ago
by seisman
+0.01%
Merge branch 'main' into output/grd2xyz
2c5aeb3
2 years ago
by seisman
© 2026 CodSpeed Technology
Home Terms Privacy Docs