[RFC] Porting string performance tests into benchtests

Roland McGrath roland@hack.frob.com
Fri Apr 12 05:34:00 GMT 2013


> If you use CLOCK_THREAD_CPUTIME_ID, the cost of the measurement
> exceeds the cost of the thing that you're measuring.

It's only appropriate for an aggregate measurement of a large number of
iterations.  That doesn't make it useless.



More information about the Libc-alpha mailing list