platform/tests/profile-generate.sh
Andrey Sobolev 6784168b66
UBERF-8052: Allow easy profiling of transactor (#6502)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-09-10 10:44:10 +05:00

9 lines
205 B
Bash
Executable File

#!/bin/bash
# npm install -g cpupro
for profile in $(ls ./profiles/*.cpuprofile); do
name=${profile/\.cpuprofile/}
if ! test -f $name.html; then
cpupro $profile -f "$name.html" --no-open
fi
done