Add % to cache hit table

This commit is contained in:
Thomas Forbes
2024-05-12 22:05:24 +01:00
parent 2f1ba39e7a
commit ab76965574
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -128,7 +128,7 @@ function format_json_stats(stats: Stats): {
const notice = `${ratio}% - ${cache_hit_count} hits, ${cache_miss_count} misses, ${cache_error_count} errors`;
const table = [
[{data: 'Cache hit %', header: true}, {data: ratio.toString()}],
[{data: 'Cache hit %', header: true}, {data: `${ratio}%`}],
[{data: 'Cache hits', header: true}, {data: cache_hit_count.toString()}],
[{data: 'Cache misses', header: true}, {data: cache_miss_count.toString()}],
[