File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -326,26 +326,29 @@ <h3>This may take a while!</h3>
326
326
let yAxis = "Value" ;
327
327
let yAxisUnit = null ;
328
328
if ( state . stat == "instructions:u" ) {
329
- yAxis = "Number of CPU instructions" ;
329
+ yAxis = "CPU instructions" ;
330
+ yAxisUnit = "count" ;
330
331
} else if ( state . stat == "cycles:u" ) {
331
- yAxis = "Number of CPU cycles" ;
332
+ yAxis = "CPU cycles" ;
333
+ yAxisUnit = "count" ;
332
334
} else if ( state . stat == "cpu-clock" ) {
333
- yAxis = "Wall time execution " ;
335
+ yAxis = "CPU time" ;
334
336
yAxisUnit = "seconds" ;
335
337
} else if ( state . stat == "wall-time" ) {
336
- yAxis = "Wall time execution " ;
338
+ yAxis = "Wall time" ;
337
339
yAxisUnit = "seconds" ;
338
340
} else if ( state . stat == "max-rss" ) {
339
341
yAxis = "Maximum resident set size" ;
340
- yAxisUnit = "kb " ;
342
+ yAxisUnit = "kB " ;
341
343
} else if ( state . stat == "faults" ) {
342
344
yAxis = "Faults" ;
345
+ yAxisUnit = "count" ;
343
346
}
344
347
345
348
if ( state . kind == "raw" && benchName == "Summary" ) {
346
349
yAxisUnit = "relative" ;
347
350
} else if ( state . kind == "percentfromfirst" ) {
348
- yAxisUnit = "% change from baseline " ;
351
+ yAxisUnit = "% change from first " ;
349
352
} else if ( state . kind == "percentrelative" ) {
350
353
yAxisUnit = "% change from previous" ;
351
354
}
You can’t perform that action at this time.
0 commit comments