File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1013,7 +1013,10 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
1013
1013
1014
1014
let end = commit . commit ;
1015
1015
return `/index.html?start=${ start } &end=${ end } &benchmark=${ testCase . benchmark } &profile=${ testCase . profile } &scenario=${ testCase . scenario } &stat=${ stat } ` ;
1016
- }
1016
+ } ,
1017
+ prettifyRawNumber ( number ) {
1018
+ return number . toLocaleString ( ) ;
1019
+ } ,
1017
1020
} ,
1018
1021
template : `
1019
1022
<div class="bench-table">
@@ -1071,12 +1074,12 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
1071
1074
</td>
1072
1075
<td v-if="showRawData" class="numeric">
1073
1076
<a v-bind:href="detailedQueryLink(commitA, testCase)">
1074
- <abbr :title="testCase.datumA">{{ testCase.datumA.toFixed(2 ) }}</abbr>
1077
+ <abbr :title="testCase.datumA">{{ prettifyRawNumber( testCase.datumA) }}</abbr>
1075
1078
</a>
1076
1079
</td>
1077
1080
<td v-if="showRawData" class="numeric">
1078
1081
<a v-bind:href="detailedQueryLink(commitB, testCase)">
1079
- <abbr :title="testCase.datumB">{{ testCase.datumB.toFixed(2 ) }}</abbr>
1082
+ <abbr :title="testCase.datumB">{{ prettifyRawNumber( testCase.datumB) }}</abbr>
1080
1083
</a>
1081
1084
</td>
1082
1085
</tr>
You can’t perform that action at this time.
0 commit comments