I was able learn about the TimerMiddleware and i equally found the AlluraTimerMiddleware class, it is found in allura/lib/custom_middleware.py. I equally used the allura web interface and saw some logs in generated in the stats.log file. I saw how they add the sidebar logic to the timer as follows: [Timer('sidebar', ep.load(), 'sidebar_menu') for ep in tool_entry_points] can i do same for the nav logic? that is [Timer('navbar', ep.load(), 'navbar_menu') for ep in tool_entry_points]
--- ** [tickets:#7977] Improvements to AlluraTimerMiddleware** **Status:** open **Milestone:** unreleased **Labels:** bitesize **Created:** Tue Aug 25, 2015 09:30 PM UTC by Dave Brondsema **Last Updated:** Tue Feb 05, 2019 06:46 PM UTC **Owner:** nobody It'd be useful to have AlluraTimerMiddleware wrap the project nav logic. This would help identify any issues related to that (e.g. project with tons of tools) And the first "ming" timer should be renamed "ming-iter" so that the high call counts it produces is separate from the regular ming counts. --- Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.