Are there any good tutorials on how to write fast, efficient code for v8 (specifically, for node.js)?
What structures should I avoid using? What are the idioms that v8 o
From my experience:
.bind()
is really slow in V8 at the moment new Object()
and new Array()
are a bit faster currently (MICROoptimization, unless you're writing some crazy encoder stick with {}
and []
)My rules:
If you're an JS expert and your already applying all good practices to your code, there's hardly anything you can do to improve performance.
If you encounter performance issues: