char/examples/basic/benchmark.sh
2022-11-02 22:10:15 +01:00

22 lines
245 B
Bash
Executable File

#!/bin/bash
set -e
go build -o char ../../main.go
function devcharls() {
CHAR_DEV_MODE=true ./char ls 2&> /dev/null
}
function charls() {
./char ls 2&> /dev/null
}
echo "scratch"
time devcharls
echo ""
echo "ready"
time charls
echo ""