diff options
author | Eli Bendersky <eliben@google.com> | 2019-08-23 13:50:25 -0700 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2019-08-23 13:50:25 -0700 |
commit | bcfb3657f6170bd73dd8c7a23248b14f6e870eb6 (patch) | |
tree | 028a85cecc2bc5e7069917177c702240d454d8ff /utils/benchmark | |
parent | b95fb13996f23de6e64e5a0c46c8511375c70280 (diff) | |
download | pycparser-bcfb3657f6170bd73dd8c7a23248b14f6e870eb6.tar.gz |
Rename files to prevent Github from thinking this is a Pascal project
Diffstat (limited to 'utils/benchmark')
-rw-r--r-- | utils/benchmark/benchmark-parse.py | 2 | ||||
-rw-r--r-- | utils/benchmark/inputs/redis.c.ppout (renamed from utils/benchmark/inputs/redis.c.pp) | 0 | ||||
-rw-r--r-- | utils/benchmark/inputs/sqlite-btree.c.ppout (renamed from utils/benchmark/inputs/sqlite-btree.c.pp) | 0 | ||||
-rw-r--r-- | utils/benchmark/inputs/tccgen.c.ppout (renamed from utils/benchmark/inputs/tccgen.c.pp) | 0 |
4 files changed, 1 insertions, 1 deletions
diff --git a/utils/benchmark/benchmark-parse.py b/utils/benchmark/benchmark-parse.py index b2552fe..dd98449 100644 --- a/utils/benchmark/benchmark-parse.py +++ b/utils/benchmark/benchmark-parse.py @@ -32,7 +32,7 @@ def measure_parse(text, n, progress_cb): def measure_file(filename, n): progress_cb = lambda i: print('.', sep='', end='', flush=True) with open(filename) as f: - print('%-20s' % os.path.basename(filename), end='', flush=True) + print('%-25s' % os.path.basename(filename), end='', flush=True) text = f.read() times = measure_parse(text, n, progress_cb) print(' Mean: %.3f Stddev: %.3f' % (statistics.mean(times), diff --git a/utils/benchmark/inputs/redis.c.pp b/utils/benchmark/inputs/redis.c.ppout index b1fa222..b1fa222 100644 --- a/utils/benchmark/inputs/redis.c.pp +++ b/utils/benchmark/inputs/redis.c.ppout diff --git a/utils/benchmark/inputs/sqlite-btree.c.pp b/utils/benchmark/inputs/sqlite-btree.c.ppout index e73a0fa..e73a0fa 100644 --- a/utils/benchmark/inputs/sqlite-btree.c.pp +++ b/utils/benchmark/inputs/sqlite-btree.c.ppout diff --git a/utils/benchmark/inputs/tccgen.c.pp b/utils/benchmark/inputs/tccgen.c.ppout index b007f19..b007f19 100644 --- a/utils/benchmark/inputs/tccgen.c.pp +++ b/utils/benchmark/inputs/tccgen.c.ppout |