babashka / pgo-profiles

This repo stores pgo profiles to optimize babashka

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pgo-profiles

The default.iprof file is made as follows:

script/uberjar && script/compile --pgo-instrument
./bb -e '(time (loop [val 0 cnt 100000000] (if (pos? cnt) (recur (inc val) (dec cnt)) val)))'

Then this default.iprof file is uploaded to Github releases and used over multiple builds.

This speeds up the loop example with about 2-3x.

About

This repo stores pgo profiles to optimize babashka