[FLOW3-general] Sloooow...

Manuel Strausz tminus at bitmap.co.at
Fri Jan 8 01:22:06 CET 2010


Am 07.01.2010 15:24, schrieb Marcus 'biesior' Biesioroff:
> I've just installed FLOW3 on my Win7 laptop (for the first time in my
> life at all) and I'm... surprised...
>
> I know that my comp is not the speed deamon, however I wonder if waiting
> 20-30 sec. for http://flow3.loc/flow3/welcome is probably little to long :)


Hey Marcus,

I also did some testing in similar environments, and it really can get 
kind of slow (especially in Development context). However, at this point 
not everything that could be cached is really cached. I already opened 
an issue about the package manager not doing any caching, and I think 
the team is mostly aware of the places that could still profit from 
optimizations. But I think other things have higher priorities right now 
i.e. making sure it *works*. :)
On windows machines the I/O operations are generally slow (could also be 
an issue with the DirectoryIterator PHP class) so the framework should 
reduce the number of required operations as much as possible in the future.

Kind of offtopic, but I think it would also be possible to write all 
used classes for a single action into one file, and include that at 
startup as soon as the action is resolved. That way the number of file 
operations could be reduced greatly. I already did that for my own 
framework some time ago, the only hard part about is to write the 
classes/interfaces in the right order (but I think the reflection API 
would help a great deal with that).

Your 20-30 second runtime however hints at something different, are you 
sure your caches are being written correctly? When FLOW3 starts up the 
first time it will do a lot of caching, and after that it will run a lot 
faster. Take a look at your Data/Temporary directory, there should be a 
lot of folders and files in there already. If not, something went wrong. 
If something is in there, try deleting everything in Temporary manually, 
then reload the page twice to see if anything improved.

Even on windows it shouldn't get *that* slow :)

Greetings,
Manuel


More information about the FLOW3-general mailing list