https://github.com/babashka/pgo-profiles
This repo stores pgo profiles to optimize babashka
https://github.com/babashka/pgo-profiles
Last synced: 4 months ago
JSON representation
This repo stores pgo profiles to optimize babashka
- Host: GitHub
- URL: https://github.com/babashka/pgo-profiles
- Owner: babashka
- Created: 2023-09-27T11:23:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T13:34:12.000Z (over 2 years ago)
- Last Synced: 2025-06-18T17:07:34.473Z (12 months ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.