Hi,
I am huge fan of the C/C++ web development idea. :)
So I looked at this discussion and the treeFrog website [1], mentioned in the entry above. There seems unnormal overhead in this good C++ web framework, but I do not know why. Let me summarize, maybe my conslusions are wrong and you can help me:
In the intro the author of the TreeFrog framework introduces the high speed of a C++ web framework [1]:
"Because the sever-side framework was written in C++/Qt, web applications can run extremely faster than that of scripting language."
But in his own benchmark with different PHP Frameworks and TreeFrog (1st place: TreeFrog with 1000 trans/sec; 2nd Place: CodeIgniter with 500 trans/sec, ...), he mentioned his experiences with pure PHP [2]:
"FYI, Measuring the code written by Plain PHP, the result was 1261 trans/sec. Amazing! I found simplistic PHP code is awfully fast."
A simple C++-Framework is in this simple test slower than pure PHP?
What?
Any ideas why?
Best regards,
Thomas
[1] Homepage
http://www.treefrogframework.org
[2] Benchmark from www.TreeFrogFramework.org:
http://www.treefrogframework.org/documents/comparison-of-performance
Feb. 26, 2013, 1:45 p.m. - Thomas
Hi, I am huge fan of the C/C++ web development idea. :) So I looked at this discussion and the treeFrog website [1], mentioned in the entry above. There seems unnormal overhead in this good C++ web framework, but I do not know why. Let me summarize, maybe my conslusions are wrong and you can help me: In the intro the author of the TreeFrog framework introduces the high speed of a C++ web framework [1]: "Because the sever-side framework was written in C++/Qt, web applications can run extremely faster than that of scripting language." But in his own benchmark with different PHP Frameworks and TreeFrog (1st place: TreeFrog with 1000 trans/sec; 2nd Place: CodeIgniter with 500 trans/sec, ...), he mentioned his experiences with pure PHP [2]: "FYI, Measuring the code written by Plain PHP, the result was 1261 trans/sec. Amazing! I found simplistic PHP code is awfully fast." A simple C++-Framework is in this simple test slower than pure PHP? What? Any ideas why? Best regards, Thomas [1] Homepage http://www.treefrogframework.org [2] Benchmark from www.TreeFrogFramework.org: http://www.treefrogframework.org/documents/comparison-of-performance