enso/doc/performance/comparative-benchmark
2019-09-30 16:14:42 +01:00
..
benchmarks Create comparative benchmarks (#205) 2019-09-30 16:14:42 +01:00
utilities/plot-generator Create comparative benchmarks (#205) 2019-09-30 16:14:42 +01:00
README.md Create comparative benchmarks (#205) 2019-09-30 16:14:42 +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.