platform_bionic/benchmarks/suites/string.xml
Christopher Ferris e2188d460b Add new benchmark options.
Add a bunch of extra options to allow greater flexibility for creating
benchmarks. Add a pattern option that can be used to represent any
one buffer or two buffer possibility. This should fully replace the
functionality of microbench.

Add a single option for one buffer benchmarks and two buffer benchmarks
that represents all of the possible options to run a string benchmark.

Add a string test suite that includes all string benchmarks using the
above option.

Test: New unit tests to cover all the new options, and all pass.
Test: Ran new string test suite with a single bionic iteration.
Change-Id: Idb13ea15e44cec626e9f46672ccd648d7ca72ba6
2017-11-30 15:49:45 -08:00

52 lines
1.1 KiB
XML

<fn>
<name>BM_string_memcmp</name>
<args>AT_MANY_ALIGNED_TWOBUF</args>
</fn>
<fn>
<name>BM_string_memcpy</name>
<args>AT_MANY_ALIGNED_TWOBUF</args>
</fn>
<fn>
<name>BM_string_memmove_non_overlapping</name>
<args>AT_MANY_ALIGNED_TWOBUF</args>
</fn>
<fn>
<name>BM_string_memmove_overlap_dst_before_src</name>
<args>AT_MANY_ALIGNED_ONEBUF</args>
</fn>
<fn>
<name>BM_string_memmove_overlap_src_before_dst</name>
<args>AT_MANY_ALIGNED_ONEBUF</args>
</fn>
<fn>
<name>BM_string_memset</name>
<args>AT_MANY_ALIGNED_ONEBUF</args>
</fn>
<fn>
<name>BM_string_strcat_copy_only</name>
<args>AT_MANY_ALIGNED_TWOBUF</args>
</fn>
<fn>
<name>BM_string_strcat_half_copy_half_seek</name>
<args>AT_MANY_ALIGNED_TWOBUF</args>
</fn>
<fn>
<name>BM_string_strcat_seek_only</name>
<args>AT_MANY_ALIGNED_TWOBUF</args>
</fn>
<fn>
<name>BM_string_strchr</name>
<args>AT_MANY_ALIGNED_ONEBUF</args>
</fn>
<fn>
<name>BM_string_strcmp</name>
<args>AT_MANY_ALIGNED_TWOBUF</args>
</fn>
<fn>
<name>BM_string_strcpy</name>
<args>AT_MANY_ALIGNED_TWOBUF</args>
</fn>
<fn>
<name>BM_string_strlen</name>
<args>AT_MANY_ALIGNED_ONEBUF</args>
</fn>