mirror of
https://github.com/enso-org/enso.git
synced 2024-12-25 16:22:36 +03:00
4076a64f33
`Number.nan` can be used as a key in `Map`. This PR basically implements the support for [JavaScript's Same Value Zero Equality](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness#same-value-zero_equality) so that `Number.nan` can be used as a key in `Map`. # Important Notes - For NaN, it holds that `Meta.is_same_object Number.nan Number.nan`, and `Number.nan != Number.nan` - inspired by JS spec. - `Meta.is_same_object x y` implies `Any.== x y`, except for `Number.nan`. |
||
---|---|---|
.. | ||
Engine_Benchs | ||
bench_download.py | ||
README.md | ||
template_jinja.html |
Engine benchmarks
This directory contains a python script bench_download.py
for downloading
Engine benchmark results from GitHub and Engine_Benchs
Enso project for
analysing the downloaded data.
Dependencies for bench_download.py
:
- python >= 3.7
pandas
andjinja2
- Install, e.g., by
pip install pandas jinja2
- Install, e.g., by
- GH CLI utility
- Install either from https://cli.github.com/ or with
sudo apt-get install gh
- Install either from https://cli.github.com/ or with
Check bench_download -h
for documentation and usage. Ensure that your
/usr/bin/env python
links to Python version at least 3.7.
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.