{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/data/issues/2856","labels_url":"https://api.github.com/repos/emberjs/data/issues/2856/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/data/issues/2856/comments","events_url":"https://api.github.com/repos/emberjs/data/issues/2856/events","html_url":"https://github.com/emberjs/data/issues/2856","id":60698350,"number":2856,"title":"Slow hasMany relation with links field in ember-data-1.0.0-beta.15","user":{"login":"mbrendler","id":8612645,"avatar_url":"https://avatars.githubusercontent.com/u/8612645?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrendler","html_url":"https://github.com/mbrendler","followers_url":"https://api.github.com/users/mbrendler/followers","following_url":"https://api.github.com/users/mbrendler/following{/other_user}","gists_url":"https://api.github.com/users/mbrendler/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrendler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrendler/subscriptions","organizations_url":"https://api.github.com/users/mbrendler/orgs","repos_url":"https://api.github.com/users/mbrendler/repos","events_url":"https://api.github.com/users/mbrendler/events{/privacy}","received_events_url":"https://api.github.com/users/mbrendler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-11T17:44:20Z","updated_at":"2015-03-11T20:24:12Z","closed_at":null,"body":"HasMany relations in ember-data-1.0.0-beta.15 are slow, when the resource uses a link to describe the related resources:\r\n\r\n```\r\n{\r\n  \"post\": {\r\n    \"id\": 1,\r\n    \"links\": {comments: \"/posts/1/comments\"}\r\n}\r\n```\r\n\r\n[This](http://emberjs.jsbin.com/xopacemula/3/edit?html,js,console,output) illustrates the issue. The example needs a very long time to display all comments.\r\nWith ember-data-1.0.0.beta.12 it renders fast."},"comment":{"url":"https://api.github.com/repos/emberjs/data/issues/comments/78363052","html_url":"https://github.com/emberjs/data/issues/2856#issuecomment-78363052","issue_url":"https://api.github.com/repos/emberjs/data/issues/2856","id":78363052,"user":{"login":"ahx","id":8669,"avatar_url":"https://avatars.githubusercontent.com/u/8669?v=3","gravatar_id":"","url":"https://api.github.com/users/ahx","html_url":"https://github.com/ahx","followers_url":"https://api.github.com/users/ahx/followers","following_url":"https://api.github.com/users/ahx/following{/other_user}","gists_url":"https://api.github.com/users/ahx/gists{/gist_id}","starred_url":"https://api.github.com/users/ahx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahx/subscriptions","organizations_url":"https://api.github.com/users/ahx/orgs","repos_url":"https://api.github.com/users/ahx/repos","events_url":"https://api.github.com/users/ahx/events{/privacy}","received_events_url":"https://api.github.com/users/ahx/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T20:24:11Z","updated_at":"2015-03-11T20:24:11Z","body":"@lolmaus See http://emberjs.com/api/data/classes/DS.RESTAdapter.html#method_findHasMany"}}