{"action":"created","issue":{"url":"https://api.github.com/repos/decred/decrediton/issues/1727","repository_url":"https://api.github.com/repos/decred/decrediton","labels_url":"https://api.github.com/repos/decred/decrediton/issues/1727/labels{/name}","comments_url":"https://api.github.com/repos/decred/decrediton/issues/1727/comments","events_url":"https://api.github.com/repos/decred/decrediton/issues/1727/events","html_url":"https://github.com/decred/decrediton/pull/1727","id":371263205,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNzUwNDgx","number":1727,"title":"[stats] Improve startup stats in large wallets","user":{"login":"matheusd","id":1752493,"node_id":"MDQ6VXNlcjE3NTI0OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1752493?v=4","gravatar_id":"","url":"https://api.github.com/users/matheusd","html_url":"https://github.com/matheusd","followers_url":"https://api.github.com/users/matheusd/followers","following_url":"https://api.github.com/users/matheusd/following{/other_user}","gists_url":"https://api.github.com/users/matheusd/gists{/gist_id}","starred_url":"https://api.github.com/users/matheusd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheusd/subscriptions","organizations_url":"https://api.github.com/users/matheusd/orgs","repos_url":"https://api.github.com/users/matheusd/repos","events_url":"https://api.github.com/users/matheusd/events{/privacy}","received_events_url":"https://api.github.com/users/matheusd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-17T20:55:33Z","updated_at":"2018-10-31T16:00:50Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/decred/decrediton/pulls/1727","html_url":"https://github.com/decred/decrediton/pull/1727","diff_url":"https://github.com/decred/decrediton/pull/1727.diff","patch_url":"https://github.com/decred/decrediton/pull/1727.patch"},"body":"This improves the startup time and usability for large wallets by:\r\n\r\n- Using local (js) code to decode transactions instead of the wallet service\r\n- Only starting to listen for tx/account notifications after full startup\r\n- Preventing repeated stats calculation if the initial calc time was big\r\n\r\nTesting on a large testnet wallet (96k+ votes, 3k+ live tickets) startup time reduced from ~10min to ~2min.\r\n\r\nCurrently a WIP as there's some instrumentation left to facilitate testing.\r\n\r\nThe initial code for transaction decoding was done by @alexlyp "},"comment":{"url":"https://api.github.com/repos/decred/decrediton/issues/comments/434744706","html_url":"https://github.com/decred/decrediton/pull/1727#issuecomment-434744706","issue_url":"https://api.github.com/repos/decred/decrediton/issues/1727","id":434744706,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDc0NDcwNg==","user":{"login":"alexlyp","id":4388501,"node_id":"MDQ6VXNlcjQzODg1MDE=","avatar_url":"https://avatars0.githubusercontent.com/u/4388501?v=4","gravatar_id":"","url":"https://api.github.com/users/alexlyp","html_url":"https://github.com/alexlyp","followers_url":"https://api.github.com/users/alexlyp/followers","following_url":"https://api.github.com/users/alexlyp/following{/other_user}","gists_url":"https://api.github.com/users/alexlyp/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlyp/subscriptions","organizations_url":"https://api.github.com/users/alexlyp/orgs","repos_url":"https://api.github.com/users/alexlyp/repos","events_url":"https://api.github.com/users/alexlyp/events{/privacy}","received_events_url":"https://api.github.com/users/alexlyp/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T16:00:50Z","updated_at":"2018-10-31T16:00:50Z","author_association":"MEMBER","body":"Tested great on a large testnet premine wallet that has been consistently voting.  Definitely can remove the instrumentation now so we can do final reviews."}}
{"actor":{"display_login":"alexlyp"}}