]> git.ipfire.org Git - thirdparty/glibc.git/commit
benchtests: New -g option to generate graphs in compare_strings.py
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Sat, 16 Sep 2017 09:53:59 +0000 (15:23 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Sat, 16 Sep 2017 09:54:00 +0000 (15:24 +0530)
commit140647ea6fee9c08c67b4130e9f9e8dc7a646a3e
tree967c945f1f8c1cac6c6c23ba713d16e1b1408699
parent5a6547b7b9e8174a2aa228c4d3c5de7245f720b6
benchtests: New -g option to generate graphs in compare_strings.py

The compare_strings.py option unconditionally generates a graph PNG
image of the input data, which can be unnecessary and slow.  Put this
behind an optional flag -g.

* benchtests/scripts/compare_strings.py: New option -g.
(draw_graph): Print a message that a graph is being generated.
(process_results): Generate graph only if -g is passed.
(main): Process option -g.
ChangeLog
benchtests/scripts/compare_strings.py