Add timeit to measure test timings

This commit is contained in:
Ganesh Viswanathan 2020-04-28 20:48:21 -05:00
commit 492eba8f22
4 changed files with 36 additions and 14 deletions

View file

@ -9,7 +9,7 @@ withDir("wrappers"):
for wrapper in wrappers:
let
name = wrapper.extractFilename()
exec "git clone https://github.com/" & wrapper
exec "../../tests/timeit git clone https://github.com/" & wrapper
withDir(name):
exec "nimble install -d"
exec "nimble test"
exec "../../../tests/timeit nimble install -d"
exec "../../../tests/timeit nimble test"