Skip to content
Permalink
Browse files

Add max_memory to benchmark page

  • Loading branch information...
ry committed Apr 14, 2019
1 parent a7630c9 commit c096337bd83c759de8018400371b5babd41a9079
Showing with 14 additions and 0 deletions.
  1. +6 −0 website/app.js
  2. +8 −0 website/benchmarks.html
@@ -50,6 +50,10 @@ export function createMaxLatencyColumns(data) {
return createColumns(data, "max_latency");
}

export function createMaxMemoryColumns(data) {
return createColumns(data, "max_memory");
}

export function createBinarySizeColumns(data) {
const propName = "binary_size";
const binarySizeNames = Object.keys(data[data.length - 1][propName]);
@@ -203,6 +207,7 @@ export async function drawChartsFromBenchmarkData(dataUrl) {
const throughputColumns = createThroughputColumns(data);
const reqPerSecColumns = createReqPerSecColumns(data);
const maxLatencyColumns = createMaxLatencyColumns(data);
const maxMemoryColumns = createMaxMemoryColumns(data);
const binarySizeColumns = createBinarySizeColumns(data);
const threadCountColumns = createThreadCountColumns(data);
const syscallCountColumns = createSyscallCountColumns(data);
@@ -231,6 +236,7 @@ export async function drawChartsFromBenchmarkData(dataUrl) {
gen("#throughput-chart", throughputColumns, "seconds", logScale);
gen("#req-per-sec-chart", reqPerSecColumns, "1000 req/sec", formatReqSec);
gen("#max-latency-chart", maxLatencyColumns, "milliseconds", logScale);
gen("#max-memory-chart", maxMemoryColumns, "megabytes");
gen("#binary-size-chart", binarySizeColumns, "megabytes", formatMB);
gen("#thread-count-chart", threadCountColumns, "threads");
gen("#syscall-count-chart", syscallCountColumns, "syscalls");
@@ -125,6 +125,14 @@ <h3 id="max-latency">Max Latency <a href="#max-latency">#</a></h3>

<div id="max-latency-chart"></div>

<h3 id="max-memory">Max Memory Usage <a href="#max-memory">#</a></h3>

<p>
Max memory usage during execution. Smaller is better.
</p>

<div id="max-memory-chart"></div>

<h3 id="size">Executable size <a href="#size">#</a></h3>
<p>deno ships only a single binary. We track its size here.</p>
<div id="binary-size-chart"></div>

0 comments on commit c096337

Please sign in to comment.
You can’t perform that action at this time.