We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b188b3c commit 54c6219Copy full SHA for 54c6219
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