Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.69 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.69 KB

Catwalk.jl

DOI DOI

Documentation CI Lifecycle ColPrac: Contributor Guide on Collaborative Practices for Community Packages

Catwalk.jl can speed up long-running Julia processes by minimizing the overhead of dynamic dispatch. It is a JIT compiler that continuosly re-optimizes dispatch code based on data collected at runtime.

Speedup demo source code of this test

It profiles user-specified call sites, estimating the distribution of dynamically dispatched types during runtime, and generates fast static routes for the most frequent ones on the fly.

The statistical profiler has very low overhead and can be configured to handle situations where the distribution of dispatched types changes relatively fast.

To minimize compilation overhead, recompilation only occurs when the distribution changed enough and the tunable cost model predicts significant speedup compared to the best version that was previously compiled.

Documentation (dev)