Skip to content

Commit

Permalink
add just bench target
Browse files Browse the repository at this point in the history
  • Loading branch information
gngeorgiev committed Nov 21, 2021
1 parent e744ba7 commit 2cd8012
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,7 @@ cargo install just && just setup
To run the benchmarks populating the next point run:

```shell
pushd bench
bash gen.sh
cat combined.txt
popd
just bench
```

This shell script collects some ranges from random npm packages and compares the results for the three implementations -
Expand Down
9 changes: 8 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@ watch-test:
bacon test-all

test:
cargo test --all-features
cargo test --all-features

bench:
#!/usr/bin/env bash
pushd bench
bash gen.sh
cat combined.txt
popd

0 comments on commit 2cd8012

Please sign in to comment.