3 ms·
This is interesting, but why is there such a huge gap between raw php, and most of the php frameworks? The one PHP framework that seems to do well is yaf. Howe
by iends 13y ago
This is interesting, but why is there such a huge gap between raw php, and most of the php frameworks?
The one PHP framework that seems to do well is yaf. However, Yaf is actually written in C and is a php extension. I would expect it to do better than all the php frameworks, but that doesn't account for the huge gap between raw php and the other frameworks.
- plorkyeran 13y agoAssuming that the PHP frameworks are not just all terribly written (which seems unlikely), what this shows us is that the PHP interpreter is very slow, but the libraries that PHP uses are fast. The raw PHP benchmark doesn't actually have very much PHP code, so the slowness of the interpreter doesn't matter much, while the PHP frameworks (other than Yaf) all have a great deal of PHP code.
- neya 13y agoYeah, me neither, I don't understand why the huge gap. Would be interesting to see some technical background on this, though.
- deleted 13y ago[deleted]