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

#4752 ported remaining Java benchmarks to JMH #4774

Merged
merged 1 commit into from
Sep 4, 2017

Conversation

original-brownbear
Copy link
Contributor

@original-brownbear original-brownbear commented Sep 4, 2017

1:1 port of the existing Java benchmarks in the core tests dir to JMH for #4752.

Now outputs:

# Run complete. Total time: 00:16:03

Benchmark                                     Mode  Cnt          Score         Error   Units
ArrayCopyBenchmark.benchSystemCopy0          thrpt   10         53.280 ±       0.162  ops/ns
ArrayCopyBenchmark.benchSystemCopy1          thrpt   10          0.324 ±       0.005  ops/ns
ArrayCopyBenchmark.benchSystemCopy2          thrpt   10          0.323 ±       0.001  ops/ns
ArrayCopyBenchmark.benchSystemCopy3          thrpt   10          0.297 ±       0.005  ops/ns
ArrayCopyBenchmark.benchSystemCopy4          thrpt   10          0.288 ±       0.001  ops/ns
ArrayCopyBenchmark.benchSystemCopy5          thrpt   10          0.214 ±       0.003  ops/ns
ArrayCopyBenchmark.benchUtilsCopy0           thrpt   10  324610102.194 ± 4578421.715  ops/ns
ArrayCopyBenchmark.benchUtilsCopy1           thrpt   10          3.101 ±       0.063  ops/ns
ArrayCopyBenchmark.benchUtilsCopy2           thrpt   10          0.812 ±       0.029  ops/ns
ArrayCopyBenchmark.benchUtilsCopy3           thrpt   10          0.555 ±       0.003  ops/ns
ArrayCopyBenchmark.benchUtilsCopy4           thrpt   10          0.289 ±       0.001  ops/ns
EventHookBenchmark.benchControl              thrpt   10          0.796 ±       0.036   ops/s
EventHookBenchmark.benchHooked1              thrpt   10          0.759 ±       0.025   ops/s
EventHookBenchmark.benchHooked2              thrpt   10          0.748 ±       0.047   ops/s
EventHookBenchmark.benchInterp               thrpt   10          0.832 ±       0.006   ops/s
EventHookBenchmark.benchTraced               thrpt   10          0.791 ±       0.067   ops/s
FixnumCreationBenchmark.benchFixnumCreation  thrpt   20          0.158 ±       0.008  ops/ns
FixnumCreationBenchmark.benchStaticFib  thrpt   20  61.613 ± 0.599  ops/s

@kares kares added the internal label Sep 4, 2017
@kares kares added this to the JRuby 9.2.0.0 milestone Sep 4, 2017
@kares kares merged commit 222fda5 into jruby:master Sep 4, 2017
@kares kares modified the milestones: Non-Release, JRuby 9.2.0.0 Sep 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants