summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2023-02-15 09:38:21 -0600
committerMarge Bot <marge-bot@gnome.org>2023-02-15 16:11:43 +0000
commit974c754c75f1f00a0e0267b67e82a148f028e62d (patch)
tree2a2f584f28799a45881b743bd7b3daf15371f479
parentb86eae5ecd6ea8d0c16c5f77607574505d8bb1c6 (diff)
downloadlibrsvg-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.py17
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()