-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Buildkite: Add pipeline for nightly benchmark
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
stack bench cardano-wallet:restore --interleaved-output --ba "+RTS -N2 -qg -A1m -I0 -T -M1G -h -RTS" | ||
|
||
hp2pretty restore.hp | ||
|
||
if [ -n "${BUILDKITE:-}" ]; then | ||
buildkite-agent artifact upload restore.svg | ||
printf '\033]1338;url='"artifact://restore.svg"';alt='"Heap profile"'\a\n' | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
env: | ||
NIX_PATH: "channel:nixos-19.03" | ||
steps: | ||
- label: 'Restore benchmarks' | ||
command: "nix-shell -p nix git stack haskellPackages.hp2pretty buildkite-agent --run ./.buildkite/benchmark.sh" | ||
timeout_in_minutes: 60 | ||
agents: | ||
system: x86_64-linux |