MilesCranmer / Microbenchmarks

Micro benchmark comparison of Julia against other languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microbenchmarks

This is a collection of micro-benchmarks used to compare Julia's performance against that of other languages. It was formerly part of the Julia source tree. The results of these benchmarks are used to generate the performance graph on the Julia homepage and the table on the benchmarks page.

Running benchmarks

This repository assumes that Julia has been built from source and that there exists an environment variable JULIAHOME that points to the root of the Julia source tree. This can also be set when invoking make, e.g. make JULIAHOME=path/to/julia.

To build binaries and run the benchmarks, simply run make. Note that this refers to GNU Make, so BSD users will need to run gmake.

Included languages:

  • C
  • Fortran
  • Go
  • Java
  • JavaScript
  • Julia
  • LuaJIT
  • Mathematica
  • Matlab
  • Python
  • R
  • Rust
  • Scala
  • Stata

About

Micro benchmark comparison of Julia against other languages

License:Other


Languages

Language:C 34.4%Language:Java 8.0%Language:Rust 7.8%Language:Julia 7.2%Language:JavaScript 7.1%Language:Fortran 6.0%Language:Scala 4.1%Language:Go 4.1%Language:Mathematica 3.6%Language:Lua 3.0%Language:Makefile 2.9%Language:Python 2.8%Language:Stata 2.8%Language:MATLAB 2.7%Language:R 2.3%Language:Shell 1.3%