Skip to content

wkoszolko/cache-miss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cache-miss

The repository to demonstrate the impact of CPU cache-misses on performance.

Blog post about cpu cache-misses

Benchmark results

Benchmark                                                    (size)  Mode  Cnt  Score   Error  Units
CacheMissBenchmark.computeAllElements                       8000000  avgt  200  4,907 ± 0,019  ms/op
CacheMissBenchmark.computeHalfOfTheArray                    8000000  avgt  200  3,126 ± 1,016  ms/op
CacheMissBenchmark.computeOneElementForEachCacheLine        8000000  avgt  200  4,936 ± 0,112  ms/op
CacheMissBenchmark.computeOneElementForEveryOtherCacheLine  8000000  avgt  200  3,864 ± 0,034  ms/op