{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/12228","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/12228/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/12228/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/12228/events","html_url":"https://github.com/laravel/framework/issues/12228","id":132577261,"number":12228,"title":"[5.2] Slow response times running within a php-7 Docker container","user":{"login":"andrewmclagan","id":1073259,"avatar_url":"https://avatars.githubusercontent.com/u/1073259?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewmclagan","html_url":"https://github.com/andrewmclagan","followers_url":"https://api.github.com/users/andrewmclagan/followers","following_url":"https://api.github.com/users/andrewmclagan/following{/other_user}","gists_url":"https://api.github.com/users/andrewmclagan/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmclagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmclagan/subscriptions","organizations_url":"https://api.github.com/users/andrewmclagan/orgs","repos_url":"https://api.github.com/users/andrewmclagan/repos","events_url":"https://api.github.com/users/andrewmclagan/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmclagan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-10T00:31:51Z","updated_at":"2016-02-10T01:38:07Z","closed_at":null,"body":"When running Laravel 5.2 within a PHP-7 docker container I'm getting response times in 300ms - 400ms. That is very slow, if I'm just echoing out phpinfo() on the same container the response time is 12ms - 50ms is anyone experiencing these slow response times?"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/182162122","html_url":"https://github.com/laravel/framework/issues/12228#issuecomment-182162122","issue_url":"https://api.github.com/repos/laravel/framework/issues/12228","id":182162122,"user":{"login":"andrewmclagan","id":1073259,"avatar_url":"https://avatars.githubusercontent.com/u/1073259?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewmclagan","html_url":"https://github.com/andrewmclagan","followers_url":"https://api.github.com/users/andrewmclagan/followers","following_url":"https://api.github.com/users/andrewmclagan/following{/other_user}","gists_url":"https://api.github.com/users/andrewmclagan/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmclagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmclagan/subscriptions","organizations_url":"https://api.github.com/users/andrewmclagan/orgs","repos_url":"https://api.github.com/users/andrewmclagan/repos","events_url":"https://api.github.com/users/andrewmclagan/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmclagan/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T01:38:06Z","updated_at":"2016-02-10T01:38:06Z","body":"UPDATE:\r\n\r\nComparing differing environments in a docker \r\n\r\nNote: the below are without `artisan optimize --force` or `artisan config:cache`\r\n\r\n* **HHVM** 13ms - 31ms (TCP port 9000)\r\n* **HHVM** 12ms - 22ms (Unix socket)\r\n* **PHP-7 FPM** 42ms - 73ms (TCP port 9000)\r\n* **PHP-7 FPM** 38ms - 55ms (Unix socket)\r\n\r\n**HHVM** with artisan optimisations + unix sockets: 8ms - 12ms \r\n**PHP-7 FPM** with artisan optimisations + unix sockets: 38ms - 42ms \r\n\r\nWOW take a look at HHVM with optimizations and sockets. THAT makes node and golang look slow...\r\n\r\nWho needs PHP-7 for performance? not me...\r\n "}}