We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 896d54d commit c6bcafbCopy full SHA for c6bcafb
.github/workflows/perf-testing-setup.yml
@@ -83,7 +83,7 @@ jobs:
83
echo "Starting py-spy in background..."
84
echo "Container id is $container_id"
85
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 &"
+ 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
sleep 2 # Give it a moment to start
88
py_spy_id=$(docker exec $container_id sh -c "ps aux | grep '[p]y-spy record'" | awk '{print $2}')
89
echo "py_spy_id=$py_spy_id" >> $GITHUB_ENV
0 commit comments