I've just installed NewRelic on a Drupal 7 website, and I'm now going through the most obvious issues that jump out at me.
Looking at the Drupal specific menu items, I notice the "Token" module accounts for about 1 min active time in 30 minutes clock time.
The list of hooks shows the "tokens" hook accounting for 203 seconds, which is about 80% of the total time. Each call takes less than 0.02ms, but the hook gets called over 18 million times in 30 minutes clock time. The closest one is node_view with 500 thousand calls. That seems more reasonable.
I can't, right off the bat, find a way to dig into the call tree for the Drupal hooks.
- Does the amount of calls to the tokens hook seem normal?
- Is there a way in New Relic to find out where most hook invokes originate?