This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Welcome to the game show "lies and benchmarks". | |
We will present the participants a required result, and they would build a | |
benchmark that reaches the predetermined conclusions. | |
When done professionally, this activity is called "benchmarketing". | |
Our task for today is to prove LongAdder is slower than AtomicLong. Our | |
observation is, LongAdder prevents write contention to a single a atomic |