[PATCH] Add math benchmark latency test
Siddhesh Poyarekar
siddhesh@gotplt.org
Wed Aug 16 14:26:00 GMT 2017
On Wednesday 16 August 2017 07:53 PM, Arjan van de Ven wrote:
> well not really...
>
> I've been working on making expf() faster for x86 (see HJ's email
> earlier), and
> with a massive out of order/pipelined cpu, latency and throughput are
> very distinct things.
> expf() can run at a throughput of somewhere in the 10 to 11 cycles
> range, while the latency
> can be in the 45 to 55 cycles range.
> (not trying to do benchmarking here, just wanting to show an order of
> magnitude)
Ah sorry, I should have been clearer - inverse in terms of units, not
value, i.e. throughput is typically expressed in items/unit time while
latency is expressed in time/unit item.
Siddhesh
More information about the Libc-alpha
mailing list