v8 perf
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
6.11.08.1.3master - 9.0.0-pre
master - 9.0.0-pre https://github.com/nodejs/node/pull/14004 (47e6cb5f9f1)
node-v8 - 9.0.0-preNOTED OPTIMIZATIONS
2
historical assertionbench5.1.281.1025.8.283.415.9.211.376.0.286.456.1.361
3
if the arguments object is exposed from a function, the function is slowerarguments.jsarguments object
4
bind is slow compared to partial applicationcurrying.jsbind
5
debugger statement significantly slows code downdebugger.js
6
setting properties to undefined is faster than removing them with deleteproperty-removal.jsdelete
7
for-in is the fastest way to loop over object keys, by a significant marginobject-iteration.jsObject.keys (6.1+)
8
if the function char count (inc whitespace & comments) exceeds a threshold it will be slower
function-size.jsfunction size not a killer
9
functions handling numbers in the 32bit range are faster than those in the 32-64bit range
numbers.js
10
alternating input types is slower than inputting the same typepolymorphic.js
11
returning alternating object instances is slower than returning objects of the same instance
return-object-types.js
12
returning alternating primitive types is slower than always returning the same type
return-primitive-types.js
number adding , monomorphic AND polymorphic return values (6.1)
13
try catch is slowtry-catch.jstry/catch
14
15
16
17
indicates revised behavior (not a killer anymore OR no longer fast as expected - case depending)
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
 
 
 
assertions
outputs
fastest
arguments
currying
debugger
object iteration
property removal
function size
numbers
input type consistency-variance
polymorphic vs monomorphic
object return type consistency/variance
object creation
object creation inlining
primitive return type consistency/variance
try-catch