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
Subscribe to:
Post Comments (Atom)
Voyaging dwarves riding phantom eagles
It's been said before... the only two difficult things in computing are naming things and cache invalidation... or naming things and som...
-
PO: We need a bridge over the river right here? Me: Why? PO: Because the customer needs to get to the other side? Me: Why can't they use...
-
I'm sitting here in the sun - yes, it's sunny in south London - and for the past 30 minutes I've been trying to buy another of M...
-
A few weeks ago I switched from Zen internet (stable enough; a touch more expensive than the big boys; excellent customer service) to Com...
No comments:
Post a Comment