@gaye profiling / tracing. When using such tools that will let them have a name instead of having a bunch of |anonymous| results.
I have been told that something has landed in Gecko at some point to help with that but I have not checkek if that's fix all the issue. Would be good to check.