Parse command line args to benchmarks.clj and treat them as benchmark names to run Add information on running benchmarks to DEVELOPER.md
25 lines
439 B
Markdown
25 lines
439 B
Markdown
# Running Clojure tests
|
|
|
|
```
|
|
lein do clean, test
|
|
```
|
|
|
|
# Running ClojureScript tests
|
|
|
|
```
|
|
lein javac
|
|
lein doo node test-build once
|
|
```
|
|
|
|
# Running benchmarks
|
|
## All benchmarks
|
|
```
|
|
scripts/run-benchmarks
|
|
```
|
|
## Individual benchmark(s)
|
|
Specify the benchmark names as command line args. They will likely each need quoted because they contain spaces.
|
|
Order is ignored.
|
|
```
|
|
scripts/run-benchmarks "prepend to a vector" "filter a sequence"
|
|
```
|
|
|