Skip to content

Commit

Permalink
use gleam syntax highlighting in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
schurhammer committed Dec 4, 2023
1 parent c415008 commit 2753d7c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ A library for benchmarking gleam code.

# How To

```rust
```gleam
import gleamy/bench
...
// ...
bench.run(
[
Expand All @@ -22,7 +22,6 @@ bench.run(
)
|> bench.table([bench.IPS, bench.Min, bench.P(99)])
|> io.println()

```

A benchmark is defined by giving a list of inputs and a list of functions to run on those inputs. Each input + function combination will be timed.
Expand Down

0 comments on commit 2753d7c

Please sign in to comment.