[FLOW3-general] Performance of FLOW3

Robert Lemke robert at typo3.org
Tue Feb 23 14:42:05 CET 2010


Hi Thomas,

in general it's a good idea to look at how compiled code can speed up FLOW3
and we do look at HipHop and friends. Recently someone approached me for talking
about a PHP extension which would provide the AOP functionality - we'll surely
try that out at some point.

On the other hand I share the opinion of Lukas Kahwe Smith who recently wrote
a few lines about what he thinks about HipHop in real life:

http://pooteeweet.org/blog/1661

My 2c back ...

robert

Am 23.02.2010 um 13:59 schrieb Thomas Fritz:

> Hi everybody!
> 
> It may be a bit different topic to that one but it will be definately a
> speed improvement too.
> Nowadays we hear a lot about HipHop and "PHP Compiler". I personally read
> about other projects like roadsend and phpc which are available much longer
> than "HipHop". It also turns out that the roadsend developers and phpc
> developers work very hard on a complete new and rewritten version of the
> roadsend php compiler. Which goal is a php compiler which produces highly
> optimized and secure executable binarys.
> It will also be possible, as i understood, to compile different php source
> files to php native modules or a whole php application to one fastcgi
> compatible binary.
> So in case of FLOW3 i can think of a native FLOW3 php module version which -
> of course thats theoretically -  would be a massive speed jump.
> 
> What do you think about such projects / Ideas?
> Have you thought about supporting such an approach in some way (perhaps ship
> build files with FLOW3 to build a php module or something of that kind...)?
> 
> 
> Just my 2 Cents.
> 
> Thomas
> 
> 2010/2/23 Robert Lemke <robert at typo3.org>
> 
>> Hi Karol,
>> 
>> Am 23.02.2010 um 11:03 schrieb Karol Gusak:
>> 
>>> I'm just testing FLOW3 and I have to wait 8-30 seconds for every page
>> load
>>> (welcome page and others - documentation). I wonder if it is expected, or
>> I
>>> have something misconfigured? I'm running FLOW3 in development mode, with
>>> APC. Thanks for answer.
>> 
>> It depends ...
>> 
>> Yes, the development context is way slower than the production context,
>> because
>> FLOW3 will monitor all php files for possible changes and rebuild certain
>> caches
>> on demand. It also seems like FLOW3 in dev context is not particularly fast
>> on
>> Windows machines.
>> 
>> However, 8-30 seconds sounds a bit too slow - on my Macbook Pro it takes
>> about 3-4
>> seconds to run the welcome screen with completely empty caches.
>> 
>> Anyway, this is not the last word on speed either. For alpha 8 Karsten and
>> I have
>> worked very intensively on big speed improvements, Karsten for the
>> persistence part
>> and I for the object management. Personally I can live with 1-2 seconds per
>> hit in
>> development context as long as it is convenient and production is way
>> faster.
>> 
>> Can you post some more details about your configuration?
>> 
>> Cheers,
>> robert
>> _______________________________________________
>> FLOW3-general mailing list
>> FLOW3-general at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>> 
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general



More information about the FLOW3-general mailing list