On Mon, Jul 1, 2024 at 5:45 AM 杨杰 <zdyj3170101...@gmail.com> wrote: > > i implement an goroutine profile which use frame pointer to get traceback. > > it need stop and restart the world with 100hz. > > is this operation expensive?
Yes. Since the concern is profiling, I'll note that it will also significantly affect the program's behavior, so a profile that is constantly stopping and starting the world may not be a good reflection of the performance of the program when that is not happening. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcViro_A%3DH4ZMt6V-0%3Dh4Q3vsZS_4DENm8jyfu6yjsy2Zw%40mail.gmail.com.