-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
The main cost of goroutine performance analysis comes from stop the world.
And each goroutine needs to traverse the stack through an expensive unwinder function.
We can optimize it by using fp traceback.
The main cost of goroutine performance analysis comes from stop the world.
And each goroutine needs to traverse the stack through an expensive unwinder function.
We can optimize it by using fp traceback. Even if we traverse thousands of goroutines, the cost is negligible, so the only overhead is to stop the world and restart the world.
see golang/go#66915
Metadata
Metadata
Assignees
Labels
No labels