I'm not sure about the web workers (but I don't think they're already available).
Have you already considered using a pool of active ClearScript engines, so to avoid recreating engines at every new iteration?
Have you already considered using a pool of active ClearScript engines, so to avoid recreating engines at every new iteration?