mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
ad6e778c4a
Adds a benchmark to compare the speed of property setting/getting in four cases: - Dot notation: `obj.prop = value` - Bracket notation with string: `obj['prop'] = value` - Bracket notation with string variable: `obj[prop] = value` - Bracket notation with Symbol variable: `obj[sym] = value` PR-URL: https://github.com/nodejs/node/pull/10949 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
||
---|---|---|
.. | ||
function_call | ||
console.js | ||
freelist.js | ||
object-property-bench.js | ||
punycode.js | ||
set-immediate-breadth-args.js | ||
set-immediate-breadth.js | ||
set-immediate-depth-args.js | ||
set-immediate-depth.js | ||
startup.js | ||
util-extend-vs-object-assign.js | ||
v8-bench.js |