0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/benchmark/util
Anatoli Papirovski b04d0921ae
util: improve spliceOne perf
Do less variable allocations and reassignments inside spliceOne
since it's relied on by some performance sensitive code.

PR-URL: https://github.com/nodejs/node/pull/20453
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2018-05-03 14:47:17 +02:00
..
format.js benchmark: refactor 2018-02-01 10:49:04 +01:00
inspect-array.js benchmark: refactor 2018-02-01 10:49:04 +01:00
inspect-proxy.js benchmark: improve and add more inspect benchmarks 2017-09-14 21:46:25 -03:00
inspect.js util: use faster -0 check 2017-10-04 03:51:44 -04:00
normalize-encoding.js benchmark: (util/v8/vm) use destructuring 2018-01-23 01:29:17 +01:00
splice-one.js util: improve spliceOne perf 2018-05-03 14:47:17 +02:00
type-check.js benchmark: (util/v8/vm) use destructuring 2018-01-23 01:29:17 +01:00