-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run compile benchmark for 2023 (#778)
A good improvement, though this is entirely unscientific: I'm running a better machine now than I was when I made the last benchmark.
- Loading branch information
Showing
4 changed files
with
202 additions
and
57 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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#!/bin/bash | ||
|
||
cd github-query | ||
cargo build | ||
cargo build | ||
cargo build --release | ||
|
||
GIT_SHA=$(git show -s --format=%H) | ||
RUST_VERSION=$(rustc --version | cut -f2 -d" ") | ||
DATE=$(date +%F) | ||
|
||
hyperfine --export-json "../timings/github-query/$DATE.$GIT_SHA.$RUST_VERSION.debug.json" -p "cargo clean -p queries" "cargo build -p queries" | ||
hyperfine --export-json "../timings/github-query/$DATE.$GIT_SHA.$RUST_VERSION.release.json" -p "cargo clean --release -p queries" "cargo build --release -p queries" | ||
hyperfine --export-json "../timings/github-query/$DATE.$GIT_SHA.$RUST_VERSION.debug.json" -p "cargo clean -p queries" "cargo build -p queries" | ||
hyperfine --export-json "../timings/github-query/$DATE.$GIT_SHA.$RUST_VERSION.release.json" -p "cargo clean --release -p queries" "cargo build --release -p queries" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
...imings/github-query/2023-09-16.b38c2abbc94a7d58f0aa0263704cb4f4d030dba9.1.69.0.debug.json
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,38 @@ | ||
{ | ||
"results": [ | ||
{ | ||
"command": "cargo build -p queries", | ||
"mean": 3.27100157684, | ||
"stddev": 0.0154975782731916, | ||
"median": 3.26954712224, | ||
"user": 3.216265, | ||
"system": 0.25231842000000004, | ||
"min": 3.24614587324, | ||
"max": 3.29536862224, | ||
"times": [ | ||
3.29168945624, | ||
3.27228628924, | ||
3.24614587324, | ||
3.26873212324, | ||
3.26901520524, | ||
3.29536862224, | ||
3.24970528924, | ||
3.26878291424, | ||
3.27821095624, | ||
3.27007903924 | ||
], | ||
"exit_codes": [ | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0 | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.