Reduced memory usage

This commit is contained in:
Eduard Urbach 2024-06-20 11:29:39 +02:00
parent 8260839427
commit e6ae755e60
Signed by: eduard
GPG key ID: 49226B848C78F6C8
2 changed files with 9 additions and 3 deletions

View file

@ -21,3 +21,11 @@ func BenchmarkExpressions(b *testing.B) {
compiler.Run()
}
}
func BenchmarkHello(b *testing.B) {
compiler := build.New("examples/hello")
for i := 0; i < b.N; i++ {
compiler.Run()
}
}