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]].
Define benchmarks.
Benchmarks are typically defined in a dedicated namespace, akin to defining unit tests.
Define benchmarks. Benchmarks are typically defined in a dedicated namespace, akin to defining unit tests.
Generate html documents with charts and tables, communicating objective performance changes across versions.
See fastester.measure for utilities to run the benchmarks and save the
performance data.
Generate html documents with charts and tables, communicating objective performance changes across versions. See [[fastester.measure]] for utilities to run the benchmarks and save the performance data.
Define and run benchmarks that objectively measure a function's evaluation time.
The general idea is to run the benchmark suite once per release. Any performance improvement/regression is objectively measured and included in the changelog/release notes.
The Criterium library does all the actual performance measurements.
See fastester.display for utilities that generate an html document with
charts and tables that communicate those results.
Define and run benchmarks that objectively measure a function's evaluation time. The general idea is to run the benchmark suite once per release. Any performance improvement/regression is objectively measured and included in the changelog/release notes. The [Criterium](https://github.com/hugoduncan/criterium/) library does all the actual performance measurements. See [[fastester.display]] for utilities that generate an html document with charts and tables that communicate those results.
Options that govern how Fastester works.
Options are supplied by an edn file containing a hashmap.
Note: There are no user-facing functions in this namespace.
Options that govern how Fastester works. Options are supplied by an `edn` file containing a hashmap. Note: There are no user-facing functions in this namespace.
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 |