There was an error while loading. Please reload this page.
1 parent f36df90 commit 550fdc8Copy full SHA for 550fdc8
1 file changed
scripts/build-chart02.ts
@@ -6,11 +6,12 @@ import {
6
} from "./lib/bench-utils";
7
8
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)"
+ abc: "Alphabet\n (104b)",
+ uuidv4: "UUIDv4\n (72b)",
+ vec3: "3D Vector\n (38b)",
+ small: "Small Payload\n (216b)",
+ medium: "Medium Payload\n (2.1kb)",
14
+ large: "Large Payload\n (10.5kb)"
15
};
16
17
const KIND: BenchKind = "deserialize";
@@ -27,7 +28,7 @@ for (const payload of Object.keys(PAYLOADS)) {
27
28
const config = createBarChart(chartData, PAYLOADS, {
29
title: "Deserialization Performance",
30
yLabel: "Throughput (MB/s)",
- xLabel: "Payload",
31
+ xLabel: "",
32
datasetLabels: [
33
"Built-in JSON (JS)",
34
"JSON-AS (NAIVE)",
0 commit comments