github.com/kintar/etxt@v0.0.9/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 "^[^?]"