{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/3160","repository_url":"https://api.github.com/repos/ethereum/go-ethereum","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/3160/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/3160/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/3160/events","html_url":"https://github.com/ethereum/go-ethereum/pull/3160","id":183652500,"number":3160,"title":"cmd/geth: compact and print database stats after an import","user":{"login":"karalabe","id":129561,"avatar_url":"https://avatars.githubusercontent.com/u/129561?v=3","gravatar_id":"","url":"https://api.github.com/users/karalabe","html_url":"https://github.com/karalabe","followers_url":"https://api.github.com/users/karalabe/followers","following_url":"https://api.github.com/users/karalabe/following{/other_user}","gists_url":"https://api.github.com/users/karalabe/gists{/gist_id}","starred_url":"https://api.github.com/users/karalabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karalabe/subscriptions","organizations_url":"https://api.github.com/users/karalabe/orgs","repos_url":"https://api.github.com/users/karalabe/repos","events_url":"https://api.github.com/users/karalabe/events{/privacy}","received_events_url":"https://api.github.com/users/karalabe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-18T10:51:26Z","updated_at":"2016-10-18T10:51:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ethereum/go-ethereum/pulls/3160","html_url":"https://github.com/ethereum/go-ethereum/pull/3160","diff_url":"https://github.com/ethereum/go-ethereum/pull/3160.diff","patch_url":"https://github.com/ethereum/go-ethereum/pull/3160.patch"},"body":"Extends the result text of a `geth import` operation by also printing the database compaction stats (also compacts the db after an import). This should help developing database optimizations.\r\n\r\n```\r\nImport done in 9m23.772190821s, compacting...\r\nCompaction done in 56.726582346s.\r\nCompactions\r\n Level |   Tables   |    Size(MB)   |    Time(sec)  |    Read(MB)   |   Write(MB)\r\n-------+------------+---------------+---------------+---------------+---------------\r\n   0   |          0 |       0.00000 |      33.75067 |       0.00000 |    2709.77516\r\n   1   |          0 |       0.00000 |     191.15939 |   14178.37611 |   14023.15792\r\n   2   |          0 |       0.00000 |     260.06293 |   18094.19571 |   18093.11371\r\n   3   |       1270 |    2553.27375 |     100.93812 |    6788.15036 |    6787.94915\r\n```"},"comment":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/comments/254473112","html_url":"https://github.com/ethereum/go-ethereum/pull/3160#issuecomment-254473112","issue_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/3160","id":254473112,"user":{"login":"mention-bot","id":15710697,"avatar_url":"https://avatars.githubusercontent.com/u/15710697?v=3","gravatar_id":"","url":"https://api.github.com/users/mention-bot","html_url":"https://github.com/mention-bot","followers_url":"https://api.github.com/users/mention-bot/followers","following_url":"https://api.github.com/users/mention-bot/following{/other_user}","gists_url":"https://api.github.com/users/mention-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/mention-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mention-bot/subscriptions","organizations_url":"https://api.github.com/users/mention-bot/orgs","repos_url":"https://api.github.com/users/mention-bot/repos","events_url":"https://api.github.com/users/mention-bot/events{/privacy}","received_events_url":"https://api.github.com/users/mention-bot/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T10:51:26Z","updated_at":"2016-10-18T10:51:26Z","body":"@karalabe, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fjl, @obscuren and @tgerring to be potential reviewers."}}
{"actor":{"display_login":"mention-bot"}}