3 ms·
You're misinterpreting the results. > operations per second (higher is better) Using `new` is in red, while using `Object.create` is in blue, and the red bars
by k3n 13y ago
You're misinterpreting the results.
> operations per second (higher is better)
Using `new` is in red, while using `Object.create` is in blue, and the red bars are markedly larger than the blue in all but a few cases.
Thus, using `new` is, for the most part, much faster than the Crockford way. In Chrome, it's tons faster.