Skip to content

A suite a micro-benchmarks to stress the Golo runtime and compilation result.

License

Notifications You must be signed in to change notification settings

golo-lang/golo-jmh-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golo micro-benchmarks suite

This project contains several micro-benchmarks to stress specific points of the Golo compilation and runtime strategies. It also contains some comparison elements with some other JVM dynamic languages.

Copyright 2012-2016 Institut National des Sciences Appliquées de Lyon (INSA-Lyon)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Important message

Micro-benchmarks results must always be interpreted and carefully balanced.

Do not draw any expedite conclusion from raw data without first understanding what a micro-benchmark does, what are its assumptions and what are its limiting factors.

Building

This Maven project builds a self-contained executable Jar file in target/:

$ mvn clean package

It uses the OpenJDK JMH benchmark harness.

We tend to be on the bleeding-edge of JMH, so you may need to build yourself a local copy from a Mercurial checkout:

$ hg clone http://hg.openjdk.java.net/code-tools/jmh/ jmh
$ cd jmh/
$ mvn clean install -DskipTests=true

Running

JMH-produced executable Jars support many options, so list them all:

$ java -jar target/microbenchmarks-golo-(version).jar --help

A typical execution could look as follows:

$ java -jar target/microbenchmarks-golo-(version).jar -f 3 -w 5s -r 5s -rf scsv -rff results.csv

About

A suite a micro-benchmarks to stress the Golo runtime and compilation result.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published