Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Performance Impact Of Behaviors

$
0
0
Not sure where this goes, so posting this as 'esoteric behavior'.
I've been profiling parts of an application to identify areas worthwhile to optimize following an important load on the prod server.

Several optimisations have been done, and here I report the observation that behaviors seem to have an important impact on performance.

Below is the summary of the top consumers in time ('self'), and most seem 'behavior' related:

: profile.png


I think a lot of it boils down to CList (add/insertAt and constructor).

So optimizing CList is likely a good contributor to speed.

Viewing all articles
Browse latest Browse all 18717

Trending Articles