simplebench: add img_bench_templater.py
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 24 Aug 2021 10:15:15 +0000 (13:15 +0300)
committerHanna Reitz <hreitz@redhat.com>
Wed, 15 Sep 2021 13:54:07 +0000 (15:54 +0200)
commit5b3f7daaec02704b340ebd8ec4011e19098a2b3c
treea5ab1772ba54ffe60034f007118a4e99e8236ba6
parenta13de40a05478e64726dd9861135d344837f3c30
simplebench: add img_bench_templater.py

Add simple grammar-parsing template benchmark. New tool consume test
template written in bash with some special grammar injections and
produces multiple tests, run them and finally print a performance
comparison table of different tests produced from one template.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20210824101517.59802-2-vsementsov@virtuozzo.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
scripts/simplebench/img_bench_templater.py [new file with mode: 0755]
scripts/simplebench/table_templater.py [new file with mode: 0644]