4 ms·
What do you mean by "After 2 warm-ups"? I've seen this expression in the context of benchmarks before and it puzzles me. Does it mean you are doing this operat
by hpb42 5y ago
What do you mean by "After 2 warm-ups"? I've seen this expression in the context of benchmarks before and it puzzles me.
Does it mean you are doing this operation enough times to trick the kernel to cache everything in RAM? Or you run it 3 times and chose the fastest timings?
- snet0 5y agoI'm not sure about the specific context here, but benchmark warm-ups are often used to make sure that the program's run time is nothing but that, and doesn't include things like setting up an environment or compiling to a cache. I think there are sometimes arguments to be made that, for the user, that is run time. When using benchmarks to compare programs like this, though, I think isolating the "actual" (i.e. useful) program execution is productive.
- juancampa 5y agoFirst run: fcp binary has to be read from disk, so it's slow(ish) to start. Second run: fcp binary is cached by the OS in RAM so it starts up faster. Third run: just to make sure :) This is just one of the things of a type of cache that can be warmed up.