[GRASS-git] [OSGeo/grass] c6f640: libpython: Save and load benchmark results (#1711)
Vaclav Petras
noreply at github.com
Thu Jul 8 18:39:52 PDT 2021
Branch: refs/heads/master
Home: https://github.com/OSGeo/grass
Commit: c6f64008d30092bcfb40779add2a9b461a72cf6a
https://github.com/OSGeo/grass/commit/c6f64008d30092bcfb40779add2a9b461a72cf6a
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2021-07-08 (Thu, 08 Jul 2021)
Changed paths:
M python/grass/benchmark/Makefile
M python/grass/benchmark/__init__.py
A python/grass/benchmark/results.py
M python/grass/benchmark/testsuite/test_benchmark.py
Log Message:
-----------
libpython: Save and load benchmark results (#1711)
Series of functions to save benchmark results to JSON, load them back, and combine them together.
This needs some command line interface to make it convenient, but I used it in a custom benchmark script.
The JSON save ensures that the saved results are a dictionary not just a list which makes the storage format more extensible as first level can contain additional keys.
More information about the grass-commit
mailing list