News for hackers. Stuff that matters.
Re:Web Framework Benchmarks Round 4 by notJim on Thursday May 02, 2013 @12:55PM (#5645722)
Raw php also has to initialize connections, and it does really well, so I don't think that's it. To me, that points to overhead from initializing the objects as the bottleneck. I would have thought that with APC, this wouldn't be a major issue, though, so I wonder if that's still not it.
Re:Web Framework Benchmarks Round 4 by cmircea on Thursday May 02, 2013 @04:40PM (#5647088)
APC only caches the opcodes, so the interpreter doesn't have to parse your code. But the framework still has to set up itself for each request individually. Parse configuration, create objects, etc. It adds up quickly.
Re:Web Framework Benchmarks Round 4 by egeozcan on Thursday May 02, 2013 @03:09PM (#5646517)
I always hear this myth that php gets very slow when you write proper OO code. I neither write nor maintain any php code so I wouldn't know.