github.com/Kintar/etxt@v0.0.0-20221224033739-2fc69f000137/run_benchmarks.sh (about) 1 #!/bin/bash 2 3 # Notice: requires a test_font.ttf file in etxt/ 4 # (any normal font will work) 5 go test -bench=. ./... -tags gtxt | grep "^[^?]" 6 7 # You may also use -benchmem 8 # go test -bench=. ./... -tags gtxt -benchmem | grep "^[^?]"