(b *testing.B)
| 136 | |
| 137 | func BenchmarkSort(b *testing.B) { benchmarkSort(b, "table.sort(a)") } |
| 138 | func BenchmarkSort2(b *testing.B) { |
| 139 | benchmarkSort(b, "i = 0; table.sort(a, function(x,y) i=i+1; return y<x end)") |
| 140 | } |
| 141 | |
| 142 | func BenchmarkFibonnaci(b *testing.B) { |
| 143 | l := NewState() |
nothing calls this directly
no test coverage detected