- Type hints (
clj-perf-tips.t01-type-hint
) - Primitive hints (
clj-perf-tips.t02-primitive-hint
) - Transient (
clj-perf-tips.t03-transient
) - Loop/recur (
clj-perf-tips.t04-loop-recur
) - Const (
clj-perf-tips.t05-const-var
) - Multimethods vs. Protocol (
clj-perf-tips.t06-multi-protocol
) - Memoize (
clj-perf-tips.t07-memoize
) - Concurrency (
clj-perf-tips.t08-concurrent
) - Calculation order of data types (
clj-perf-tips.t09-data-calc-order
) - Map vs. Record (
clj-perf-tips.t10-map-record
) - Flatten in various ways (
clj-perf-tips.t11-flatten
) - Transducers (
clj-perf-tips.t12-transducers
)
To run a benchmark,
$ lein libra :only clj-perf-tips.t01-type-hint
To run all benchmarks,
$ lein libra