Skip to content

Commit 7cdeb1e

Browse files
authored
Update perf-testing-setup.yml
1 parent 04e594b commit 7cdeb1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/perf-testing-setup.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
echo "Container id is $container_id"
8585
docker exec $container_id sh -c "pip install py-spy"
8686
docker exec -d $container_id sh -c "py-spy record -p $worker_pid -o /home/site/wwwroot/helloperf.svg -f flamegraph --idle --nonblocking --rate 1500 --duration 5 &"
87+
docker exec $container_id sh -c "py-spy record -p $worker_pid -o /home/site/wwwroot/helloperf.svg -f flamegraph --idle --nonblocking --rate 1500 --duration 5"
8788
sleep 2 # Give it a moment to start
8889
py_spy_id=$(docker exec $container_id sh -c "ps aux | grep '[p]y-spy record'" | awk '{print $2}')
8990
echo "py_spy_id=$py_spy_id" >> $GITHUB_ENV

0 commit comments

Comments
 (0)