0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/benchmark/misc
Michaël Zasso ad6e778c4a benchmark: add benchmark for object properties
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>
2017-01-27 13:00:42 +01:00
..
function_call
console.js benchmark: reformat code for clarity 2016-11-27 21:51:09 -08:00
freelist.js benchmark: allow benchmarks to specify flags 2017-01-04 22:45:34 +08:00
object-property-bench.js benchmark: add benchmark for object properties 2017-01-27 13:00:42 +01:00
punycode.js benchmark: move punycode benchmark out of net 2017-01-05 02:41:22 -05:00
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 benchmark: make v8-bench.js output consistent 2016-09-26 17:23:49 +02:00