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_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_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_io_load_dataarray
pygmt/tests/test_io.py
CodSpeed Performance Gauge
0%
24.9 ms24.9 ms
test_dimfilter_no_outgrid
pygmt/tests/test_dimfilter.py
CodSpeed Performance Gauge
0%
18.1 ms18.1 ms
test_sphinterpolate_no_outgrid
pygmt/tests/test_sphinterpolate.py
CodSpeed Performance Gauge
0%
74 ms73.8 ms
test_contour_matrix[array]
pygmt/tests/test_contour.py
CodSpeed Performance Gauge
0%
17.7 ms17.7 ms
test_grdcut_dataarray_in_dataarray_out
pygmt/tests/test_grdcut.py
CodSpeed Performance Gauge
0%
18 ms18 ms
test_grdfill_dataarray_out
pygmt/tests/test_grdfill.py
CodSpeed Performance Gauge
0%
18 ms18 ms
test_subplot_basic_frame
pygmt/tests/test_subplot.py
CodSpeed Performance Gauge
0%
64.2 ms64.1 ms
test_blockmode_input_dataframe
pygmt/tests/test_blockm.py
CodSpeed Performance Gauge
0%
113.2 ms113 ms
test_contour_matrix[DataFrame]
pygmt/tests/test_contour.py
CodSpeed Performance Gauge
0%
18.2 ms18.1 ms
test_coast_region
pygmt/tests/test_coast.py
CodSpeed Performance Gauge
0%
476.7 ms476.1 ms
test_solar_set_terminator_datetime[terminator_datetime_string]
pygmt/tests/test_solar.py
CodSpeed Performance Gauge
0%
26.4 ms26.3 ms
test_put_strings
pygmt/tests/test_clib_put_strings.py
CodSpeed Performance Gauge
0%
3.6 ms3.6 ms
test_histogram[list]
pygmt/tests/test_histogram.py
CodSpeed Performance Gauge
0%
16.5 ms16.5 ms
test_grd2cpt
pygmt/tests/test_grd2cpt.py
CodSpeed Performance Gauge
0%
42.8 ms42.7 ms
test_solar_set_terminator_datetime[terminator_datetime1]
pygmt/tests/test_solar.py
CodSpeed Performance Gauge
0%
25.5 ms25.5 ms
test_load_remote_dataset_benchmark_with_region
pygmt/tests/test_datasets_load_remote_datasets.py
CodSpeed Performance Gauge
0%
29.3 ms29.3 ms
test_grdfilter_dataarray_in_dataarray_out
pygmt/tests/test_grdfilter.py
CodSpeed Performance Gauge
0%
18.2 ms18.2 ms
test_contour_matrix[Dataset]
pygmt/tests/test_contour.py
CodSpeed Performance Gauge
0%
20.7 ms20.6 ms
test_regular_grid_no_outgrid
pygmt/tests/test_triangulate.py
CodSpeed Performance Gauge
0%
77.4 ms77.3 ms
test_legend_entries
pygmt/tests/test_legend.py
CodSpeed Performance Gauge
0%
132.9 ms132.8 ms
test_grdtrack_input_dataframe_and_dataarray
pygmt/tests/test_grdtrack.py
CodSpeed Performance Gauge
0%
10.1 ms10.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