1 % Benchmarking Vector API
2
3 Benchmarks are generted from scripts in this directory to `test/micro/org/openjdk/bench/jdk/incubator/vector/operation`
4
5 ## Test selection
6 Run benchmarks from the top level git dir using:
7
8 ``` shell
9 make test TEST="micro:<benchmark-name>" CONF=linux-x86_64-server-release
10
11 ### One Test
12 make test TEST="micro:Int64Vector" CONF=linux-x86_64-server-release
13
14 ### Run all tests -- WARNING requires ~4-5 hours
15 make test TEST="micro:org.openjdk.bench.jdk.incubator.vector" CONF=linux-x86_64-server-release
16 ```
17
18 ### JMH Configuration
19 See `https://github.com/openjdk/jdk/blob/master/doc/testing.md` or `doc/testing.md` dir in this git repo for more detailed steps on running the benchmarks for Vector API at `test/micro/org/openjdk/bench/jdk/incubator/vector/operation`.
20
21 From doc/testing.md:
22 To be able to run microbenchmarks, `configure` needs to know where to find the
23 JMH dependency. Use `--with-jmh=<path to JMH jars>` to point to a directory
24 containing the core JMH and transitive dependencies. The recommended
25 dependencies can be retrieved by running `sh make/devkit/createJMHBundle.sh`,
26 after which `--with-jmh=build/jmh/jars` should work.