I measured it on 100 000 tests (100 classes, each with 100 tests), 3 times per each variant

average time with this cache is ... 81,860s
average time without is ............... 78,981s