{"action":"closed","issue":{"url":"https://api.github.com/repos/Kinto/kinto/issues/424","repository_url":"https://api.github.com/repos/Kinto/kinto","labels_url":"https://api.github.com/repos/Kinto/kinto/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/Kinto/kinto/issues/424/comments","events_url":"https://api.github.com/repos/Kinto/kinto/issues/424/events","html_url":"https://github.com/Kinto/kinto/issues/424","id":131089900,"number":424,"title":"Fix performances obtained with Github auth in tutorial","user":{"login":"leplatrem","id":546692,"avatar_url":"https://avatars.githubusercontent.com/u/546692?v=3","gravatar_id":"","url":"https://api.github.com/users/leplatrem","html_url":"https://github.com/leplatrem","followers_url":"https://api.github.com/users/leplatrem/followers","following_url":"https://api.github.com/users/leplatrem/following{/other_user}","gists_url":"https://api.github.com/users/leplatrem/gists{/gist_id}","starred_url":"https://api.github.com/users/leplatrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leplatrem/subscriptions","organizations_url":"https://api.github.com/users/leplatrem/orgs","repos_url":"https://api.github.com/users/leplatrem/repos","events_url":"https://api.github.com/users/leplatrem/events{/privacy}","received_events_url":"https://api.github.com/users/leplatrem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Kinto/kinto/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Kinto/kinto/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Kinto/kinto/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/Kinto/kinto/labels/scope:%20cliquet","name":"scope: cliquet","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"leplatrem","id":546692,"avatar_url":"https://avatars.githubusercontent.com/u/546692?v=3","gravatar_id":"","url":"https://api.github.com/users/leplatrem","html_url":"https://github.com/leplatrem","followers_url":"https://api.github.com/users/leplatrem/followers","following_url":"https://api.github.com/users/leplatrem/following{/other_user}","gists_url":"https://api.github.com/users/leplatrem/gists{/gist_id}","starred_url":"https://api.github.com/users/leplatrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leplatrem/subscriptions","organizations_url":"https://api.github.com/users/leplatrem/orgs","repos_url":"https://api.github.com/users/leplatrem/repos","events_url":"https://api.github.com/users/leplatrem/events{/privacy}","received_events_url":"https://api.github.com/users/leplatrem/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-02-03T17:07:47Z","updated_at":"2016-03-07T08:55:56Z","closed_at":"2016-03-07T08:55:56Z","body":"A single `PUT` on the `default` bucket generates 10 calls to `authentication.unauthenticated_userid()`.\r\n\r\nWith basic auth it is hard to notice. But when following the Github auth tutorial, it becomes very obvious that something is wrong with the current proposition :)\r\n\r\nI started this PR also https://github.com/mozilla-services/cliquet/pull/641\r\n\r\n\r\n> Note:\r\n> Used this trick to track:\r\n> ```python\r\n>     import traceback\r\n>     for line in traceback.format_stack():\r\n>        print(line.strip())\r\n> ```"}}