Пример #1
0
func BenchmarkTidbDriverFind(t *testing.B) {
	tests.DoBenchDriver(newTidbDriverDB, createTableQl, dropTableQl,
		tests.DoBenchDriverFind, t)
}
Пример #2
0
func BenchmarkTidbDriverFind(t *testing.B) {
	tests.DoBenchDriver(func() (*sql.DB, error) {
		return newTidbDriverDB("goleveldb")
	}, createTableQl, dropTableQl,
		tests.DoBenchDriverFind, t)
}