[TYPO3-team-core-v5] Flow3 performance : investigation idea

Mind2Machine junk at mind2machine.com
Mon Sep 1 09:59:36 CEST 2008


Hello everybody,

 

My knowledge about Flow3 remains very limited : I have just read half of the
documentation and watched a couple of podcasts, but I am already very
enthusiastic about the framework and its smart design. I have noticed
however a big concern is performance and memory consumption. I don’t know if
the concern has been fully addressed yet, but I might be able to bring an
interesting idea on some path to investigate.

 

As I said, I have very limited knowledge of Flow3, but a few years ago I
have designed a complex Java software featuring a plugin system making use
of reflection, and I have noticed Flow3 seems to be using reflection as
well. 

 

At this time, one problem with the Java reflection API was it would induce a
huge performance hit. I don’t know if it has been improved since. There was
a performance difference by a factor of something like 100x between calling
a function directly and calling it thru the related reflection method. When
calling a few methods you would not notice, but when running a loop with
hundreds or thousands of function calls, the software would begin to slow
down seriously.

 

There is a possibility such a hit could exist as well in PHP reflection API,
and if so, no matter how much caching you’d do, calling a cached reflection
method would always induce the performance hit inherent to the reflection’s
function internal work. 

 

This could be the problem met with Flow3 and you guys might want to do some
performance /memory consumption measurement between reflection calls and
direct calls.

 

I hope this could help.

 

Best regards,

 

Alban Cousinié

-- 

MIND2MACHINE SARL
 <BLOCKED::http://www.mind2machine.com/> http://www.mind2machine.com
54, rue du Coq
13001 Marseille

 

tel : +33 9 52 26 24 28

fax : +33 4 91 64 75 79

mob : +33 6 21 22 73 14 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.netfielders.de/pipermail/typo3-team-core-v5/attachments/20080901/b8dce202/attachment.htm 


More information about the TYPO3-team-core-v5 mailing list