Skip to content

Commit

Permalink
mk
Browse files Browse the repository at this point in the history
  • Loading branch information
asg0451 committed Mar 18, 2024
1 parent ea41130 commit 47974e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified default.pgo
Binary file not shown.
4 changes: 2 additions & 2 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
set -euo pipefail

echo 'Building...'
go build -o bin/ .
go build -o bin/1brc .

echo 'Running...'
GOGC=off ./bin/1brc >/dev/null # warm cache
GOGC=off ./bin/1brc -cpuprofile default.pgo >/dev/null

echo 'Building with pgo...'
go build -o bin/ . # build again with pgo
go build -o bin/1brc . # build again with pgo

0 comments on commit 47974e7

Please sign in to comment.