{"action":"created","issue":{"url":"https://api.github.com/repos/kenjis/php-framework-benchmark/issues/13","labels_url":"https://api.github.com/repos/kenjis/php-framework-benchmark/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/kenjis/php-framework-benchmark/issues/13/comments","events_url":"https://api.github.com/repos/kenjis/php-framework-benchmark/issues/13/events","html_url":"https://github.com/kenjis/php-framework-benchmark/issues/13","id":68816287,"number":13,"title":"Why my Lumen is so much slower than Taylor's?","user":{"login":"kenjis","id":87955,"avatar_url":"https://avatars.githubusercontent.com/u/87955?v=3","gravatar_id":"","url":"https://api.github.com/users/kenjis","html_url":"https://github.com/kenjis","followers_url":"https://api.github.com/users/kenjis/followers","following_url":"https://api.github.com/users/kenjis/following{/other_user}","gists_url":"https://api.github.com/users/kenjis/gists{/gist_id}","starred_url":"https://api.github.com/users/kenjis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenjis/subscriptions","organizations_url":"https://api.github.com/users/kenjis/orgs","repos_url":"https://api.github.com/users/kenjis/repos","events_url":"https://api.github.com/users/kenjis/events{/privacy}","received_events_url":"https://api.github.com/users/kenjis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":55,"created_at":"2015-04-16T00:25:05Z","updated_at":"2015-05-18T02:58:30Z","closed_at":null,"body":"According to http://taylorotwell.com/how-lumen-is-benchmarked/ :\r\n\r\n|framework          |requests per second|\r\n|-------------------|------------------:|\r\n|Slim 2|1700-1800|\r\n|Lumen|1800-1900|\r\n|Slim 3|1200-1300|\r\n\r\n* Lumen is a bit faster than Slim2.\r\n\r\nBut my benchmarks (2015/04/15) :\r\n\r\n|framework          |requests per second|\r\n|-------------------|------------------:|\r\n|slim-2.6           |             774.31|\r\n|lumen-5.0          |             372.07|\r\n\r\n* Slim2 is about two times faster than Lumen.\r\n\r\nI've found some differences in code, but overall benchmarking methodology seems to be the same.\r\n\r\n> don’t be surprised if your numbers are different than my numbers.\r\n\r\nYes, benchmarking environments change numbers. But the difference (relatively to Slim2) is too much, isn't it?\r\n\r\nI simply want to know why. What makes the huge difference?\r\n"},"comment":{"url":"https://api.github.com/repos/kenjis/php-framework-benchmark/issues/comments/102902580","html_url":"https://github.com/kenjis/php-framework-benchmark/issues/13#issuecomment-102902580","issue_url":"https://api.github.com/repos/kenjis/php-framework-benchmark/issues/13","id":102902580,"user":{"login":"christoferd","id":1835883,"avatar_url":"https://avatars.githubusercontent.com/u/1835883?v=3","gravatar_id":"","url":"https://api.github.com/users/christoferd","html_url":"https://github.com/christoferd","followers_url":"https://api.github.com/users/christoferd/followers","following_url":"https://api.github.com/users/christoferd/following{/other_user}","gists_url":"https://api.github.com/users/christoferd/gists{/gist_id}","starred_url":"https://api.github.com/users/christoferd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christoferd/subscriptions","organizations_url":"https://api.github.com/users/christoferd/orgs","repos_url":"https://api.github.com/users/christoferd/repos","events_url":"https://api.github.com/users/christoferd/events{/privacy}","received_events_url":"https://api.github.com/users/christoferd/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T02:58:30Z","updated_at":"2015-05-18T02:58:30Z","body":"FYI - Recently installed a php crm on Digital Ocean the cloud server, it\nuses SSD, and install APC (~Zend Opcache).\nIt's very fast, much faster than a shared hosting server. New pages loading\nin less than 1 second.\nThought I'd share this as it may help you get more speed from app without\nhaving to change frameworks.\n\nPS: Facebook have a developer blog, they release a lot of awesome insider\ndev info. Right, they don't use only vanilla php, a lot of their code is\nconverted to straight C/C++ and turned into DLL php extension libraries.\nThat way the library code is static, loaded once, and runs super fast. (*don't\nquote me*, it's something like that, find the exact info on their blog) I\nbelieve the Phalcon framework <http://phalconphp.com> does something like\nthis also.\n\n- Chris\n\nOn 18 May 2015 at 01:01, Alexander Makarov <notifications@github.com> wrote:\n\n> @defenestrator <https://github.com/defenestrator> PHP 7 is going to be as\n> fast as HHVM (which, in its behavior, is compatible with Zend PHP). Yahoo\n> uses vanilla one, others most probably do as well. PHP is, in fact,\n> performant compared to many other interpreted languages.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/kenjis/php-framework-benchmark/issues/13#issuecomment-102812191>\n> .\n>\n"}}