Documentation ¶
Index ¶
- Variables
- func BaseBenchmark(b *testing.B, roots string, options ...gtree.Option)
- func BenchmarkWithMassive(b *testing.B, roots string)
- func Prepare() *gtree.Node
- func PrepareExistRoot(t *testing.T) *gtree.Node
- func PrepareInvalidNodeName() *gtree.Node
- func PrepareMarkdownFile(t *testing.T) *os.File
- func PrepareMultiNode() *gtree.Node
- func PrepareNilNode() *gtree.Node
- func PrepareNotRoot() *gtree.Node
- func PrepareSameNameChild() *gtree.Node
- func Prepare_a() *gtree.Node
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SingleRoot = single TenRoots = strings.Repeat(SingleRoot, 10) FiftyRoots = strings.Repeat(SingleRoot, 50) HundredRoots = strings.Repeat(SingleRoot, 100) FiveHundredsRoots = strings.Repeat(SingleRoot, 500) ThousandRoots = strings.Repeat(SingleRoot, 1000) ThreeThousandRoots = strings.Repeat(SingleRoot, 3000) SixThousandRoots = strings.Repeat(SingleRoot, 6000) TenThousandRoots = strings.Repeat(SingleRoot, 10000) TwentyThousandRoots = strings.Repeat(SingleRoot, 20000) )
Functions ¶
func BenchmarkWithMassive ¶ added in v1.9.1
func PrepareInvalidNodeName ¶
func PrepareMultiNode ¶
func PrepareNilNode ¶
func PrepareNotRoot ¶
func PrepareSameNameChild ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.