-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbenchmark_iterator_test.go
More file actions
47 lines (35 loc) · 1.06 KB
/
benchmark_iterator_test.go
File metadata and controls
47 lines (35 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package gtree_test
import (
"testing"
tu "github.com/ddddddO/gtree/testutil"
)
func BenchmarkOutput_iterator_singleRoot(b *testing.B) {
tu.BaseBenchmark(b, tu.SingleRoot)
}
func BenchmarkOutput_iterator_tenRoots(b *testing.B) {
tu.BaseBenchmark(b, tu.TenRoots)
}
func BenchmarkOutput_iterator_fiftyRoots(b *testing.B) {
tu.BaseBenchmark(b, tu.FiftyRoots)
}
func BenchmarkOutput_iterator_hundredRoots(b *testing.B) {
tu.BaseBenchmark(b, tu.HundredRoots)
}
func BenchmarkOutput_iterator_fiveHundredsRoots(b *testing.B) {
tu.BaseBenchmark(b, tu.FiveHundredsRoots)
}
func BenchmarkOutput_iterator_thousandRoots(b *testing.B) {
tu.BaseBenchmark(b, tu.ThousandRoots)
}
func BenchmarkOutput_iterator_3000Roots(b *testing.B) {
tu.BaseBenchmark(b, tu.ThreeThousandRoots)
}
func BenchmarkOutput_iterator_6000Roots(b *testing.B) {
tu.BaseBenchmark(b, tu.SixThousandRoots)
}
func BenchmarkOutput_iterator_10000Roots(b *testing.B) {
tu.BaseBenchmark(b, tu.TenThousandRoots)
}
func BenchmarkOutput_iterator_20000Roots(b *testing.B) {
tu.BaseBenchmark(b, tu.TwentyThousandRoots)
}