Profiler
@chergert wrote a patch to integrate SpiderMonkey's profiler with Sysprof capture format. It's on the wip/chergert/profiler
branch: 149e9a82 At GUADEC this past year, @jadahl and I successfully used it to profile GNOME Shell. It needs a few fixes, which Endless has agreed to pay me to do.
To do list:
- Coding style fixes
- See about deduplicating copy-pasted code from sysprof
- Check why
gjs_profiler_start()
andgjs_profiler_stop()
didn't work when we tried to call them from within GNOME Shell code
Apparently there was another profiler in the past, that got removed: 4c9fcdd5 Check if there isn't any functionality from that profiler that's missing in this one that we could easily add.