fix limiting one allocation in utf8 tasks
This commit is contained in:
parent
966462cc08
commit
2ea95934a4
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ func runTests(testDir, privateRepo, problem string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func noMoreThanTwoTimesWorse(old, new *benchstat.Metrics) (float64, error) {
|
func noMoreThanTwoTimesWorse(old, new *benchstat.Metrics) (float64, error) {
|
||||||
if new.Mean > 2*old.Mean {
|
if new.Mean > 1.99*old.Mean {
|
||||||
return 0.0, nil
|
return 0.0, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue