Performance issues?
mrfelton - June 7, 2009 - 15:26
| Project: | Javascript Aggregator |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
I was trying to work out why my /admin/build/blocks page was so slow and after examining some xdebug dumps with KCachegrind, it seems to me that javascript_aggrigator is having a huge performance impact on my site.
Attached is a screenshot which shows data collected over 3 hits of the /admin/build/blocks page. As you can see. javascript_aggrigator and it's related functions feature very prominently on the list.
Disabling JavaScript minifying and requesting the same page 3 times again took the total time cost down from 46,211,550 to 34,094,609 - a considerable difference.
| Attachment | Size |
|---|---|
| cachegrind.png | 186.23 KB |

#1
Thanks for that hint/feedback!
Where you logged in as admin (user/1)? In theory javascript_aggregator should ONLY minify the javascript files ONCE, it writes it to a cache directory. Aggregation is done by Drupal Core since Drupal 6.
I will look into that soon. At the moment im very busy with own projects.