graph log:
./bin/graph $1
flamegraph dir=`git branch --show-current`:
./bin/flamegraph $1
benchmark index height-limit:
./bin/benchmark $1 $2
benchmark-revision rev:
ssh [email protected] "mkdir -p benchmark \
&& apt-get update --yes \
&& apt-get upgrade --yes \
&& apt-get install --yes git rsync"
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}}
cargo build --release
time ./target/release/ord --index {{branch}}.redb index update
ll {{branch}}.redb
build-snapshots:
#!/usr/bin/env bash
set -euxo pipefail
rm -rf tmp/snapshots
mkdir -p tmp/snapshots
cargo build --release
cp ./target/release/ord tmp/snapshots
cd tmp/snapshots
for start in {0..750000..50000}; do
Inscription number 44,983,129
Genesis block 819,059
File type text
File size 1.02 KB
Creation date Nov 30,2023 1:34 am