-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use sequence numbers as database keys
- Loading branch information
Showing
34 changed files
with
753 additions
and
911 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 |
---|---|---|
|
@@ -162,6 +162,18 @@ benchmark-revision rev: | |
rsync -avz benchmark/checkout [email protected]:benchmark/checkout | ||
ssh [email protected] 'cd benchmark && ./checkout {{rev}}' | ||
|
||
benchmark-branch branch: | ||
#/usr/bin/env bash | ||
rm -f master.redb | ||
rm -f {{branch}}.redb | ||
git checkout master | ||
cargo build --release | ||
time ./target/release/ord --index master.redb index update | ||
ll master.redb | ||
git checkout {{branch}} | ||
time ./target/release/ord --index {{branch}}.redb index update | ||
ll {{branch}}.redb | ||
|
||
build-snapshots: | ||
#!/usr/bin/env bash | ||
set -euxo pipefail | ||
|
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
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
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
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
Oops, something went wrong.