Skip to content

Commit 14c8f20

Browse files
committed
changed time limits
1 parent 32079c4 commit 14c8f20

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

app/V1Module/presenters/base/BasePresenter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ protected function verifyUserIpLock(User $user)
106106
public function startup()
107107
{
108108
parent::startup();
109+
set_time_limit(20);
109110
$this->application->errorPresenter = "V1:ApiError";
110111

111112
try {

performance-test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ class PerformanceTest
1212
{
1313
protected static $defaultName = 'test:performance';
1414

15-
private static $warmupIterations = 100;
16-
private static $measureIterations = 1000;
15+
private static $warmupIterations = 10_000;
16+
private static $measureIterations = 100_000;
1717
private $tests = [];
1818
public $output = [];
1919

0 commit comments

Comments
 (0)