I'm curious to know in what scenario one may benefits from this kind of rewriting.
I guess your application:
- doesn't intensely manipulate the DOM (otherwise your js performance shouldn't really be the bottleneck).
- isn't easy to parallelize.
- or you already make massive usage of web workers and you still had issues.
No sarcasm at all, I've recently refactored in ES6 the code-base I'm working on, without noticing any performance issues, and we really gained in readability and maintainability doing so. That's why I really wonder what could lead me to do the exact opposite.
I guess your application: - doesn't intensely manipulate the DOM (otherwise your js performance shouldn't really be the bottleneck). - isn't easy to parallelize. - or you already make massive usage of web workers and you still had issues.
No sarcasm at all, I've recently refactored in ES6 the code-base I'm working on, without noticing any performance issues, and we really gained in readability and maintainability doing so. That's why I really wonder what could lead me to do the exact opposite.