wkoszolko / cache-miss

Testing the influence of cache misses in Java.

Home Page:https://wkoszolko.github.io/2022/03/08/cpu-cache-architecture/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Testing the influence of cache misses in Java.

https://wkoszolko.github.io/2022/03/08/cpu-cache-architecture/


Languages

Language:Java 100.0%