{"action":"created","issue":{"url":"https://api.github.com/repos/topcoder-platform/tc-project-service/issues/157","repository_url":"https://api.github.com/repos/topcoder-platform/tc-project-service","labels_url":"https://api.github.com/repos/topcoder-platform/tc-project-service/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/topcoder-platform/tc-project-service/issues/157/comments","events_url":"https://api.github.com/repos/topcoder-platform/tc-project-service/issues/157/events","html_url":"https://github.com/topcoder-platform/tc-project-service/issues/157","id":347358431,"node_id":"MDU6SXNzdWUzNDczNTg0MzE=","number":157,"title":"Profiling of project service methods","user":{"login":"vikasrohit","id":2417632,"node_id":"MDQ6VXNlcjI0MTc2MzI=","avatar_url":"https://avatars2.githubusercontent.com/u/2417632?v=4","gravatar_id":"","url":"https://api.github.com/users/vikasrohit","html_url":"https://github.com/vikasrohit","followers_url":"https://api.github.com/users/vikasrohit/followers","following_url":"https://api.github.com/users/vikasrohit/following{/other_user}","gists_url":"https://api.github.com/users/vikasrohit/gists{/gist_id}","starred_url":"https://api.github.com/users/vikasrohit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikasrohit/subscriptions","organizations_url":"https://api.github.com/users/vikasrohit/orgs","repos_url":"https://api.github.com/users/vikasrohit/repos","events_url":"https://api.github.com/users/vikasrohit/events{/privacy}","received_events_url":"https://api.github.com/users/vikasrohit/received_events","type":"User","site_admin":false},"labels":[{"id":1033959301,"node_id":"MDU6TGFiZWwxMDMzOTU5MzAx","url":"https://api.github.com/repos/topcoder-platform/tc-project-service/labels/P4","name":"P4","color":"b6dfef","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/topcoder-platform/tc-project-service/milestones/6","html_url":"https://github.com/topcoder-platform/tc-project-service/milestone/6","labels_url":"https://api.github.com/repos/topcoder-platform/tc-project-service/milestones/6/labels","id":3548504,"node_id":"MDk6TWlsZXN0b25lMzU0ODUwNA==","number":6,"title":"Release to support Connect 2.4.5","description":"","creator":{"login":"vikasrohit","id":2417632,"node_id":"MDQ6VXNlcjI0MTc2MzI=","avatar_url":"https://avatars2.githubusercontent.com/u/2417632?v=4","gravatar_id":"","url":"https://api.github.com/users/vikasrohit","html_url":"https://github.com/vikasrohit","followers_url":"https://api.github.com/users/vikasrohit/followers","following_url":"https://api.github.com/users/vikasrohit/following{/other_user}","gists_url":"https://api.github.com/users/vikasrohit/gists{/gist_id}","starred_url":"https://api.github.com/users/vikasrohit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikasrohit/subscriptions","organizations_url":"https://api.github.com/users/vikasrohit/orgs","repos_url":"https://api.github.com/users/vikasrohit/repos","events_url":"https://api.github.com/users/vikasrohit/events{/privacy}","received_events_url":"https://api.github.com/users/vikasrohit/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2018-08-06T09:35:01Z","updated_at":"2018-08-24T09:55:57Z","due_on":"2018-08-28T07:00:00Z","closed_at":null},"comments":7,"created_at":"2018-08-03T11:20:11Z","updated_at":"2018-08-30T04:10:27Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Specifically, need to profile time consumed in phases/products/timelines/milestones endpoints. It would be great if we can also track the memory as well consumed in these endpoints."},"comment":{"url":"https://api.github.com/repos/topcoder-platform/tc-project-service/issues/comments/417183934","html_url":"https://github.com/topcoder-platform/tc-project-service/issues/157#issuecomment-417183934","issue_url":"https://api.github.com/repos/topcoder-platform/tc-project-service/issues/157","id":417183934,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzE4MzkzNA==","user":{"login":"ngoctay","id":12344556,"node_id":"MDQ6VXNlcjEyMzQ0NTU2","avatar_url":"https://avatars3.githubusercontent.com/u/12344556?v=4","gravatar_id":"","url":"https://api.github.com/users/ngoctay","html_url":"https://github.com/ngoctay","followers_url":"https://api.github.com/users/ngoctay/followers","following_url":"https://api.github.com/users/ngoctay/following{/other_user}","gists_url":"https://api.github.com/users/ngoctay/gists{/gist_id}","starred_url":"https://api.github.com/users/ngoctay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngoctay/subscriptions","organizations_url":"https://api.github.com/users/ngoctay/orgs","repos_url":"https://api.github.com/users/ngoctay/repos","events_url":"https://api.github.com/users/ngoctay/events{/privacy}","received_events_url":"https://api.github.com/users/ngoctay/received_events","type":"User","site_admin":false},"created_at":"2018-08-30T04:10:27Z","updated_at":"2018-08-30T04:10:27Z","author_association":"CONTRIBUTOR","body":"Please check the report.\r\n\r\n- `POST /projects` and `PATCH /projects` take more than 1s\r\n- I don't see any memory leak\r\n- I don't test metadata endpoints because they are very simple\r\n\r\n| Request | Route                                                                   | Duration (ms) | Heap Used (B) |\r\n|---------|-------------------------------------------------------------------------|---------------|---------------|\r\n| POST    | /projects                                                               | 5170.655399   | 65363392      |\r\n| GET     | /projects                                                               | 63.2839       | 66343688      |\r\n| GET     | /projects/:projectId(\\d+)                                               | 25.1262       | 66520648      |\r\n| PATCH   | /projects/:projectId(\\d+)                                               | 1098.612201   | 69384672      |\r\n| DELETE  | /projects/:projectId(\\d+)                                               | 41.0858       | 69589968      |\r\n| POST    | /projects/:projectId(\\d+)/members                                       | 22.4345       | 69569904      |\r\n| DELETE  | /projects/:projectId(\\d+)/members/:id(\\d+)                              | 45.2879       | 69951624      |\r\n| PATCH   | /projects/:projectId(\\d+)/members/:id(\\d+)                              | 46.988399     | 71140424      |\r\n| POST    | /projects/:projectId(\\d+)/attachments                                   | 25.8274       | 71619280      |\r\n| GET     | /projects/:projectId(\\d+)/attachments/:id(\\d+)                          | 935.1773      | 67770176      |\r\n| PATCH   | /projects/:projectId(\\d+)/attachments/:id(\\d+)                          | 31.4825       | 71701048      |\r\n| DELETE  | /projects/:projectId(\\d+)/attachments/:id(\\d+)                          | 33.4117       | 67864128      |\r\n| POST    | /projects/:projectId(\\d+)/upgrade                                       | 37.360599     | 68339112      |\r\n| GET     | /projects/:projectId(\\d+)/phases                                        | 9.616099      | 69286816      |\r\n| POST    | /projects/:projectId(\\d+)/phases                                        | 53.760001     | 69884704      |\r\n| GET     | /projects/:projectId(\\d+)/phases/:phaseId(\\d+)                          | 11.692501     | 69824064      |\r\n| PATCH   | /projects/:projectId(\\d+)/phases/:phaseId(\\d+)                          | 46.9699       | 70794128      |\r\n| DELETE  | /projects/:projectId(\\d+)/phases/:phaseId(\\d+)                          | 34.4258       | 71699240      |\r\n| GET     | /projects/:projectId(\\d+)/phases/:phaseId(\\d+)/products                 | 13.0936       | 71402080      |\r\n| POST    | /projects/:projectId(\\d+)/phases/:phaseId(\\d+)/products                 | 55.129301     | 72445648      |\r\n| GET     | /projects/:projectId(\\d+)/phases/:phaseId(\\d+)/products/:productId(\\d+) | 8.594301      | 72714336      |\r\n| PATCH   | /projects/:projectId(\\d+)/phases/:phaseId(\\d+)/products/:productId(\\d+) | 36.291801     | 72719896      |\r\n| DELETE  | /projects/:projectId(\\d+)/phases/:phaseId(\\d+)/products/:productId(\\d+) | 41.5369       | 73514864      |\r\n| POST    | /timelines                                                              | 31.8519       | 73913360      |\r\n| GET     | /timelines                                                              | 64.7114       | 74079520      |\r\n| GET     | /timelines/:timelineId(\\d+)                                             | 23.7114       | 74132440      |\r\n| PATCH   | /timelines/:timelineId(\\d+)                                             | 55.1774       | 75349192      |\r\n| DELETE  | /timelines/:timelineId(\\d+)                                             | 44.769899     | 75647808      |\r\n| POST    | /timelines/:timelineId(\\d+)/milestones                                  | 41.951501     | 67656992      |\r\n| GET     | /timelines/:timelineId(\\d+)/milestones                                  | 15.737399     | 68176304      |\r\n| GET     | /timelines/:timelineId(\\d+)/milestones/:milestoneId(\\d+)                | 19.777        | 68146072      |\r\n| PATCH   | /timelines/:timelineId(\\d+)/milestones/:milestoneId(\\d+)                | 64.3966       | 68949304      |\r\n| DELETE  | /timelines/:timelineId(\\d+)/milestones/:milestoneId(\\d+)                | 33.704499     | 71296528      |\r\n"}}
{"actor":{"display_login":"ngoctay"}}