{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/6198","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/6198/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/6198/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/6198/events","html_url":"https://github.com/cakephp/cakephp/issues/6198","id":65034436,"number":6198,"title":"add an option to disable type-casting for result set","user":{"login":"Schlaefer","id":143224,"avatar_url":"https://avatars.githubusercontent.com/u/143224?v=3","gravatar_id":"","url":"https://api.github.com/users/Schlaefer","html_url":"https://github.com/Schlaefer","followers_url":"https://api.github.com/users/Schlaefer/followers","following_url":"https://api.github.com/users/Schlaefer/following{/other_user}","gists_url":"https://api.github.com/users/Schlaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/Schlaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Schlaefer/subscriptions","organizations_url":"https://api.github.com/users/Schlaefer/orgs","repos_url":"https://api.github.com/users/Schlaefer/repos","events_url":"https://api.github.com/users/Schlaefer/events{/privacy}","received_events_url":"https://api.github.com/users/Schlaefer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cakephp/cakephp/labels/Enhancement","name":"Enhancement","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cakephp/cakephp/milestones/31","html_url":"https://github.com/cakephp/cakephp/milestones/3.1.0","labels_url":"https://api.github.com/repos/cakephp/cakephp/milestones/31/labels","id":919718,"number":31,"title":"3.1.0","description":"Backwards compatible with 3.0.x. Will require PHP 5.5\r\n\r\n### Specific issues\r\n\r\n* Adding the exception trace to the error view data. #6000 \r\n* Changed the translate behavior to support translation engines. #5958 \r\n* Database connection prefixes, or table prefixes.","creator":{"login":"lorenzo","id":37621,"avatar_url":"https://avatars.githubusercontent.com/u/37621?v=3","gravatar_id":"","url":"https://api.github.com/users/lorenzo","html_url":"https://github.com/lorenzo","followers_url":"https://api.github.com/users/lorenzo/followers","following_url":"https://api.github.com/users/lorenzo/following{/other_user}","gists_url":"https://api.github.com/users/lorenzo/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzo/subscriptions","organizations_url":"https://api.github.com/users/lorenzo/orgs","repos_url":"https://api.github.com/users/lorenzo/repos","events_url":"https://api.github.com/users/lorenzo/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzo/received_events","type":"User","site_admin":false},"open_issues":47,"closed_issues":15,"state":"open","created_at":"2015-01-02T15:38:07Z","updated_at":"2015-03-30T17:05:12Z","due_on":"2015-07-26T04:00:00Z","closed_at":null},"comments":10,"created_at":"2015-03-29T07:49:40Z","updated_at":"2015-03-30T17:05:12Z","closed_at":"2015-03-30T17:05:12Z","body":"For reading a few hundred database-entries the ORM is not very fast. Disabling hydration helps, but the type casting is very slow too. From what I can see there's no main culprit, it's just the abstraction overhead and gazillions of method calls. Nonetheless casting `DateTimeType` deserves a honorary mention.\r\n\r\nIt would be nice to have something like `->typeCast(false)` analog to `->hydrate(false)` to disable type-casting as early as possible."},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/87752625","html_url":"https://github.com/cakephp/cakephp/issues/6198#issuecomment-87752625","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/6198","id":87752625,"user":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T17:05:12Z","updated_at":"2015-03-30T17:05:12Z","body":"Closing as the performance is much better, and #6214 has been opened."}}