Skip to content

totakke/clj-perf-tips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Clojure Performance Tips

  1. Type hints (clj-perf-tips.t01-type-hint)
  2. Primitive hints (clj-perf-tips.t02-primitive-hint)
  3. Transient (clj-perf-tips.t03-transient)
  4. Loop/recur (clj-perf-tips.t04-loop-recur)
  5. Const (clj-perf-tips.t05-const-var)
  6. Multimethods vs. Protocol (clj-perf-tips.t06-multi-protocol)
  7. Memoize (clj-perf-tips.t07-memoize)
  8. Concurrency (clj-perf-tips.t08-concurrent)
  9. Calculation order of data types (clj-perf-tips.t09-data-calc-order)
  10. Map vs. Record (clj-perf-tips.t10-map-record)
  11. Flatten in various ways (clj-perf-tips.t11-flatten)
  12. 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

Releases

No releases published

Packages

No packages published