diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-09-16 11:47:32 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-09-16 11:47:32 +0530 |
commit | 06b1de237801402c7da327f0a36f4e6aa2f06cc2 (patch) | |
tree | 7b8bc690a5f7f10dd3683fce0e7b57c9aa5c8b22 /benchtests/README | |
parent | 9ac44708881c086f27f86b36c20749052d079c8f (diff) | |
download | glibc-06b1de237801402c7da327f0a36f4e6aa2f06cc2.tar.gz glibc-06b1de237801402c7da327f0a36f4e6aa2f06cc2.tar.xz glibc-06b1de237801402c7da327f0a36f4e6aa2f06cc2.zip |
benchtests: Use argparse to parse arguments
Make the script more usable by adding proper command line options along with a way to query the options. The script is capable of doing a bunch of things right now like choosing a base for comparison, choosing to generate graphs, etc. and they should be accessible via command line switches. * benchtests/scripts/compare_strings.py: Use argparse. * benchtests/README: Document existence of compare_strings.py.
Diffstat (limited to 'benchtests/README')
-rw-r--r-- | benchtests/README | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/benchtests/README b/benchtests/README index b015acfd53..9aa750a519 100644 --- a/benchtests/README +++ b/benchtests/README @@ -122,3 +122,14 @@ To add a benchset for `foo': - 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. + +Reading String Benchmark Results: +================================ + +Some of the string benchmark results are now in JSON to make it easier to read +in scripts. Use the benchtests/compare_strings.py script to show the results +in a tabular format, generate graphs and more. Run + + benchtests/scripts/compare_strings.py -h + +for usage information. |