Files
huly-platform/ws-tests/profile-generate.sh
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