This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
$ node node/reflect-vs-private.js | |
Reflect x 7,297,368 ops/sec ±0.66% (92 runs sampled) | |
Normal x 126,613,750 ops/sec ±0.75% (93 runs sampled) | |
Private x 14,083,334 ops/sec ±0.99% (87 runs sampled) | |
Fastest is Normal | |
*/ | |
const { Benchmark } = require("benchmark"); | |
var suite = new Benchmark.Suite(); |