simple script to time module compilations (#3414)
This commit is contained in:
parent
a88427bd39
commit
8df4290dde
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -Eeo pipefail
|
||||
|
||||
find beacon_chain/ ncli/ research/ tests/ -type f -name '*.nim' -print0 | shuf -z | xargs -0 -I{} bash -c "rm nimcache -rf && /usr/bin/time -f%e -- ./env.sh nim c -o:/dev/null --hints:off --warnings:off -d:release {} 2>&1 | tr -d '\n' && echo '' {}"
|
Loading…
Reference in New Issue