Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

benchmark JVM varieties (graal, jdk9, ...) #35

Open
retronym opened this issue Jul 30, 2017 · 5 comments
Open

benchmark JVM varieties (graal, jdk9, ...) #35

retronym opened this issue Jul 30, 2017 · 5 comments

Comments

@retronym
Copy link
Member

retronym commented Jul 30, 2017

Our benchmarking infrastructure doesn't currently support benchmarking with alternative JVM without "polluting" the main data series. We need update it to add the contents of the system properties "java.vm.name" and "java.runtime.version" as tags that can be used for filtering in Grafana.

We also need to migrate historical data to populate the tags, as grafana makes it impossible (or at least really hard) to to the equivalent of getOrElse in the query to default absent tags.

@retronym
Copy link
Member Author

Hacky manual attempt:

scala/scala#6018

Results

@retronym
Copy link
Member Author

First result looks great, better-files is 0.72x (!!!). scala appears on track for a similar speedup. Wow.

@lrytz
Copy link
Member

lrytz commented Jul 31, 2017

Cool! That's measuring the warm VM I assume? Can you easily run a cold bench? As far as I remember, Graal took more effort to warm up in the past than HotSpot.

@retronym
Copy link
Member Author

retronym commented Jul 31, 2017

Will do when I get a chance. It "felt" equal or better given the timings of the 1st/2nd iteration of hot benchmark, though.

@lrytz
Copy link
Member

lrytz commented Jul 31, 2017

IIRC the first iteration in our jmh benchmark already includes a number of executions, so there's quite some time for warmup already in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants