~asayers/livesort

ref: ac147be10797b9d4484cfdeb575eaa93026860e5 livesort/bench.sh -rwxr-xr-x 254 bytes
ac147be1Alex Sayers Upgrade to liveterm 0.2 8 months ago
                                                                                
1
2
3
4
5
6
7
8
#!/bin/bash -eu
cargo b --release
export LC_ALL=C
FILE=Cargo.lock
livesort="./target/release/livesort -c <$FILE"
sort="sort <$FILE | uniq -c"
cmp <(eval $livesort) <(eval $sort) && echo "sanity check ok" >&2
cbdr sample "livesort:$livesort" "sort:$sort"