Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Performance...

0
0
In my own tests I found that the JScript engine of ClearScript is way faster than the V8 engine in ClearScript.

I've did some looping with lots of creations of interpreters, here are some results:
ClearScript JScript one interpreter per loop : 00:00:00.7287686.
ClearScript JScript two interpreters per loop: 00:00:01.0320185.
ClearScript JScript one interpreter          : 00:00:00.1482462.

ClearScript V8 one interpreter per loop      : 00:00:54.8219984.
ClearScript V8 two interpreters per loop     : 00:01:45.7223841.
ClearScript V8 one interpreter               : 00:00:00.6268418.
So you can see that the creation of engines is expensive but also with just one engine at all, JScript is still more than 4 times faster than V8.

(I'm no performance experts, that are just tests I've documented here on Pastebin)

Viewing all articles
Browse latest Browse all 2297