RFR: 8061281: Microbenchmark suite build support, directory layout and sample benchmarks (original) (raw)
Claes Redestad claes.redestad at oracle.com
Wed Oct 17 22:08:40 UTC 2018
- Previous message (by thread): RFR: 8061281: Microbenchmark suite build support, directory layout and sample benchmarks
- Next message (by thread): RFR: 8061281: Microbenchmark suite build support, directory layout and sample benchmarks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
added documentation of the new build targets, and synced up with recent changes (thanks Erik for help dealing with some tricky merge conflicts):
http://cr.openjdk.java.net/~redestad/8061281/jdk.01/
Thanks!
/Claes
On 2018-10-09 15:15, Claes Redestad wrote:
Hi,
please review the initial build support for JEP 230: Microbenchmark Suite[1]. Webrev: http://cr.openjdk.java.net/~redestad/8061281/jdk.00/ Bug: https://bugs.openjdk.java.net/browse/JDK-8061281 There are some added steps to be able to build the microbenchmark suite: export JMHHOME=/path/to/jmh (mkdir -p JMHHOME;cdJMHHOME; cd JMHHOME;cdJMHHOME; bash make/devkit/createJMHBundle.sh; tar -zxvf jmh-1.21.tar.gz) bash configure --with-jmh=$JMHHOME make build-microbenchmark This produces the JMH benchmarks under build/$CONFNAME/images/test/micro/microbenchmarks.jar There is also support woven into the make run-test target (thanks to Magnus), allowing for integrated build and test: make run-test TEST="micro:java.lang.reflect" MICRO="OPTIONS=-f 1 -wi 2;RESULTFORMAT=json" Remaining tasks before the JEP can be targetted is to write proper documentation and deciding which microbenchmarks to migrate from jmh-jdk-microbenchmarks[2]. Thanks! /Claes [1] http://openjdk.java.net/jeps/230 [2] http://openjdk.java.net/projects/code-tools/jmh-jdk-microbenchmarks/
- Previous message (by thread): RFR: 8061281: Microbenchmark suite build support, directory layout and sample benchmarks
- Next message (by thread): RFR: 8061281: Microbenchmark suite build support, directory layout and sample benchmarks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]