enso/tools/performance/engine-benchmarks
Pavel Marek 294ee46af4
Fix query parameters in bench_download.py tool (#7772)
URL query parameter construction in the `bench_donwload.py` tool uses `urllib` to properly quote, e.g., complex branch names.

# Important Notes
Fixes queries with complicated branch names, like `./bench_download.py -v -s stdlib --use-cache true -b develop wip/akirathan/6959-Integer.+-cannot-be-invoked-statically`
2023-09-08 15:33:23 +00:00
..
Engine_Benchs Add engine benchmark analysis tool (#5852) 2023-03-28 15:56:24 +00:00
templates Collect stdlib benchmarks results (#7599) 2023-09-06 14:30:52 +00:00
bench_download.py Fix query parameters in bench_download.py tool (#7772) 2023-09-08 15:33:23 +00:00
README.md Collect stdlib benchmarks results (#7599) 2023-09-06 14:30:52 +00:00

Engine benchmarks

This directory contains a python script bench_download.py for downloading Engine and stdlib benchmark results from GitHub, and Engine_Benchs Enso project for analysing the downloaded data.

Dependencies for bench_download.py:

  • python >= 3.7
  • pandas and jinja2
    • Install, e.g., by pip install pandas jinja2
  • GH CLI utility

Check bench_download -h for documentation and usage. Ensure that your /usr/bin/env python links to Python version at least 3.7. bench_download.py creates generated_site directory with HTML files for visualizing the benchmark results.

One can also analyze the benchmarks in Enso IDE by running bench_download.py --create-csv and then running Engine_Benchs project. The created CSV is pasted into Engine_Benchs/data directory by default.