tweak timing tests to handle slower VMs and older GoLang
This commit is contained in:
+1
-1
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user