We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d205bc9 commit 2d7c52dCopy full SHA for 2d7c52d
benchmark/common.js
@@ -268,7 +268,7 @@ function formatResult(data) {
268
conf += ` ${key}=${JSON.stringify(data.conf[key])}`;
269
}
270
271
- var rate = data.rate.toString().split('.');
+ let rate = data.rate.toString().split('.');
272
rate[0] = rate[0].replace(/(\d)(?=(?:\d\d\d)+(?!\d))/g, '$1,');
273
rate = (rate[1] ? rate.join('.') : rate[0]);
274
return `${data.name}${conf}: ${rate}`;
0 commit comments