https://github.com/lemire/microbenchmarks
Private microbenchmarks
https://github.com/lemire/microbenchmarks
Last synced: 9 months ago
JSON representation
Private microbenchmarks
- Host: GitHub
- URL: https://github.com/lemire/microbenchmarks
- Owner: lemire
- License: apache-2.0
- Created: 2014-12-23T20:08:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-04-13T19:52:22.000Z (over 8 years ago)
- Last Synced: 2025-02-01T21:11:09.641Z (over 1 year ago)
- Language: Java
- Size: 519 KB
- Stars: 15
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
microbenchmarks
===============
Range Minimum Query
--------------------
http://stackoverflow.com/questions/42570135/java-method-call-performance
mvn clean install
java -cp target/microbenchmarks-0.0.1-jar-with-dependencies.jar me.lemire.microbenchmarks.rangequery.RangeMinimum
Mysterious issue
-------------------
http://stackoverflow.com/questions/41622613/why-is-my-java-lambda-with-a-dummy-assignment-much-faster-than-without-it
mvn clean install
java -cp target/microbenchmarks-0.0.1-jar-with-dependencies.jar me.lemire.microbenchmarks.mysteries.MysteriousLambda
Bitset
---------
mvn clean install
java -cp target/microbenchmarks-0.0.1-jar-with-dependencies.jar me.lemire.microbenchmarks.bitset.Bitset
Compare direct vs. heap buffers
-------------------------------
mvn clean install
java -cp target/microbenchmarks-0.0.1-jar-with-dependencies.jar me.lemire.microbenchmarks.bytebuffer.DirectVSHeapVSArray
Java RNG is slow
-----------------
mvn clean install
java -cp target/microbenchmarks-0.0.1-jar-with-dependencies.jar me.lemire.microbenchmarks.random.RandomNumberGenerator
Integer sums
--------------
This is my answer to the following blog post: http://www.vitavonni.de/blog/201412/2014122201-java-sum-of-array-comparisons.html
mvn clean install
java -cp target/microbenchmarks-0.0.1-jar-with-dependencies.jar me.lemire.microbenchmarks.integersum.SumBenchmark -wi 5 -i 5 -f 1
Hashing
---------
java -cp target/microbenchmarks-0.0.1-jar-with-dependencies.jar me/lemire/hashing/InterleavedHash
Shuffle
-----------
java -cp target/microbenchmarks-0.0.1-jar-with-dependencies.jar me.lemire.microbenchmarks.algorithms.Shuffle