{"action":"created","issue":{"url":"https://api.github.com/repos/ga4gh/server/issues/105","labels_url":"https://api.github.com/repos/ga4gh/server/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/ga4gh/server/issues/105/comments","events_url":"https://api.github.com/repos/ga4gh/server/issues/105/events","html_url":"https://github.com/ga4gh/server/pull/105","id":56041533,"number":105,"title":"Heap profiling inside server_benchmark","user":{"login":"Naburimannu","id":6696224,"avatar_url":"https://avatars.githubusercontent.com/u/6696224?v=3","gravatar_id":"","url":"https://api.github.com/users/Naburimannu","html_url":"https://github.com/Naburimannu","followers_url":"https://api.github.com/users/Naburimannu/followers","following_url":"https://api.github.com/users/Naburimannu/following{/other_user}","gists_url":"https://api.github.com/users/Naburimannu/gists{/gist_id}","starred_url":"https://api.github.com/users/Naburimannu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naburimannu/subscriptions","organizations_url":"https://api.github.com/users/Naburimannu/orgs","repos_url":"https://api.github.com/users/Naburimannu/repos","events_url":"https://api.github.com/users/Naburimannu/events{/privacy}","received_events_url":"https://api.github.com/users/Naburimannu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-30T14:46:40Z","updated_at":"2015-01-30T14:48:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ga4gh/server/pulls/105","html_url":"https://github.com/ga4gh/server/pull/105","diff_url":"https://github.com/ga4gh/server/pull/105.diff","patch_url":"https://github.com/ga4gh/server/pull/105.patch"},"body":"If \"--profile heap\" is passed to server_benchmark.py, prints out\r\na heap snapshot inside Backend.runSearchRequest(), which currently\r\nhas high peak memory allocation.\r\n\r\nAdds a dependency on guppy (currently 0.1.10).\r\n\r\nAddresses https://github.com/ga4gh/server/issues/46."},"comment":{"url":"https://api.github.com/repos/ga4gh/server/issues/comments/72211819","html_url":"https://github.com/ga4gh/server/pull/105#issuecomment-72211819","issue_url":"https://api.github.com/repos/ga4gh/server/issues/105","id":72211819,"user":{"login":"Naburimannu","id":6696224,"avatar_url":"https://avatars.githubusercontent.com/u/6696224?v=3","gravatar_id":"","url":"https://api.github.com/users/Naburimannu","html_url":"https://github.com/Naburimannu","followers_url":"https://api.github.com/users/Naburimannu/followers","following_url":"https://api.github.com/users/Naburimannu/following{/other_user}","gists_url":"https://api.github.com/users/Naburimannu/gists{/gist_id}","starred_url":"https://api.github.com/users/Naburimannu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naburimannu/subscriptions","organizations_url":"https://api.github.com/users/Naburimannu/orgs","repos_url":"https://api.github.com/users/Naburimannu/repos","events_url":"https://api.github.com/users/Naburimannu/events{/privacy}","received_events_url":"https://api.github.com/users/Naburimannu/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T14:48:47Z","updated_at":"2015-01-30T14:48:47Z","body":"The follow-on I'm envisioning to this would be to add \"--profile cpu\", a dependency on cProfile, and some encapsulation of the idea of a profiler, but I haven't prototyped that yet, and there may be some impedance mismatch with the way cProfile wants to be invoked. This CL by itself is enough to give us a repeatable measurement to consider https://github.com/ga4gh/server/issues/92, and the heap profile is a *lot* more stable than the time to run the query reported by server_benchmark.py."}}