platform/ws-tests/profile-generate.sh
Andrey Sobolev db0bbe31aa
Merge staging 12feb (#7993)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-02-12 23:18:50 +07: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