projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5733fd1
)
Increase timing quota for small string concat test
author
Nikita Popov
<nikic@php.net>
Wed, 21 Dec 2016 20:27:47 +0000
(21:27 +0100)
committer
Nikita Popov
<nikic@php.net>
Wed, 21 Dec 2016 20:27:47 +0000
(21:27 +0100)
Test is regularly failing on Travis.
Zend/tests/concat_003.phpt
patch
|
blob
|
history
diff --git
a/Zend/tests/concat_003.phpt
b/Zend/tests/concat_003.phpt
index 07fabd11139a3eab754dbdfe89fd0e1df4b22f62..53d8d2f9a4b290362c089343f89d273901a44ef5 100644
(file)
--- a/
Zend/tests/concat_003.phpt
+++ b/
Zend/tests/concat_003.phpt
@@
-13,8
+13,8
@@
memory_limit=256m
$time = microtime(TRUE);
/* This might vary on Linux/Windows, so the worst case and also count in slow machines. */
-$t0_max = 0.
1
;
-$t1_max =
0.4
;
+$t0_max = 0.
3
;
+$t1_max =
1.0
;
$datas = [];
for ($i = 0; $i < 220000; $i++)
@@
-34,7
+34,7
@@
for ($i = 0; $i < 220000; $i++)
$t0 = microtime(TRUE) - $time;
var_dump($t0 < $t0_max);
-
+$time = microtime(TRUE);
$texts = '';
foreach ($datas AS $data)
{