JuliaStats / GLM.jl

Generalized linear models in Julia
Other
584 stars 114 forks source link

Add `PerfChecker.jl` to evaluate library performance for every version #519

Closed Ashvith10 closed 6 months ago

Ashvith10 commented 1 year ago

PerfChecker can be quite helpful in evaluating the performance changes between different versions, and perhaps hint towards optimizing parts of the package. I can push a PR where I would appreciate getting some help on improving the allocation and benchmark script - for now, I am making use of the default code snippet inside perf/glm.jl.

I've run tests for a few versions below:

Allocation visualization

mallocs-1 8 2 mallocs-1 8 1 mallocs-1 8 0 mallocs-1 7 0 mallocs-1 6 2 mallocs-1 6 1 mallocs-evolutions

Benchmark visualization

benchmark-times benchmark-memory benchmark-allocs benchmark-gctimes benchmark-evolutions