schlenk / ArrayAccessBench

Microbenchmark of array access and mutation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ArrayAccessBench

Microbenchmark of array access and mutation.

Run with go run Benchmarker.go

In the Benchmarker.go source the output and input file can be changed. The numtrades values to test are stored near the top of the file in an array of strings, and the time to pause between runs can also be set via the WaitTime constant.

The input data is formatted as follows; a list of:

Language Name

Commands to compile it or '-' if interpreted

Commands to run it

The source file name

The resulting executable name or '-' if interpreted

About

Microbenchmark of array access and mutation

License:BSD 2-Clause "Simplified" License


Languages

Language:Go 19.3%Language:Java 16.4%Language:Common Lisp 10.9%Language:C# 10.7%Language:Assembly 8.0%Language:Python 6.9%Language:F# 6.6%Language:C 4.7%Language:Racket 4.3%Language:Clojure 3.6%Language:Julia 2.7%Language:Lua 2.6%Language:Smalltalk 1.8%Language:Ruby 1.4%