testing: benchmarks moved to separate files

This commit is contained in:
Michał Matczuk
2018-05-22 16:37:02 +02:00
parent 444d07da6a
commit a8febbc71e
17 changed files with 169 additions and 108 deletions

View File

@@ -126,10 +126,3 @@ func TestUpdateBuilder(t *testing.T) {
}
}
}
func BenchmarkUpdateBuilder(b *testing.B) {
b.ResetTimer()
for i := 0; i < b.N; i++ {
Update("cycling.cyclist_name").Set("id", "user_uuid", "firstname", "stars").Where(Eq("id")).ToCql()
}
}