Skip to content

Commit

Permalink
Update perf-testing-setup.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YunchuWang authored Jan 5, 2024
1 parent 68c49cd commit fb4b719
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/perf-testing-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
- name: Start py-spy in the background
run: |
echo "Starting py-spy in background..."
echo "Container id is $container_id"
docker exec -it $container_id sh -c "pip install py-spy"
spy_pid=$(docker exec -it $container_id sh -c "py-spy record -p $worker_pid -o helloperf.svg -f flamegraph --idle --nonblocking --rate 1500")
echo "Py-spy process id is $spy_pid"
Expand Down

0 comments on commit fb4b719

Please sign in to comment.