Today, I'm excited to announce that the performance issue has been fixed: compiled binary code now run as fast as JS source code without performance overhead. This brings 3x-4x improvement according to our test:
The fix has been released in v0.22.0-beta1 under a flag. And it will be turned on by default in v0.23.0. To use it, pass
--future when you compile the source code and start NW:
$ nwjc --future source.js compiled.bin $ nw --js-flags="--future" .
See more here to learn how to use the source code protection feature.
It has been exactly a year after we released the 0.13 milestone. After that we executed well on keeping close updates with Chromium upstream. NW major version bumps within 1 day or even on the same day after every Chromium browser stable upgrade. We delivered many new features and optimizations in the web engine while keeps up the quality. I'm happy to write this blog post 1 year later and see what has been done. Moving forward, we expect to keep pace and please stay tuned for more exciting news.
See our mailing list to discuss on this article: https://groups.google.com/d/msg/nwjs-general/kmQ2zCuL838/1MceRe5mFQAJ