We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b058bb8 commit 8594a69Copy full SHA for 8594a69
README.md
@@ -55,13 +55,13 @@ To add and run a demo of **Glychee**:
55
import gleam/list
56
import glychee/benchmark
57
import glychee/configuration
58
-
+
59
pub fn main() {
60
// Configuration is optional
61
configuration.initialize()
62
configuration.set_pair(configuration.Warmup, 2)
63
configuration.set_pair(configuration.Parallel, 2)
64
65
// Run the benchmarks
66
benchmark.run(
67
[
@@ -73,8 +73,7 @@ To add and run a demo of **Glychee**:
73
benchmark.Data(label: "pre-sorted list", data: list.range(1, 100_000)),
74
benchmark.Data(
75
label: "reversed list",
76
- data: list.range(1, 100_000)
77
- |> list.reverse,
+ data: list.range(1, 100_000) |> list.reverse,
78
),
79
],
80
)
0 commit comments