enso/tools/performance/engine-benchmarks
Pavel Marek 0801fcb4a0
Fix the CSV file generation of bench_download script (#9421)
One can now once more create CSV files from benchmark results with something like:
```
./bench_download.py -v -s stdlib --since 2024-01-01 --create-csv
```

The generated CSV is ready to be read by the Enso IDE.

# Important Notes
- Fix `--create-csv` functionality of the `bench_download.py` script.
- Remove an outdated Enso project from `tools/performance/engine_benchmarks/Engine_Benchs`
- This is now done by book clubs.
2024-03-14 11:59:58 +00:00
..
bench_tool Move benchmark download tool and visualization to the CI (#9075) 2024-02-28 17:54:12 +00:00
templates Move benchmark download tool and visualization to the CI (#9075) 2024-02-28 17:54:12 +00:00
bench_download.py Fix the CSV file generation of bench_download script (#9421) 2024-03-14 11:59:58 +00:00
README.md Fix the CSV file generation of bench_download script (#9421) 2024-03-14 11:59:58 +00:00
website_regen.py Move benchmark download tool and visualization to the CI (#9075) 2024-02-28 17:54:12 +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.

Note that for convenience, there is bench_tool directory that is a Python package. The bench_download.py script uses this package.

To run all the Python tests for that package, run python -m unittest in this directory.

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 download only a CSV file representing all the selected benchmark results with bench_download.py --create-csv.