I have stumbled a few times and in many places on the famous "latency numbers every programmer should know". From what I understand they were first popularised by Peter Norvig. [0]
My question is: how would one go about measuring this kind of numbers? is there a way to actually use some code to make this measurements? even better would be if there was a public repository that one could use to measure some of these numbers.
I would also be happy on a repository where you only measure two of those: read 1 MB sequentially from memory or read 1 MB sequentially from disk.
[0]: http://norvig.com/21-days.html#answers