Skip to content

Instantly share code, notes, and snippets.

@mmimica
Last active August 6, 2017 11:27
Show Gist options
  • Save mmimica/0562ff868db226e1d63230a18ea722a1 to your computer and use it in GitHub Desktop.
Save mmimica/0562ff868db226e1d63230a18ea722a1 to your computer and use it in GitHub Desktop.
$ cat /proc/cpuinfo | grep "model name" | uniq -c
8 model name : Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
$ LD_PRELOAD=/home/mmimica/Downloads/zlib-1.2.8/libz-ipp.so.1.2.8 java -jar target/benchmarks.jar
...
Benchmark (level) Mode Cnt Score Error Units
ZipBenchmark.systemZlib 1 thrpt 5 48.007 ± 1.441 ops/s
ZipBenchmark.systemZlib 3 thrpt 5 48.393 ± 1.966 ops/s
ZipBenchmark.systemZlib 6 thrpt 5 19.767 ± 0.830 ops/s
ZipBenchmark.systemZlib 9 thrpt 5 14.099 ± 0.412 ops/s
$ java -jar target/benchmarks.jar
...
Benchmark (level) Mode Cnt Score Error Units
ZipBenchmark.systemZlib 1 thrpt 5 33.365 ± 1.430 ops/s
ZipBenchmark.systemZlib 3 thrpt 5 26.436 ± 0.967 ops/s
ZipBenchmark.systemZlib 6 thrpt 5 12.560 ± 0.621 ops/s
ZipBenchmark.systemZlib 9 thrpt 5 4.525 ± 0.141 ops/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment