Skip to content

Commit c6bcafb

Browse files
authored
Update perf-testing-setup.yml
1 parent 896d54d commit c6bcafb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
echo "Starting py-spy in background..."
8484
echo "Container id is $container_id"
8585
docker exec $container_id sh -c "pip install py-spy"
86-
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 30 &"
86+
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 &"
8787
sleep 2 # Give it a moment to start
8888
py_spy_id=$(docker exec $container_id sh -c "ps aux | grep '[p]y-spy record'" | awk '{print $2}')
8989
echo "py_spy_id=$py_spy_id" >> $GITHUB_ENV

0 commit comments

Comments
 (0)