diff options
author | Federico Mena Quintero <federico@gnome.org> | 2023-02-15 09:38:21 -0600 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2023-02-15 16:11:43 +0000 |
commit | 974c754c75f1f00a0e0267b67e82a148f028e62d (patch) | |
tree | 2a2f584f28799a45881b743bd7b3daf15371f479 | |
parent | b86eae5ecd6ea8d0c16c5f77607574505d8bb1c6 (diff) | |
download | librsvg-974c754c75f1f00a0e0267b67e82a148f028e62d.tar.gz |
benchmarks/run-benchmarks.py: work in progress script to run the sets of benchmarks
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/797>
-rw-r--r-- | benchmarks/run-benchmarks.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/benchmarks/run-benchmarks.py b/benchmarks/run-benchmarks.py new file mode 100644 index 00000000..7c8f763c --- /dev/null +++ b/benchmarks/run-benchmarks.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python3 + +# Benchmark name, Directory with SVGs to render +BENCHMARKS = [ + [ "hicolor-apps", "./hicolor-apps" ], + [ "symbolic-icons", "../tests/fixtures/reftests/adwaita" ], +] + +def run_benchmark(name, directory): + # FIXME + +def main(): + for name, directory in BENCHMARKS: + run_benchmark(name, directory) + +if __name__ == "__main__": + main() |