Пример #1
0
func BenchmarkTypewriterPrisonDaisySled(b *testing.B) {
	newBench("typewriterprison.proto", daisySled).bench(b, func(r randyTest, easy bool) proto.Message {
		return main.NewPopulatedTypewriterPrison(r, easy)
	})
}
Пример #2
0
func BenchmarkTypewriterPrisonSmileLetter(b *testing.B) {
	newBench("typewriterprison.proto", smileLetter).bench(b, func(r randyTest, easy bool) proto.Message {
		return main.NewPopulatedTypewriterPrison(r, easy)
	})
}
Пример #3
0
func BenchmarkTypewriterPrisonMenuPaperclip(b *testing.B) {
	newBench("typewriterprison.proto", menuPaperClip).bench(b, func(r randyTest, easy bool) proto.Message {
		return main.NewPopulatedTypewriterPrison(r, easy)
	})
}