I’ve created a new github repository for my Java Benchmarks : java-benchmarks
From now all my benchmarks will be pushed to this repository. This is more simple for me to manage and more secure also.
At this time, there is seven benchmarks on the repository :
- Closest Pair Search Benchmark : A benchmark to test two closest pair point search algorithms : the naive one and the sweeping plane one. Results.
- File Copy Benchmark : A benchmark on the different ways to make file copy in Java. Results.
- Iteration Remove Benchmark : A simple benchmark to test if it’s interesting to remove the read elements from a list when we make several iterations over the list.
- Reflection Benchmark : A little benchmark to test the performances of reflection versus switch cases and direct invocations.
- Short Indexes Loop Benchmark : A benchmark to test which primitive type is the most performing using as iteration index. Results.
- Synchronization Benchmark : A benchmark to test the performances of the different synchronization mechanisms available in Java to provide mutual exclusion. Results.
- Unmodifiable Benchmark : A benchmark to test the performances of unmodifiable collection versus creating a copy of the list.
I hope you’ll find these sources interesting. If you found errors or improvements, don’t hesitate to comment to tell me what.