Skip to content

arnaudroger/site-point-01_stackwalker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarks for the SitePoint article on Java 9's stack-walking API. If you want to run them you will need to:

  • install Java 9 EA

  • point the JAVA_HOME environment variable to the jdk 9 directory

  • on MacOS export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home

  • on Ubuntu with the PPA Install export JAVA_HOME=/usr/lib/jvm/java-9-oracle

  • install Maven 3.2.5 (3.3.9 seems to fail on Java 9).

    wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz
    tar xzvf apache-maven-3.2.5-bin.tar.gz
  • clone the repo, build and run the benchmarks :

    git clone https://github.com/arnaudroger/site-point-01_stackwalker.git
    cd site-point-01_stackwalker
    ../apache-maven-3.2.5/bin/mvn clean install
    $JAVA_HOME/bin/java -jar target/benchmarks.jar

To get more help on the jmh command line arguments:

java -jar target/benchmarks.jar -help

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages