GenericMappingTools
pygmt
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
POC + WIP: Track current PyGMT figure to avoid calling the `figure` module repeatly
#3397
Comparing
states/figure
(
2a9e706
) with
main
(
0ef29f8
)
CodSpeed Performance Gauge
+56%
Improvement
27
Untouched
77
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
104 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_subplot_basic_frame
pygmt/tests/test_subplot.py
CodSpeed Performance Gauge
+56%
55.7 ms
35.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_figure_repr
pygmt/tests/test_figure.py
CodSpeed Performance Gauge
+54%
33 ms
21.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_psconvert
pygmt/tests/test_psconvert.py
CodSpeed Performance Gauge
+49%
23.9 ms
16 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_meca_spec_multiple_focalmecha[dict_mecha_mixed]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
+41%
26.9 ms
19 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_meca_spec_multiple_focalmecha[dict_mecha]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
+41%
26.7 ms
18.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_meca_spec_multiple_focalmecha[array2d]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
+41%
27 ms
19.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_meca_spec_multiple_focalmecha[dataframe]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
+39%
27.9 ms
20 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_timestamp_font
pygmt/tests/test_timestamp.py
CodSpeed Performance Gauge
+36%
14.5 ms
10.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_basemap
pygmt/tests/test_basemap.py
CodSpeed Performance Gauge
+36%
14.4 ms
10.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_text_multiple_lines_of_text[list]
pygmt/tests/test_text.py
CodSpeed Performance Gauge
+35%
14.7 ms
10.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_text_multiple_lines_of_text[pyarrow]
pygmt/tests/test_text.py
CodSpeed Performance Gauge
+35%
14.8 ms
11 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_text_multiple_lines_of_text[numpy]
pygmt/tests/test_text.py
CodSpeed Performance Gauge
+35%
14.7 ms
10.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_histogram[Series]
pygmt/tests/test_histogram.py
CodSpeed Performance Gauge
+35%
15.1 ms
11.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_colorbar
pygmt/tests/test_colorbar.py
CodSpeed Performance Gauge
+34%
14.9 ms
11.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_histogram[list]
pygmt/tests/test_histogram.py
CodSpeed Performance Gauge
+34%
15.1 ms
11.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_wiggle_data_incols
pygmt/tests/test_wiggle.py
CodSpeed Performance Gauge
+34%
15 ms
11.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_plot_vectors
pygmt/tests/test_plot.py
CodSpeed Performance Gauge
+33%
15.7 ms
11.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_plot3d_vectors
pygmt/tests/test_plot3d.py
CodSpeed Performance Gauge
+32%
16.2 ms
12.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_rose_plot_data_using_cpt
pygmt/tests/test_rose.py
CodSpeed Performance Gauge
+29%
17.4 ms
13.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_grdcontour_labels
pygmt/tests/test_grdcontour.py
CodSpeed Performance Gauge
+27%
18.3 ms
14.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_grd2cpt
pygmt/tests/test_grd2cpt.py
CodSpeed Performance Gauge
+25%
37.8 ms
30.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_velo_pandas_dataframe
pygmt/tests/test_velo.py
CodSpeed Performance Gauge
+24%
19.7 ms
15.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_legend_entries
pygmt/tests/test_legend.py
CodSpeed Performance Gauge
+20%
116 ms
96.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_solar_set_terminator_datetime[terminator_datetime1]
pygmt/tests/test_solar.py
CodSpeed Performance Gauge
+19%
23.2 ms
19.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_solar_set_terminator_datetime[terminator_datetime_string]
pygmt/tests/test_solar.py
CodSpeed Performance Gauge
+19%
24.1 ms
20.3 ms
1
2
...
5
Commits
Click on a commit to change the comparison range
Base
main
0ef29f8
+54.77%
Track current PyGMT figure to avoid calling the `figure` module repeatly
899997d
2 years ago
by seisman
+0.37%
Merge branch 'main' into states/figure
9f4839c
1 year ago
by seisman
+0.46%
Merge branch 'main' into states/figure
1ca4e46
1 year ago
by seisman
-0.09%
Merge branch 'main' into states/figure
2a9e706
8 months ago
by seisman
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs