Benchmarking / justifying cortex-strings
michael.hope at linaro.org
Mon Sep 5 03:21:49 UTC 2011
On Fri, Sep 2, 2011 at 4:08 PM, Michael Hope <michael.hope at linaro.org> wrote:
> Hi Dave. I've been hacking away and have checked in a couple of
> benchmarking and plotting scripts to lp:cortex-strings. The current
> results are at:
> All are done on an A9. The results are very incomplete due to how
> long things take to run. I'll leave ursa3 doing these over the
> weekend which should flesh this out for the other routines.
Right, that's done. The new graphs are up at:
The original data is at:
Here's the relative performance for all routines with eight byte
aligned data and 128 byte blocks:
memchr, memcpy, strcpy, and strlen all look good at this block size.
Here's the speed versus block size for eight byte aligned data:
memchr is good. memset could be better for blocks of less than 1k.
strchr gets second place but is eclipsed by newlib's version. strcmp
need work. strcmp is good. strlen is good but the wobbles could use
And here's a graph of how the performance changes with initial alignment:
More information about the linaro-toolchain