FrameworkBenchmarks icon indicating copy to clipboard operation
FrameworkBenchmarks copied to clipboard

Is the cache test allowed to load all at once?

Open atavistock opened this issue 1 year ago • 1 comments

https://github.com/TechEmpower/FrameworkBenchmarks/blob/85ff4916681461ffe36724a91895cbc978fcf20b/frameworks/Ruby/rails/app/controllers/hello_world_controller.rb#L22

I was under the impression that this should be a loop doing multiple lookups that may or may not hit the cache. This implementation is doing one large cache lookup and filling in the blanks. Should I change other implementations to match?

atavistock avatar Oct 03 '24 18:10 atavistock

I don't think that there is any requirement like that. In fact requirement 6 says the opposite:

Additionally, if a separate caching process is used (see below), it is acceptable to fetch all of the randomly-selected objects using a single cache query operation.

volyrique avatar Oct 03 '24 22:10 volyrique