I know there are some older discussions of this, but I just ran into an issue with the V8 engine. I updated my add-on,
Docs to Markdown, and I thought I would use the latest JavaScript engine (and some of the nice language features). But when I release, I noticed a lot of errors (
ScriptError: Exceeded maximum execution time). So I rolled back to a stable version and started doing some experiments.
I measured the elapsed time to convert a document to Markdown or HTML (this is not the execution time on the server, which is limited to 30 seconds, I believe). I started with my basic test document, which is 27 pages long, and kept doubling the size. At every size, the V8 engine was significantly slower (3-5 times slower than the Rhino engine). I got to 64x (833 pages) before the V8 engine gave me the (ScriptError: Exceeded maximum execution time) error. At 208 pages,the Rhino engine took just over 30 seconds, while the V8 engine took more than 130 seconds.
For now, I'm going to stick with the deprecated Rhino engine for my own and other users' satisfaction. I hope Google can improve the performance of the V8 engine.
Here's a graph: