tweak timing tests to handle slower VMs and older GoLang

This commit is contained in:
Dave Clendenan 2016-12-01 11:12:44 -08:00
parent f08011a10f
commit 306956c385
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ func logLoop(iterations int, reportCaller bool) {
// Assertions for upper bounds to reporting overhead // Assertions for upper bounds to reporting overhead
func TestCallerReportingOverhead(t *testing.T) { func TestCallerReportingOverhead(t *testing.T) {
iterations := 10000 iterations := 5000
before := time.Now() before := time.Now()
logLoop(iterations, false) logLoop(iterations, false)
during := time.Now() during := time.Now()