@@ -25,7 +25,7 @@ const {
25
25
NODE_PERFORMANCE_MILESTONE_LOOP_START ,
26
26
NODE_PERFORMANCE_MILESTONE_LOOP_EXIT ,
27
27
NODE_PERFORMANCE_MILESTONE_BOOTSTRAP_COMPLETE ,
28
- NODE_PERFORMANCE_MILESTONE_ENVIRONMENT
28
+ NODE_PERFORMANCE_MILESTONE_ENVIRONMENT ,
29
29
} ,
30
30
loopIdleTime,
31
31
} = internalBinding ( 'performance' ) ;
@@ -37,28 +37,28 @@ class PerformanceNodeTiming {
37
37
__proto__ : null ,
38
38
enumerable : true ,
39
39
configurable : true ,
40
- value : 'node'
40
+ value : 'node' ,
41
41
} ,
42
42
43
43
entryType : {
44
44
__proto__ : null ,
45
45
enumerable : true ,
46
46
configurable : true ,
47
- value : 'node'
47
+ value : 'node' ,
48
48
} ,
49
49
50
50
startTime : {
51
51
__proto__ : null ,
52
52
enumerable : true ,
53
53
configurable : true ,
54
- value : 0
54
+ value : 0 ,
55
55
} ,
56
56
57
57
duration : {
58
58
__proto__ : null ,
59
59
enumerable : true ,
60
60
configurable : true ,
61
- get : now
61
+ get : now ,
62
62
} ,
63
63
64
64
nodeStart : {
@@ -67,7 +67,7 @@ class PerformanceNodeTiming {
67
67
configurable : true ,
68
68
get ( ) {
69
69
return getMilestoneTimestamp ( NODE_PERFORMANCE_MILESTONE_NODE_START ) ;
70
- }
70
+ } ,
71
71
} ,
72
72
73
73
v8Start : {
@@ -76,7 +76,7 @@ class PerformanceNodeTiming {
76
76
configurable : true ,
77
77
get ( ) {
78
78
return getMilestoneTimestamp ( NODE_PERFORMANCE_MILESTONE_V8_START ) ;
79
- }
79
+ } ,
80
80
} ,
81
81
82
82
environment : {
@@ -85,7 +85,7 @@ class PerformanceNodeTiming {
85
85
configurable : true ,
86
86
get ( ) {
87
87
return getMilestoneTimestamp ( NODE_PERFORMANCE_MILESTONE_ENVIRONMENT ) ;
88
- }
88
+ } ,
89
89
} ,
90
90
91
91
loopStart : {
@@ -94,7 +94,7 @@ class PerformanceNodeTiming {
94
94
configurable : true ,
95
95
get ( ) {
96
96
return getMilestoneTimestamp ( NODE_PERFORMANCE_MILESTONE_LOOP_START ) ;
97
- }
97
+ } ,
98
98
} ,
99
99
100
100
loopExit : {
@@ -103,7 +103,7 @@ class PerformanceNodeTiming {
103
103
configurable : true ,
104
104
get ( ) {
105
105
return getMilestoneTimestamp ( NODE_PERFORMANCE_MILESTONE_LOOP_EXIT ) ;
106
- }
106
+ } ,
107
107
} ,
108
108
109
109
bootstrapComplete : {
@@ -113,15 +113,15 @@ class PerformanceNodeTiming {
113
113
get ( ) {
114
114
return getMilestoneTimestamp (
115
115
NODE_PERFORMANCE_MILESTONE_BOOTSTRAP_COMPLETE ) ;
116
- }
116
+ } ,
117
117
} ,
118
118
119
119
idleTime : {
120
120
__proto__ : null ,
121
121
enumerable : true ,
122
122
configurable : true ,
123
123
get : loopIdleTime ,
124
- }
124
+ } ,
125
125
} ) ;
126
126
}
127
127
@@ -130,7 +130,7 @@ class PerformanceNodeTiming {
130
130
131
131
const opts = {
132
132
...options ,
133
- depth : options . depth == null ? null : options . depth - 1
133
+ depth : options . depth == null ? null : options . depth - 1 ,
134
134
} ;
135
135
136
136
return `PerformanceNodeTiming ${ inspect ( this . toJSON ( ) , opts ) } ` ;
0 commit comments