diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-04-16 17:37:24 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-06-11 15:08:13 +0530 |
commit | c1f75dc386d533806d29b7e94118363a7b50eed8 (patch) | |
tree | 38d917f7a99bf569704a09e56a0dd5b7b4475be5 /benchtests/README | |
parent | 50fd745b4dec07e8e213cf2703b5cabcfa128225 (diff) | |
download | glibc-c1f75dc386d533806d29b7e94118363a7b50eed8.tar.gz glibc-c1f75dc386d533806d29b7e94118363a7b50eed8.tar.xz glibc-c1f75dc386d533806d29b7e94118363a7b50eed8.zip |
Begin porting string performance tests to benchtests
This is the initial support for string function performance tests, along with copying tests for memcpy and memcpy-ifunc as proof of concept. The string function benchmarks perform operations at different alignments and for different sizes and compare performance between plain operations and the optimized string operations. Due to this their output is incompatible with the function benchmarks where we're interested in fastest time, throughput, etc. In future, the correctness checks in the benchmark tests can be removed. Same goes for the performance measurements in the string/test-*.
Diffstat (limited to 'benchtests/README')
-rw-r--r-- | benchtests/README | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/benchtests/README b/benchtests/README index 8135069fea..045b7a673d 100644 --- a/benchtests/README +++ b/benchtests/README @@ -72,3 +72,18 @@ the same file by using the `name' directive that looks something like this: See the pow-inputs file for an example of what such a partitioned input file would look like. + +Benchmark Sets: +============== + +In addition to standard benchmarking of functions, one may also generate +custom outputs for a set of functions. This is currently used by string +function benchmarks where the aim is to compare performance between +implementations at various alignments and for various sizes. + +To add a benchset for `foo': + +- Add `foo' to the benchset variable. +- Write your bench-foo.c that prints out the measurements to stdout. +- On execution, a bench-foo.out is created in $(objpfx) with the contents of + stdout. |