2015/04/27

Nanoseconds

I've been doing a little performance prototyping and my usual technique of logging milliseconds spent doesn't quite cut it as the result fluctuates between 0ms and 1ms - not enough granularity to allow for any useful comparison. Switching to nanoseconds does the trick - case A is a little over 0.6ms slower than case B in my test... Cool!

What's the difference between a nanosecond(10−9) and a microsecond(10−6)? Grace puts it in perspective... but I'm talking milliseconds(10−3)... so that'd be just shy of 300km per ms or 180km longer in A compared to B. What a waste...

https://www.youtube.com/watch?v=JEpsKnWZrJ8

No comments:

Post a Comment

Don't treat people like serverless functions.

When I were knee high to a grasshopper we didn't have all this new fangled cloud infrastructure and we certainly didn't have the con...