mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-24 12:06:57 +03:00
9 lines
205 B
Bash
9 lines
205 B
Bash
|
#!/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
|