-
Notifications
You must be signed in to change notification settings - Fork 8
/
benchmark_pipeline_test.go
47 lines (35 loc) · 1.14 KB
/
benchmark_pipeline_test.go
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_pipeline_singleRoot(b *testing.B) {
tu.BenchmarkWithMassive(b, tu.SingleRoot)
}
func BenchmarkOutput_pipeline_tenRoots(b *testing.B) {
tu.BenchmarkWithMassive(b, tu.TenRoots)
}
func BenchmarkOutput_pipeline_fiftyRoots(b *testing.B) {
tu.BenchmarkWithMassive(b, tu.FiftyRoots)
}
func BenchmarkOutput_pipeline_hundredRoots(b *testing.B) {
tu.BenchmarkWithMassive(b, tu.HundredRoots)
}
func BenchmarkOutput_pipeline_fiveHundredsRoots(b *testing.B) {
tu.BenchmarkWithMassive(b, tu.FiveHundredsRoots)
}
func BenchmarkOutput_pipeline_thousandRoots(b *testing.B) {
tu.BenchmarkWithMassive(b, tu.ThousandRoots)
}
func BenchmarkOutput_pipeline_3000Roots(b *testing.B) {
tu.BenchmarkWithMassive(b, tu.ThreeThousandRoots)
}
func BenchmarkOutput_pipeline_6000Roots(b *testing.B) {
tu.BenchmarkWithMassive(b, tu.SixThousandRoots)
}
func BenchmarkOutput_pipeline_10000Roots(b *testing.B) {
tu.BenchmarkWithMassive(b, tu.TenThousandRoots)
}
// func BenchmarkOutput_pipeline_20000Roots(b *testing.B) {
// tu.BenchmarkWithMassive(b, tu.TwentyThousandRoots)
// }