{"action":"created","comment":{"url":"https://api.github.com/repos/bamlab/dev-standards/pulls/comments/209657169","pull_request_review_id":145712068,"id":209657169,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTY1NzE2OQ==","diff_hunk":"@@ -118,6 +118,7 @@\n       - [1. Cache your routes using varnish](/performance/backend/cache-routes-using-varnish.mo.md)\n       - [2. Serve images as static files](/performance/backend/serve-images-as-static-files.mo)\n       - [3. Minimize your number of SQL queries](/performance/backend/minimize-number-sql-queries.mo.md)\n+      - [4. Log queries durations with Knex](/performance/backend/log-queries-durations-with-knex.mo.md)","path":"SUMMARY.MD","position":4,"original_position":4,"commit_id":"9b82911aa8635aa0b9150d357f25a6b1e2f7f388","original_commit_id":"9b82911aa8635aa0b9150d357f25a6b1e2f7f388","user":{"login":"xavierlefevre","id":14938214,"node_id":"MDQ6VXNlcjE0OTM4MjE0","avatar_url":"https://avatars3.githubusercontent.com/u/14938214?v=4","gravatar_id":"","url":"https://api.github.com/users/xavierlefevre","html_url":"https://github.com/xavierlefevre","followers_url":"https://api.github.com/users/xavierlefevre/followers","following_url":"https://api.github.com/users/xavierlefevre/following{/other_user}","gists_url":"https://api.github.com/users/xavierlefevre/gists{/gist_id}","starred_url":"https://api.github.com/users/xavierlefevre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavierlefevre/subscriptions","organizations_url":"https://api.github.com/users/xavierlefevre/orgs","repos_url":"https://api.github.com/users/xavierlefevre/repos","events_url":"https://api.github.com/users/xavierlefevre/events{/privacy}","received_events_url":"https://api.github.com/users/xavierlefevre/received_events","type":"User","site_admin":false},"body":"Hummm... je viens de voir que les titres ne sont pas claires, mais le but de cette partie du sommaire, c'est de donner des tips de solutions technique.\r\nIl faut surtout ajouter ton article ici : https://github.com/bamlab/dev-standards/edit/master/performance/performance-decision-flow.s.md\r\n\r\nLe sommaire principal !! :-)\r\n\r\nTon outil est un outil d'investigation, il est plus adapté à la 1ere partie des standards perf: ","created_at":"2018-08-13T15:37:38Z","updated_at":"2018-08-13T15:40:52Z","html_url":"https://github.com/bamlab/dev-standards/pull/147#discussion_r209657169","pull_request_url":"https://api.github.com/repos/bamlab/dev-standards/pulls/147","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/bamlab/dev-standards/pulls/comments/209657169"},"html":{"href":"https://github.com/bamlab/dev-standards/pull/147#discussion_r209657169"},"pull_request":{"href":"https://api.github.com/repos/bamlab/dev-standards/pulls/147"}}},"pull_request":{"url":"https://api.github.com/repos/bamlab/dev-standards/pulls/147","id":207023939,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MDIzOTM5","html_url":"https://github.com/bamlab/dev-standards/pull/147","diff_url":"https://github.com/bamlab/dev-standards/pull/147.diff","patch_url":"https://github.com/bamlab/dev-standards/pull/147.patch","issue_url":"https://api.github.com/repos/bamlab/dev-standards/issues/147","number":147,"state":"open","locked":false,"title":"[MO] How to log your queries duration with Knex","user":{"login":"GuillaumeRenouvin","id":15981192,"node_id":"MDQ6VXNlcjE1OTgxMTky","avatar_url":"https://avatars1.githubusercontent.com/u/15981192?v=4","gravatar_id":"","url":"https://api.github.com/users/GuillaumeRenouvin","html_url":"https://github.com/GuillaumeRenouvin","followers_url":"https://api.github.com/users/GuillaumeRenouvin/followers","following_url":"https://api.github.com/users/GuillaumeRenouvin/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeRenouvin/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeRenouvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeRenouvin/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeRenouvin/orgs","repos_url":"https://api.github.com/users/GuillaumeRenouvin/repos","events_url":"https://api.github.com/users/GuillaumeRenouvin/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeRenouvin/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-08T14:17:59Z","updated_at":"2018-08-13T15:40:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86c393b73fffe7319c1f37aadf64396a1fde89c4","assignee":null,"assignees":[],"requested_reviewers":[{"login":"louiszawadzki","id":8973379,"node_id":"MDQ6VXNlcjg5NzMzNzk=","avatar_url":"https://avatars2.githubusercontent.com/u/8973379?v=4","gravatar_id":"","url":"https://api.github.com/users/louiszawadzki","html_url":"https://github.com/louiszawadzki","followers_url":"https://api.github.com/users/louiszawadzki/followers","following_url":"https://api.github.com/users/louiszawadzki/following{/other_user}","gists_url":"https://api.github.com/users/louiszawadzki/gists{/gist_id}","starred_url":"https://api.github.com/users/louiszawadzki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louiszawadzki/subscriptions","organizations_url":"https://api.github.com/users/louiszawadzki/orgs","repos_url":"https://api.github.com/users/louiszawadzki/repos","events_url":"https://api.github.com/users/louiszawadzki/events{/privacy}","received_events_url":"https://api.github.com/users/louiszawadzki/received_events","type":"User","site_admin":false},{"login":"tychota","id":13785185,"node_id":"MDQ6VXNlcjEzNzg1MTg1","avatar_url":"https://avatars2.githubusercontent.com/u/13785185?v=4","gravatar_id":"","url":"https://api.github.com/users/tychota","html_url":"https://github.com/tychota","followers_url":"https://api.github.com/users/tychota/followers","following_url":"https://api.github.com/users/tychota/following{/other_user}","gists_url":"https://api.github.com/users/tychota/gists{/gist_id}","starred_url":"https://api.github.com/users/tychota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tychota/subscriptions","organizations_url":"https://api.github.com/users/tychota/orgs","repos_url":"https://api.github.com/users/tychota/repos","events_url":"https://api.github.com/users/tychota/events{/privacy}","received_events_url":"https://api.github.com/users/tychota/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":675468359,"node_id":"MDU6TGFiZWw2NzU0NjgzNTk=","url":"https://api.github.com/repos/bamlab/dev-standards/labels/Review%20Required","name":"Review Required","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/bamlab/dev-standards/pulls/147/commits","review_comments_url":"https://api.github.com/repos/bamlab/dev-standards/pulls/147/comments","review_comment_url":"https://api.github.com/repos/bamlab/dev-standards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bamlab/dev-standards/issues/147/comments","statuses_url":"https://api.github.com/repos/bamlab/dev-standards/statuses/9b82911aa8635aa0b9150d357f25a6b1e2f7f388","head":{"label":"bamlab:log-knex-queries-duration","ref":"log-knex-queries-duration","sha":"9b82911aa8635aa0b9150d357f25a6b1e2f7f388","user":{"login":"bamlab","id":9597329,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk1OTczMjk=","avatar_url":"https://avatars3.githubusercontent.com/u/9597329?v=4","gravatar_id":"","url":"https://api.github.com/users/bamlab","html_url":"https://github.com/bamlab","followers_url":"https://api.github.com/users/bamlab/followers","following_url":"https://api.github.com/users/bamlab/following{/other_user}","gists_url":"https://api.github.com/users/bamlab/gists{/gist_id}","starred_url":"https://api.github.com/users/bamlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamlab/subscriptions","organizations_url":"https://api.github.com/users/bamlab/orgs","repos_url":"https://api.github.com/users/bamlab/repos","events_url":"https://api.github.com/users/bamlab/events{/privacy}","received_events_url":"https://api.github.com/users/bamlab/received_events","type":"Organization","site_admin":false},"repo":{"id":98423172,"node_id":"MDEwOlJlcG9zaXRvcnk5ODQyMzE3Mg==","name":"dev-standards","full_name":"bamlab/dev-standards","owner":{"login":"bamlab","id":9597329,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk1OTczMjk=","avatar_url":"https://avatars3.githubusercontent.com/u/9597329?v=4","gravatar_id":"","url":"https://api.github.com/users/bamlab","html_url":"https://github.com/bamlab","followers_url":"https://api.github.com/users/bamlab/followers","following_url":"https://api.github.com/users/bamlab/following{/other_user}","gists_url":"https://api.github.com/users/bamlab/gists{/gist_id}","starred_url":"https://api.github.com/users/bamlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamlab/subscriptions","organizations_url":"https://api.github.com/users/bamlab/orgs","repos_url":"https://api.github.com/users/bamlab/repos","events_url":"https://api.github.com/users/bamlab/events{/privacy}","received_events_url":"https://api.github.com/users/bamlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bamlab/dev-standards","description":"https://bamtech.gitbooks.io/dev-standards/","fork":false,"url":"https://api.github.com/repos/bamlab/dev-standards","forks_url":"https://api.github.com/repos/bamlab/dev-standards/forks","keys_url":"https://api.github.com/repos/bamlab/dev-standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bamlab/dev-standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bamlab/dev-standards/teams","hooks_url":"https://api.github.com/repos/bamlab/dev-standards/hooks","issue_events_url":"https://api.github.com/repos/bamlab/dev-standards/issues/events{/number}","events_url":"https://api.github.com/repos/bamlab/dev-standards/events","assignees_url":"https://api.github.com/repos/bamlab/dev-standards/assignees{/user}","branches_url":"https://api.github.com/repos/bamlab/dev-standards/branches{/branch}","tags_url":"https://api.github.com/repos/bamlab/dev-standards/tags","blobs_url":"https://api.github.com/repos/bamlab/dev-standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bamlab/dev-standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bamlab/dev-standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/bamlab/dev-standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bamlab/dev-standards/statuses/{sha}","languages_url":"https://api.github.com/repos/bamlab/dev-standards/languages","stargazers_url":"https://api.github.com/repos/bamlab/dev-standards/stargazers","contributors_url":"https://api.github.com/repos/bamlab/dev-standards/contributors","subscribers_url":"https://api.github.com/repos/bamlab/dev-standards/subscribers","subscription_url":"https://api.github.com/repos/bamlab/dev-standards/subscription","commits_url":"https://api.github.com/repos/bamlab/dev-standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/bamlab/dev-standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/bamlab/dev-standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/bamlab/dev-standards/issues/comments{/number}","contents_url":"https://api.github.com/repos/bamlab/dev-standards/contents/{+path}","compare_url":"https://api.github.com/repos/bamlab/dev-standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bamlab/dev-standards/merges","archive_url":"https://api.github.com/repos/bamlab/dev-standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bamlab/dev-standards/downloads","issues_url":"https://api.github.com/repos/bamlab/dev-standards/issues{/number}","pulls_url":"https://api.github.com/repos/bamlab/dev-standards/pulls{/number}","milestones_url":"https://api.github.com/repos/bamlab/dev-standards/milestones{/number}","notifications_url":"https://api.github.com/repos/bamlab/dev-standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bamlab/dev-standards/labels{/name}","releases_url":"https://api.github.com/repos/bamlab/dev-standards/releases{/id}","deployments_url":"https://api.github.com/repos/bamlab/dev-standards/deployments","created_at":"2017-07-26T12:59:48Z","updated_at":"2018-08-09T14:58:21Z","pushed_at":"2018-08-09T14:58:22Z","git_url":"git://github.com/bamlab/dev-standards.git","ssh_url":"git@github.com:bamlab/dev-standards.git","clone_url":"https://github.com/bamlab/dev-standards.git","svn_url":"https://github.com/bamlab/dev-standards","homepage":"","size":3495,"stargazers_count":40,"watchers_count":40,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":17,"open_issues":13,"watchers":40,"default_branch":"master"}},"base":{"label":"bamlab:master","ref":"master","sha":"4c632e597ae385029a86f591a9c1cacd7a1add0b","user":{"login":"bamlab","id":9597329,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk1OTczMjk=","avatar_url":"https://avatars3.githubusercontent.com/u/9597329?v=4","gravatar_id":"","url":"https://api.github.com/users/bamlab","html_url":"https://github.com/bamlab","followers_url":"https://api.github.com/users/bamlab/followers","following_url":"https://api.github.com/users/bamlab/following{/other_user}","gists_url":"https://api.github.com/users/bamlab/gists{/gist_id}","starred_url":"https://api.github.com/users/bamlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamlab/subscriptions","organizations_url":"https://api.github.com/users/bamlab/orgs","repos_url":"https://api.github.com/users/bamlab/repos","events_url":"https://api.github.com/users/bamlab/events{/privacy}","received_events_url":"https://api.github.com/users/bamlab/received_events","type":"Organization","site_admin":false},"repo":{"id":98423172,"node_id":"MDEwOlJlcG9zaXRvcnk5ODQyMzE3Mg==","name":"dev-standards","full_name":"bamlab/dev-standards","owner":{"login":"bamlab","id":9597329,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk1OTczMjk=","avatar_url":"https://avatars3.githubusercontent.com/u/9597329?v=4","gravatar_id":"","url":"https://api.github.com/users/bamlab","html_url":"https://github.com/bamlab","followers_url":"https://api.github.com/users/bamlab/followers","following_url":"https://api.github.com/users/bamlab/following{/other_user}","gists_url":"https://api.github.com/users/bamlab/gists{/gist_id}","starred_url":"https://api.github.com/users/bamlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamlab/subscriptions","organizations_url":"https://api.github.com/users/bamlab/orgs","repos_url":"https://api.github.com/users/bamlab/repos","events_url":"https://api.github.com/users/bamlab/events{/privacy}","received_events_url":"https://api.github.com/users/bamlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bamlab/dev-standards","description":"https://bamtech.gitbooks.io/dev-standards/","fork":false,"url":"https://api.github.com/repos/bamlab/dev-standards","forks_url":"https://api.github.com/repos/bamlab/dev-standards/forks","keys_url":"https://api.github.com/repos/bamlab/dev-standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bamlab/dev-standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bamlab/dev-standards/teams","hooks_url":"https://api.github.com/repos/bamlab/dev-standards/hooks","issue_events_url":"https://api.github.com/repos/bamlab/dev-standards/issues/events{/number}","events_url":"https://api.github.com/repos/bamlab/dev-standards/events","assignees_url":"https://api.github.com/repos/bamlab/dev-standards/assignees{/user}","branches_url":"https://api.github.com/repos/bamlab/dev-standards/branches{/branch}","tags_url":"https://api.github.com/repos/bamlab/dev-standards/tags","blobs_url":"https://api.github.com/repos/bamlab/dev-standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bamlab/dev-standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bamlab/dev-standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/bamlab/dev-standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bamlab/dev-standards/statuses/{sha}","languages_url":"https://api.github.com/repos/bamlab/dev-standards/languages","stargazers_url":"https://api.github.com/repos/bamlab/dev-standards/stargazers","contributors_url":"https://api.github.com/repos/bamlab/dev-standards/contributors","subscribers_url":"https://api.github.com/repos/bamlab/dev-standards/subscribers","subscription_url":"https://api.github.com/repos/bamlab/dev-standards/subscription","commits_url":"https://api.github.com/repos/bamlab/dev-standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/bamlab/dev-standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/bamlab/dev-standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/bamlab/dev-standards/issues/comments{/number}","contents_url":"https://api.github.com/repos/bamlab/dev-standards/contents/{+path}","compare_url":"https://api.github.com/repos/bamlab/dev-standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bamlab/dev-standards/merges","archive_url":"https://api.github.com/repos/bamlab/dev-standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bamlab/dev-standards/downloads","issues_url":"https://api.github.com/repos/bamlab/dev-standards/issues{/number}","pulls_url":"https://api.github.com/repos/bamlab/dev-standards/pulls{/number}","milestones_url":"https://api.github.com/repos/bamlab/dev-standards/milestones{/number}","notifications_url":"https://api.github.com/repos/bamlab/dev-standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bamlab/dev-standards/labels{/name}","releases_url":"https://api.github.com/repos/bamlab/dev-standards/releases{/id}","deployments_url":"https://api.github.com/repos/bamlab/dev-standards/deployments","created_at":"2017-07-26T12:59:48Z","updated_at":"2018-08-09T14:58:21Z","pushed_at":"2018-08-09T14:58:22Z","git_url":"git://github.com/bamlab/dev-standards.git","ssh_url":"git@github.com:bamlab/dev-standards.git","clone_url":"https://github.com/bamlab/dev-standards.git","svn_url":"https://github.com/bamlab/dev-standards","homepage":"","size":3495,"stargazers_count":40,"watchers_count":40,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":17,"open_issues":13,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bamlab/dev-standards/pulls/147"},"html":{"href":"https://github.com/bamlab/dev-standards/pull/147"},"issue":{"href":"https://api.github.com/repos/bamlab/dev-standards/issues/147"},"comments":{"href":"https://api.github.com/repos/bamlab/dev-standards/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/bamlab/dev-standards/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/bamlab/dev-standards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bamlab/dev-standards/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/bamlab/dev-standards/statuses/9b82911aa8635aa0b9150d357f25a6b1e2f7f388"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"xavierlefevre"}}