[PATCH] Benchtests: Add tests to cover longer string for strrchr

Siddhesh Poyarekar siddhesh@gotplt.org
Tue Feb 21 09:43:00 GMT 2017


On Tuesday 21 February 2017 09:36 AM, Rajalakshmi Srinivasaraghavan wrote:
> While working on strrchr optimization for power8, found that the
> existing benchtests is not enough to find the improvements
> for longer strings.  Hence increasing the length to 512 to
> measure the performance for a wide range.
> 
> 2017-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
> 
> 	* benchtests/bench-strrchr.c (test_main): Increase the iteration
> 	to cover longer string.

This is fine.

Siddhesh



More information about the Libc-alpha mailing list