{"action":"opened","number":3387,"pull_request":{"url":"https://api.github.com/repos/firehol/netdata/pulls/3387","id":166991175,"html_url":"https://github.com/firehol/netdata/pull/3387","diff_url":"https://github.com/firehol/netdata/pull/3387.diff","patch_url":"https://github.com/firehol/netdata/pull/3387.patch","issue_url":"https://api.github.com/repos/firehol/netdata/issues/3387","number":3387,"state":"open","locked":false,"title":"d3pie optimizations","user":{"login":"ktsaou","id":2662304,"avatar_url":"https://avatars3.githubusercontent.com/u/2662304?v=4","gravatar_id":"","url":"https://api.github.com/users/ktsaou","html_url":"https://github.com/ktsaou","followers_url":"https://api.github.com/users/ktsaou/followers","following_url":"https://api.github.com/users/ktsaou/following{/other_user}","gists_url":"https://api.github.com/users/ktsaou/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsaou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsaou/subscriptions","organizations_url":"https://api.github.com/users/ktsaou/orgs","repos_url":"https://api.github.com/users/ktsaou/repos","events_url":"https://api.github.com/users/ktsaou/events{/privacy}","received_events_url":"https://api.github.com/users/ktsaou/received_events","type":"User","site_admin":false},"body":"d3pie used `d3.select()` and `d3.selectAll()` too much. This made it quite slow when the page has a lot of elements.\r\n\r\nThis PR caches several selections and when this is not easily possible, it uses `pie.svg.select()` and `pie.svg.selectAll()` to constrain the searches within the chart.\r\n\r\nd3pie should now be quite usable on large pages, although there is still room for improvement...","created_at":"2018-02-04T02:23:34Z","updated_at":"2018-02-04T02:23:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/firehol/netdata/pulls/3387/commits","review_comments_url":"https://api.github.com/repos/firehol/netdata/pulls/3387/comments","review_comment_url":"https://api.github.com/repos/firehol/netdata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/firehol/netdata/issues/3387/comments","statuses_url":"https://api.github.com/repos/firehol/netdata/statuses/8b7cd623aa59ae5f2fc9057cf8986fcef1d8a55f","head":{"label":"ktsaou:master","ref":"master","sha":"8b7cd623aa59ae5f2fc9057cf8986fcef1d8a55f","user":{"login":"ktsaou","id":2662304,"avatar_url":"https://avatars3.githubusercontent.com/u/2662304?v=4","gravatar_id":"","url":"https://api.github.com/users/ktsaou","html_url":"https://github.com/ktsaou","followers_url":"https://api.github.com/users/ktsaou/followers","following_url":"https://api.github.com/users/ktsaou/following{/other_user}","gists_url":"https://api.github.com/users/ktsaou/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsaou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsaou/subscriptions","organizations_url":"https://api.github.com/users/ktsaou/orgs","repos_url":"https://api.github.com/users/ktsaou/repos","events_url":"https://api.github.com/users/ktsaou/events{/privacy}","received_events_url":"https://api.github.com/users/ktsaou/received_events","type":"User","site_admin":false},"repo":{"id":55527319,"name":"netdata","full_name":"ktsaou/netdata","owner":{"login":"ktsaou","id":2662304,"avatar_url":"https://avatars3.githubusercontent.com/u/2662304?v=4","gravatar_id":"","url":"https://api.github.com/users/ktsaou","html_url":"https://github.com/ktsaou","followers_url":"https://api.github.com/users/ktsaou/followers","following_url":"https://api.github.com/users/ktsaou/following{/other_user}","gists_url":"https://api.github.com/users/ktsaou/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsaou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsaou/subscriptions","organizations_url":"https://api.github.com/users/ktsaou/orgs","repos_url":"https://api.github.com/users/ktsaou/repos","events_url":"https://api.github.com/users/ktsaou/events{/privacy}","received_events_url":"https://api.github.com/users/ktsaou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ktsaou/netdata","description":"Real-time performance monitoring, done right!","fork":true,"url":"https://api.github.com/repos/ktsaou/netdata","forks_url":"https://api.github.com/repos/ktsaou/netdata/forks","keys_url":"https://api.github.com/repos/ktsaou/netdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ktsaou/netdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ktsaou/netdata/teams","hooks_url":"https://api.github.com/repos/ktsaou/netdata/hooks","issue_events_url":"https://api.github.com/repos/ktsaou/netdata/issues/events{/number}","events_url":"https://api.github.com/repos/ktsaou/netdata/events","assignees_url":"https://api.github.com/repos/ktsaou/netdata/assignees{/user}","branches_url":"https://api.github.com/repos/ktsaou/netdata/branches{/branch}","tags_url":"https://api.github.com/repos/ktsaou/netdata/tags","blobs_url":"https://api.github.com/repos/ktsaou/netdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ktsaou/netdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ktsaou/netdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/ktsaou/netdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ktsaou/netdata/statuses/{sha}","languages_url":"https://api.github.com/repos/ktsaou/netdata/languages","stargazers_url":"https://api.github.com/repos/ktsaou/netdata/stargazers","contributors_url":"https://api.github.com/repos/ktsaou/netdata/contributors","subscribers_url":"https://api.github.com/repos/ktsaou/netdata/subscribers","subscription_url":"https://api.github.com/repos/ktsaou/netdata/subscription","commits_url":"https://api.github.com/repos/ktsaou/netdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/ktsaou/netdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/ktsaou/netdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/ktsaou/netdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/ktsaou/netdata/contents/{+path}","compare_url":"https://api.github.com/repos/ktsaou/netdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ktsaou/netdata/merges","archive_url":"https://api.github.com/repos/ktsaou/netdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ktsaou/netdata/downloads","issues_url":"https://api.github.com/repos/ktsaou/netdata/issues{/number}","pulls_url":"https://api.github.com/repos/ktsaou/netdata/pulls{/number}","milestones_url":"https://api.github.com/repos/ktsaou/netdata/milestones{/number}","notifications_url":"https://api.github.com/repos/ktsaou/netdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ktsaou/netdata/labels{/name}","releases_url":"https://api.github.com/repos/ktsaou/netdata/releases{/id}","deployments_url":"https://api.github.com/repos/ktsaou/netdata/deployments","created_at":"2016-04-05T17:17:22Z","updated_at":"2018-02-01T01:29:14Z","pushed_at":"2018-02-04T02:15:13Z","git_url":"git://github.com/ktsaou/netdata.git","ssh_url":"git@github.com:ktsaou/netdata.git","clone_url":"https://github.com/ktsaou/netdata.git","svn_url":"https://github.com/ktsaou/netdata","homepage":"http://my-netdata.io","size":22815,"stargazers_count":48,"watchers_count":48,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":13,"open_issues":0,"watchers":48,"default_branch":"master"}},"base":{"label":"firehol:master","ref":"master","sha":"f2c8cc025c45c73826340d13df40d77a0d0f2055","user":{"login":"firehol","id":9442231,"avatar_url":"https://avatars2.githubusercontent.com/u/9442231?v=4","gravatar_id":"","url":"https://api.github.com/users/firehol","html_url":"https://github.com/firehol","followers_url":"https://api.github.com/users/firehol/followers","following_url":"https://api.github.com/users/firehol/following{/other_user}","gists_url":"https://api.github.com/users/firehol/gists{/gist_id}","starred_url":"https://api.github.com/users/firehol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firehol/subscriptions","organizations_url":"https://api.github.com/users/firehol/orgs","repos_url":"https://api.github.com/users/firehol/repos","events_url":"https://api.github.com/users/firehol/events{/privacy}","received_events_url":"https://api.github.com/users/firehol/received_events","type":"Organization","site_admin":false},"repo":{"id":10744183,"name":"netdata","full_name":"firehol/netdata","owner":{"login":"firehol","id":9442231,"avatar_url":"https://avatars2.githubusercontent.com/u/9442231?v=4","gravatar_id":"","url":"https://api.github.com/users/firehol","html_url":"https://github.com/firehol","followers_url":"https://api.github.com/users/firehol/followers","following_url":"https://api.github.com/users/firehol/following{/other_user}","gists_url":"https://api.github.com/users/firehol/gists{/gist_id}","starred_url":"https://api.github.com/users/firehol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firehol/subscriptions","organizations_url":"https://api.github.com/users/firehol/orgs","repos_url":"https://api.github.com/users/firehol/repos","events_url":"https://api.github.com/users/firehol/events{/privacy}","received_events_url":"https://api.github.com/users/firehol/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/firehol/netdata","description":"Get control of your servers. Simple. Effective. Awesome! https://my-netdata.io/","fork":false,"url":"https://api.github.com/repos/firehol/netdata","forks_url":"https://api.github.com/repos/firehol/netdata/forks","keys_url":"https://api.github.com/repos/firehol/netdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/firehol/netdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/firehol/netdata/teams","hooks_url":"https://api.github.com/repos/firehol/netdata/hooks","issue_events_url":"https://api.github.com/repos/firehol/netdata/issues/events{/number}","events_url":"https://api.github.com/repos/firehol/netdata/events","assignees_url":"https://api.github.com/repos/firehol/netdata/assignees{/user}","branches_url":"https://api.github.com/repos/firehol/netdata/branches{/branch}","tags_url":"https://api.github.com/repos/firehol/netdata/tags","blobs_url":"https://api.github.com/repos/firehol/netdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/firehol/netdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/firehol/netdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/firehol/netdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/firehol/netdata/statuses/{sha}","languages_url":"https://api.github.com/repos/firehol/netdata/languages","stargazers_url":"https://api.github.com/repos/firehol/netdata/stargazers","contributors_url":"https://api.github.com/repos/firehol/netdata/contributors","subscribers_url":"https://api.github.com/repos/firehol/netdata/subscribers","subscription_url":"https://api.github.com/repos/firehol/netdata/subscription","commits_url":"https://api.github.com/repos/firehol/netdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/firehol/netdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/firehol/netdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/firehol/netdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/firehol/netdata/contents/{+path}","compare_url":"https://api.github.com/repos/firehol/netdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/firehol/netdata/merges","archive_url":"https://api.github.com/repos/firehol/netdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/firehol/netdata/downloads","issues_url":"https://api.github.com/repos/firehol/netdata/issues{/number}","pulls_url":"https://api.github.com/repos/firehol/netdata/pulls{/number}","milestones_url":"https://api.github.com/repos/firehol/netdata/milestones{/number}","notifications_url":"https://api.github.com/repos/firehol/netdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/firehol/netdata/labels{/name}","releases_url":"https://api.github.com/repos/firehol/netdata/releases{/id}","deployments_url":"https://api.github.com/repos/firehol/netdata/deployments","created_at":"2013-06-17T18:39:10Z","updated_at":"2018-02-04T01:30:01Z","pushed_at":"2018-02-04T02:02:08Z","git_url":"git://github.com/firehol/netdata.git","ssh_url":"git@github.com:firehol/netdata.git","clone_url":"https://github.com/firehol/netdata.git","svn_url":"https://github.com/firehol/netdata","homepage":"","size":22718,"stargazers_count":27230,"watchers_count":27230,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2259,"mirror_url":null,"archived":false,"open_issues_count":353,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2259,"open_issues":353,"watchers":27230,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/firehol/netdata/pulls/3387"},"html":{"href":"https://github.com/firehol/netdata/pull/3387"},"issue":{"href":"https://api.github.com/repos/firehol/netdata/issues/3387"},"comments":{"href":"https://api.github.com/repos/firehol/netdata/issues/3387/comments"},"review_comments":{"href":"https://api.github.com/repos/firehol/netdata/pulls/3387/comments"},"review_comment":{"href":"https://api.github.com/repos/firehol/netdata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/firehol/netdata/pulls/3387/commits"},"statuses":{"href":"https://api.github.com/repos/firehol/netdata/statuses/8b7cd623aa59ae5f2fc9057cf8986fcef1d8a55f"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":1882,"deletions":1907,"changed_files":2}}
{"actor":{"display_login":"ktsaou"}}