Simulates the runtime of a cache using different configurations