mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
script to get each timing - usage bin/getTestRunnerTimings.sh
This commit is contained in:
parent
697bfd979b
commit
6a93c66de4
1 changed files with 2 additions and 0 deletions
2
bin/getTestRunnerTimings.sh
Executable file
2
bin/getTestRunnerTimings.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
# Requires gron
|
||||
for file in src/mochawesome-report/mochawesome*.json; do gron $file; done | grep -F 'results[' | grep -F 'tests[' | grep -E '(fullTitle|duration)' | sed -r 's/.*= //' | sed -r 's/[;"]//g' | paste -d '$' - - | awk -F'$' '{if ($1 > durations[$2]) durations[$2] = $1} END{for (i in durations) print durations[i], i}' | sed 's/^[^0-9].*/0 \0/'
|
Loading…
Add table
Add a link
Reference in a new issue