An algorithm can have few instructions and still run slowly if its data arrives from memory in the wrong order. Cache misses, pointer chasing, and poorly aligned structures often cost more than the arithmetic around them.
Compare layouts
Benchmark a contiguous array and a scattered pointer-based structure under the same workload. Vary the working-set size so the test crosses cache boundaries. Record latency distributions and throughput instead of a single best run.
Keep the benchmark honest
Use the result in a way the compiler cannot remove, warm the system consistently, and report the hardware and compiler settings. The goal is to understand access behavior, not to produce the smallest number.