text processing - node.js vs perl performance

How can I measure or is there a concrete proof, which out of node.js and perl is better for text parsing

you write a script in each, parsing some text and take the timestamp before - the timestamp after finishing the execution.