aboutsummaryrefslogtreecommitdiff
path: root/examples-perf
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2025-01-01 01:39:18 +0000
committerMichael Williamson <mike@zwobble.org>2025-01-01 09:45:58 +0000
commitb65c719e2b65a9662b6170b0b53dfed9f1a3edcd (patch)
tree6700b1a717d01a83b644dd06eb508e12a43b492c /examples-perf
parent0df6725da8a0953c5643c5692c5244826e448d09 (diff)
Use JSON5 instead of TOML for config
Diffstat (limited to 'examples-perf')
-rw-r--r--examples-perf/01-fibonacci/shed.json528
-rw-r--r--examples-perf/01-fibonacci/shed.toml21
2 files changed, 28 insertions, 21 deletions
diff --git a/examples-perf/01-fibonacci/shed.json5 b/examples-perf/01-fibonacci/shed.json5
new file mode 100644
index 00000000..22161a5e
--- /dev/null
+++ b/examples-perf/01-fibonacci/shed.json5
@@ -0,0 +1,28 @@
+{
+ bins: [
+ {
+ name: "fibonacci",
+ mainNamespace: "Fibonacci",
+ },
+ ],
+ examples: [
+ {
+ bin: "fibonacci",
+ expectedOutput: "success",
+ },
+ ],
+ "profiles": [
+ {
+ name: "gc-bump",
+ gc: {name: "bump"},
+ },
+ {
+ name: "gc-mark-and-sweep",
+ gc: {name: "mark-and-sweep", collectInterval: 10000},
+ },
+ {
+ name: "gc-mark-and-sweep-always-collect",
+ gc: {name: "mark-and-sweep", collectInterval: 1},
+ }
+ ],
+}
diff --git a/examples-perf/01-fibonacci/shed.toml b/examples-perf/01-fibonacci/shed.toml
deleted file mode 100644
index 68dcaf5a..00000000
--- a/examples-perf/01-fibonacci/shed.toml
+++ /dev/null
@@ -1,21 +0,0 @@
-[[shed.bins]]
-name = "fibonacci"
-main-namespace = "Fibonacci"
-
-[[shed.examples]]
-bin = "fibonacci"
-expected-output = "success"
-
-[[shed.profiles]]
-name = "gc-bump"
-gc.name = "bump"
-
-[[shed.profiles]]
-name = "gc-mark-and-sweep"
-gc.name = "mark-and-sweep"
-gc.collect-interval = 10000
-
-[[shed.profiles]]
-name = "gc-mark-and-sweep-always-collect"
-gc.name = "mark-and-sweep"
-gc.collect-interval = 1