Thread:Talk:Release Management RFP/NicheWork and Hallo Welt!/Release Management and Visual Editor/reply (11)

Here is a benchmark that is very close to what we do in Parsoid: build and traverse a lot of data structures. V8 is 3.2 times slower than C, while PHP is 57 times slower. Here is a comparison between V8 and PHP across several benchmarks. Apart from pure efficiency, we also use asynchronous operations massively to perform hundreds of API requests in parallel on large pages. This effectively hides the API latency and distributes processing for a single page across many cores and machines. Despite all this, rendering a large page from scratch in Parsoid still takes up to 40 seconds.

In PHP, there is no decent support for highly asynchronous processing. For a large and complex page like en:Barack Obama you would simply get a timeout.