Commit 189fc914 authored by Mathieu Giraud's avatar Mathieu Giraud

benchmark-releases.py: bikeshed, decorate some release with a few words

see #4275
parent b2341efa
Pipeline #146446 passed with stages
in 181 minutes and 55 seconds
...@@ -46,6 +46,14 @@ COMPATIBILITY = [ ...@@ -46,6 +46,14 @@ COMPATIBILITY = [
('2019.03', '-c designations', '-c segment'), ('2019.03', '-c designations', '-c segment'),
] ]
# Notable changes that may affect speed/memory
INFOS = {
'2019.03': 'Aho by default',
'2018.07': '--analysis-filter (always 3)',
'2018.10': '--analysis-filter 1',
'2020.04': '#4287',
}
# Simple colored output # Simple colored output
CSIm = '\033[%sm' CSIm = '\033[%sm'
...@@ -243,6 +251,8 @@ def bench_line(f, release, stats, index, format='%8.2f', previous_release=None, ...@@ -243,6 +251,8 @@ def bench_line(f, release, stats, index, format='%8.2f', previous_release=None,
else: else:
b = '%8s' % '-' b = '%8s' % '-'
f.write(b) f.write(b)
if release in INFOS:
f.write(' ' + INFOS[release])
f.write('\n') f.write('\n')
return warned return warned
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment