Skip to content

Commit 550fdc8

Browse files
committed
chore: update chart02
1 parent f36df90 commit 550fdc8

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

scripts/build-chart02.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ import {
66
} from "./lib/bench-utils";
77

88
const PAYLOADS: Record<string, string> = {
9-
abc: "Alphabet (104b)",
10-
vec3: "3D Vector (38b)",
11-
small: "Small Payload (88b)",
12-
medium: "Medium Payload (2.1kb)",
13-
large: "Large Payload (10.5kb)"
9+
abc: "Alphabet\n (104b)",
10+
uuidv4: "UUIDv4\n (72b)",
11+
vec3: "3D Vector\n (38b)",
12+
small: "Small Payload\n (216b)",
13+
medium: "Medium Payload\n (2.1kb)",
14+
large: "Large Payload\n (10.5kb)"
1415
};
1516

1617
const KIND: BenchKind = "deserialize";
@@ -27,7 +28,7 @@ for (const payload of Object.keys(PAYLOADS)) {
2728
const config = createBarChart(chartData, PAYLOADS, {
2829
title: "Deserialization Performance",
2930
yLabel: "Throughput (MB/s)",
30-
xLabel: "Payload",
31+
xLabel: "",
3132
datasetLabels: [
3233
"Built-in JSON (JS)",
3334
"JSON-AS (NAIVE)",

0 commit comments

Comments
 (0)