diff --git a/web/src/components/result_summary.vue b/web/src/components/result_summary.vue
index 0d9e1db..a446b56 100644
--- a/web/src/components/result_summary.vue
+++ b/web/src/components/result_summary.vue
@@ -5,7 +5,7 @@
-
{{ Math.floor(summary.throughput) }}
+
{{ setThousandSeparator(Math.floor(summary.throughput)) }}
response / seconds
@@ -16,7 +16,7 @@
@@ -63,13 +63,13 @@
@@ -114,6 +114,9 @@ export default {
const i = Math.floor(Math.log(bytes) / Math.log(k));
return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i];
+ },
+ setThousandSeparator(value){
+ return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
}
}