enso/tools/performance/comparative-benchmark
2020-10-20 13:43:04 +02:00
..
benchmarks Map Implementation (#1222) 2020-10-20 13:43:04 +02:00
utilities/plot-generator Fix warnings, docs, and repo structure (#651) 2020-04-14 17:00:51 +01:00
README.md Add a markdown style guide (#1022) 2020-07-21 13:59:40 +01:00

Comparative Benchmarking

While we have comprehensive benchmarks of the Enso implementation itself, it's also important that we have an idea of how Enso compares to other languages. In order to do this we have a set of comparative benchmarks that execute the same algorithm across the following languages:

  • C++, as the usual fastest benchmark.
  • JavaScript, as a commonly used language.
  • Haskell, as the fastest functional language.
  • Java, as the peak of performance on the JVM.
  • Python, as the most-commonly used language for data-science.

Rather than benchmarking identical code in each of these languages, we write idiomatic code. This provides a better idea of how real world code in each of the languages may execute.

Plot Generation

We also provide a script that ingests the data from the benchmark and creates a nice plot of performance trends over time. It can be found in the directory utilities/plot-generator.