alvaro...@gmail.com
unread,Jun 29, 2013, 12:25:36 PM6/29/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to te...@googlegroups.com
I see a lot of value and potential in TeaJS, very good software, and I'd like to see it evolve and improve.
Performance of the Apache module however does not seem great.
Using the Apache benchmark tool "ab" I can get around 160 requests per second (~6 ms per request) for a very simple test page. Using concurrent requests does not improve that rate.
An equivalent PHP version gets around 1600 requests per second. That is 10 times more! And with 5 concurrent requests that goes to 2000-3000 req/s.
AFAIK v8 itself is faster than PHP but its start time seems to be longer (VM startup, code parse and compile, etc.)
Can something be done to improve this?
I saw your experimental flag "reuse_context". That might help, as well as maybe updating v8. Can you provide a build with that flag? I'm having trouble compiling myself.
I just tried to compile it with a recent v8 checkout and got many errors. This will go in a different post, though.
As for other improvements I can think of MongoDB support for example. It fits well with Javascript.
Thank you.