package expression_test import ( "testing" "git.akyoto.dev/cli/q/src/build/expression" "git.akyoto.dev/cli/q/src/build/token" ) func BenchmarkExpression(b *testing.B) { src := []byte("(1+2-3*4)+(5*6-7+8)") tokens := token.Tokenize(src) for i := 0; i < b.N; i++ { expr := expression.Parse(tokens) expr.Close() } }