Skip to content

Instantly share code, notes, and snippets.

@enebo
Last active November 18, 2021 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enebo/8efdb7448ab47525a555b26bc447abb1 to your computer and use it in GitHub Desktop.
Save enebo/8efdb7448ab47525a555b26bc447abb1 to your computer and use it in GitHub Desktop.
ystem ~/work/jruby master *+|MERGING 1609% jruby -Xcompile.invokedynamic ../snippets/bench_strftime.rb
Ignoring bcrypt-ruby-3.0.0-java because its extensions are not built. Try: gem pristine bcrypt-ruby --version 3.0.0
jruby 9.4.0.0-SNAPSHOT (3.0.2) 2021-11-18 8589896220 OpenJDK 64-Bit Server VM 11.0.12+6-jvmci-21.2-b08 on 11.0.12+6-jvmci-21.2-b08 +indy +jit [linux-x86_64]
Warming up --------------------------------------
Time.now.strftime 99.841k i/100ms
Logger#add 487.729k i/100ms
Logger#info 483.190k i/100ms
Calculating -------------------------------------
Time.now.strftime 956.680k (± 5.2%) i/s - 28.654M in 30.040216s
Logger#add 11.368M (± 3.6%) i/s - 340.435M in 30.030657s
Logger#info 12.683M (± 2.8%) i/s - 380.271M in 30.007870s
system ~/work/jruby master *+|MERGING 1608% jruby ../snippets/bench_strftime.rb
Ignoring bcrypt-ruby-3.0.0-java because its extensions are not built. Try: gem pristine bcrypt-ruby --version 3.0.0
jruby 9.4.0.0-SNAPSHOT (3.0.2) 2021-11-18 8589896220 OpenJDK 64-Bit Server VM 11.0.12+6-jvmci-21.2-b08 on 11.0.12+6-jvmci-21.2-b08 +jit [linux-x86_64]
Warming up --------------------------------------
Time.now.strftime 95.434k i/100ms
Logger#add 409.905k i/100ms
Logger#info 363.997k i/100ms
Calculating -------------------------------------
Time.now.strftime 943.848k (± 2.7%) i/s - 28.344M in 30.053108s
Logger#add 7.270M (± 4.3%) i/s - 217.660M in 30.000439s
Logger#info 6.021M (± 2.4%) i/s - 180.543M in 30.004532s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment