3 ms·
this is a pretty standard performance win to avoid constantly getting the time when you don't need it. Certainly seen this win at work (AWS) but also likely in
by harshaw 3y ago
this is a pretty standard performance win to avoid constantly getting the time when you don't need it. Certainly seen this win at work (AWS) but also likely in various other projects repeatedly. But bias for action for getting it done!
- loeg 3y agoYeah. We use and cache rdtsc a fair amount to avoid its relatively high overhead in the storage stack I'm working on as well.