Skip to content

Commit

Permalink
Arch specific baselines (#19)
Browse files Browse the repository at this point in the history
have multiple baselines for different hardware
  • Loading branch information
tayloraswift authored Jun 5, 2024
1 parent 095c127 commit 6f27073
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions ExternalBenchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ To run the benchmarks, invoke the following command:
## Baselines

The baselines are set by commit hash (first 8 hex characters) or (in the future) tag with this work in place.
The initial baseline is `bdb4ef08`.
The initial baseline is `bdb4ef08.{aarch64, x86_64}`.
It builds on the tag `1.0.0` with updates to dependencies and Swift versions and no functional code changes.

```bash
swift package --allow-writing-to-package-directory benchmark baseline update bdb4ef08
swift package --allow-writing-to-package-directory benchmark baseline update bdb4ef08.aarch64
```

To compare current development branch against this baseline, run the following command from this sub-project in the terminal:

```bash
swift package benchmark baseline compare bdb4ef08
swift package benchmark baseline compare bdb4ef08.aarch64
```

The output defaults to plain text. If you'd like markdown output, for pasting into a pull request, add `--format markdown` to the command.
Expand All @@ -41,6 +41,6 @@ swift package benchmark baseline check --check-absolute

### Stored Baselines

`bdb4ef08`: M1 macbook pro, 16GB ram, running only iTerm2

`bdb4ef08.aarch64`: 8 'arm64' processors with 16 GB memory (M1 macbook pro)

`bdb4ef08.x86_64`: 12 'x86_64' processors with 30 GB memory (Dell precision 5530)

0 comments on commit 6f27073

Please sign in to comment.