[GRASS-git] [OSGeo/grass] becef3: r.sim.water: Add a benchmark for the number of thr...
Vaclav Petras
noreply at github.com
Wed Oct 7 20:10:26 PDT 2026
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: becef3d057bb0198a85fa73e2b28647a86e1de65
https://github.com/OSGeo/grass/commit/becef3d057bb0198a85fa73e2b28647a86e1de65
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2026-10-07 (Wed, 07 Oct 2026)
Changed paths:
M python/grass/benchmark/__init__.py
M python/grass/benchmark/plots.py
A python/grass/benchmark/tests/grass_benchmark_plots_test.py
A raster/r.sim/r.sim.water/benchmark/benchmark_r_sim_water_nprocs.py
M raster/r.sim/r.sim.water/r.sim.water.html
M raster/r.sim/r.sim.water/r.sim.water.md
A raster/r.sim/r.sim.water/r_sim_water_benchmark_efficiency.png
A raster/r.sim/r.sim.water/r_sim_water_benchmark_speedup.png
A raster/r.sim/r.sim.water/r_sim_water_benchmark_time.png
Log Message:
-----------
r.sim.water: Add a benchmark for the number of threads (#8002)
Measure r.sim.water with nprocs from 1 to 16 on the elevation of the
SECREF North Carolina dataset at 4 m, 2 m and 1 m resolution, using
grass.benchmark as the benchmarks of other tools do. The script plots
time, speedup and efficiency and saves the results as JSON, from which
it can redo the plots.
In grass.benchmark, nprocs_plot() shades the range of the runs in each
line's color for time, speedup and efficiency instead of a gray band for
time only (for speedup over the ratios of every serial run to every
parallel run), takes figsize and dpi, plots results without all_times,
and sets the default title for time. The range is computed by
nprocs_ranges(), which has pytest tests. The documentation of the
experimental subpackage says that it is changed together with the
benchmarks which need more from it.
Add the figures to the documentation in a Performance section, as the
other parallel tools have, at twice the 600 pixel width, shown at 600
pixels in the HTML page. They were made with the per-walker random
number states of OSGeo/grass#7980.
Written with the help of Claude Code.
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list