Reduced memory usage
This commit is contained in:
parent
8260839427
commit
e6ae755e60
2 changed files with 9 additions and 3 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue