summaryrefslogtreecommitdiff
path: root/website/app.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-01-30 14:01:13 -0500
committerGitHub <noreply@github.com>2019-01-30 14:01:13 -0500
commitb9e368cb4c24a8fb52d151c2d80288642433156d (patch)
tree810551997211f24a793352cef02ae041090a2167 /website/app.js
parent514b7d335977eda1b7b110d3ad5f9f93ac60af5b (diff)
Add snapshot_compiler.bin to binary size benchmark (#1611)
Diffstat (limited to 'website/app.js')
-rw-r--r--website/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/website/app.js b/website/app.js
index 359fbf1ae..b1bce55aa 100644
--- a/website/app.js
+++ b/website/app.js
@@ -98,7 +98,7 @@ export function createSha1List(data) {
}
export function formatMB(bytes) {
- return Math.round(bytes / (1024 * 1024));
+ return (bytes / (1024 * 1024)).toFixed(2);
}
export function formatReqSec(reqPerSec) {