GNOME Bugzilla – Bug 572258
profiler hooks should be installed only when needed
Last modified: 2009-02-23 10:05:32 UTC
The profiler, when created, automatically installs its hooks regardless of whether outputting the profile data is enabled or not. As collecting the profiling data can slow down execution the hooks should be installed only when needed.
Created attachment 128967 [details] [review] install profiler hooks only if profiling is desired Collecting statistics can be somewhat expensive so avoid any slowdowns if no one is interested in results anyway.
Looks good
Fixed in c8c9067124b4b5e6ba063d439ffdd44ba5e62f67