Closed (fixed)
Project:
Advanced CSS/JS Aggregation
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 May 2013 at 23:41 UTC
Updated:
31 May 2013 at 20:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
mikeytown2 commentedShaves ~10ms off of the request for an advagg cache hit. Following patch has been committed
Comment #2
mikeytown2 commentedI've gotten this down to
core: 7ms, advagg: 9msusing microtime(TRUE) timers. Using xdebug it showscore: 32ms, advagg: 42ms. ~30% slower when we are talking about 2ms isn't a big issue in my opinion. If I wanted to get more out of it I could cache advagg_merge_plans or _advagg_aggregate_css/js but that would give me a lower cache hit ratio for that cache due to inlined output. Nonetheless something to think about.Comment #3
mikeytown2 commentedBy adding caching at the highest level I got this to be faster than core.
microtime: 4ms
xdebug: 17ms
I'll build a setting to turn caching on and off.
Comment #4
mikeytown2 commentedThe following patch has been committed.