glibc/benchtests/scripts
Naohiro Tamura 3886eaff9d benchtests: Enable scripts/plot_strings.py to read stdin
This patch enables scripts/plot_strings.py to read a benchmark result
file from stdin.
To keep backward compatibility, that is to keep accepting multiple of
benchmark result files in argument, blank argument doesn't mean stdin,
but '-' does.
Therefore nargs parameter of ArgumentParser.add_argument() method is
not changed to '?', but keep '+'.

ex:
  $ jq '.' bench-memset.out | plot_strings.py -
  $ jq '.' bench-memset.out | plot_strings.py - bench-memset-large.out
  $ plot_strings.py bench-memset.out bench-memset-large.out

error ex:
  $ jq '.' bench-memset.out | plot_strings.py

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2021-09-13 09:04:21 +05:30
..
bench.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
benchout.schema.json benchtests: Fix pthread-locks test to produce valid json 2021-04-18 12:56:29 +05:30
benchout_strings.schema.json benchtests: New script to parse memcpy results 2017-06-22 23:44:51 +05:30
compare_bench.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
compare_strings.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
import_bench.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
plot_strings.py benchtests: Enable scripts/plot_strings.py to read stdin 2021-09-13 09:04:21 +05:30
validate_benchout.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00