Run performance benchmarks and create displays of those measurements.
High-level workflow:
Run performance benchmarks and create displays of those measurements. High-level workflow: 1. Set options. 2. Write benchmarks with [[defbench]]. 3. Run benchmarks with [[run-benchmarks]]. 4. Generate html document with [[generate-documents]].
(-main action)
(-main action explicit-options-filename)
Given keyword action
, runs a Fastester task with the following mappings:
:benchmarks
executes (run-benchmarks)
:documents
executes (generate-docs)
.Examples:
$ lein run :benchmarks
$ lein run :documents
Reads options from ./resources/fastester_options.edn
unless an options
filename is supplied.
Example:
$ lein run :benchmarks ./foobar_options.edn
Given keyword `action`, runs a Fastester task with the following mappings: * `:benchmarks` executes `(run-benchmarks)` * `:documents` executes `(generate-docs)`. Examples: ```bash $ lein run :benchmarks $ lein run :documents ``` Reads options from `./resources/fastester_options.edn` unless an options filename is supplied. Example: ```bash $ lein run :benchmarks ./foobar_options.edn ```
(run-benchmarks-and-generate-documents)
(run-benchmarks-and-generate-documents explicit-options-filename)
Run all benchmarks and generate an html document that displays comparisons to previous versions.
See [[run-benchmarks]] and [[generate-documents]].
Run all benchmarks and generate an html document that displays comparisons to previous versions. See [[run-benchmarks]] and [[generate-documents]].
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |