#823: Improve AgaviInflector performance
-----------------------------------+----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: david
Type: enhancement | Status: new
Priority: normal | Milestone: 0.11.3
Component: util | Version: 0.11-HEAD
Severity: normal | Keywords:
Has_patch: 1 |
-----------------------------------+----------------------------------------
I was able to dramatically improve AgaviInflector performance for real-
world scenarios by adding some minor optimizations and utilizing a static
variable cache.
The following numbers give an impression of the improvements on a typical
page of us with some slots (they were however not measured very accurately
and are based on just three random samples each):
After optimization (without variable cache): +32% in overall speed
compared to original implementation
After optimization (with variable cache): +1322% in overall speed compared
to original implementation
Find a patch as well as the new AgaviInflector.class.php attached.
--
Ticket URL: <http://trac.agavi.org/ticket/823>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets