GitHub PullRequestEvent at 2014-07-04 20:18:48
Repository: sprockets
Actor: jeltz
Payload: {"action":"opened","number":597,"pull_request":{"url":"https://api.github.com/repos/sstephenson/sprockets/pulls/597","id":18004274,"html_url":"https://github.com/sstephenson/sprockets/pull/597","diff_url":"https://github.com/sstephenson/sprockets/pull/597.diff","patch_url":"https://github.com/sstephenson/sprockets/pull/597.patch","issue_url":"https://api.github.com/repos/sstephenson/sprockets/issues/597","number":597,"state":"open","title":"Speed up Manifest#clean by reducing complexity","user":{"login":"jeltz","id":78469,"avatar_url":"https://avatars.githubusercontent.com/u/78469?","gravatar_id":"e221a081a1f7bfcfb248b9b9aa5ade32","url":"https://api.github.com/users/jeltz","html_url":"https://github.com/jeltz","followers_url":"https://api.github.com/users/jeltz/followers","following_url":"https://api.github.com/users/jeltz/following{/other_user}","gists_url":"https://api.github.com/users/jeltz/gists{/gist_id}","starred_url":"https://api.github.com/users/jeltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeltz/subscriptions","organizations_url":"https://api.github.com/users/jeltz/orgs","repos_url":"https://api.github.com/users/jeltz/repos","events_url":"https://api.github.com/users/jeltz/events{/privacy}","received_events_url":"https://api.github.com/users/jeltz/received_events","type":"User","site_admin":false},"body":"Change cleaning old compiled assets from using a O(n^2) to a O(n)\r\nalgorithm for finding old files to remove. This matters since there\r\ncan be thousands of assets.\r\n\r\nWhen benchmarking in a project with about 6000 assets this patch improved runtime from 20 seconds to 0.04 seconds, a 500 times speed up.","created_at":"2014-07-04T20:18:47Z","updated_at":"2014-07-04T20:18:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f46a2d4a389689bd06b4e2087feffaff246763f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sstephenson/sprockets/pulls/597/commits","review_comments_url":"https://api.github.com/repos/sstephenson/sprockets/pulls/597/comments","review_comment_url":"https://api.github.com/repos/sstephenson/sprockets/pulls/comments/{number}","comments_url":"https://api.github.com/repos/sstephenson/sprockets/issues/597/comments","statuses_url":"https://api.github.com/repos/sstephenson/sprockets/statuses/684bd453f5fd1cc5dc6fe4c17f045c508eecdec4","head":{"label":"jeltz:faster_clean_assets","ref":"faster_clean_assets","sha":"684bd453f5fd1cc5dc6fe4c17f045c508eecdec4","user":{"login":"jeltz","id":78469,"avatar_url":"https://avatars.githubusercontent.com/u/78469?","gravatar_id":"e221a081a1f7bfcfb248b9b9aa5ade32","url":"https://api.github.com/users/jeltz","html_url":"https://github.com/jeltz","followers_url":"https://api.github.com/users/jeltz/followers","following_url":"https://api.github.com/users/jeltz/following{/other_user}","gists_url":"https://api.github.com/users/jeltz/gists{/gist_id}","starred_url":"https://api.github.com/users/jeltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeltz/subscriptions","organizations_url":"https://api.github.com/users/jeltz/orgs","repos_url":"https://api.github.com/users/jeltz/repos","events_url":"https://api.github.com/users/jeltz/events{/privacy}","received_events_url":"https://api.github.com/users/jeltz/received_events","type":"User","site_admin":false},"repo":{"id":21506383,"name":"sprockets","full_name":"jeltz/sprockets","owner":{"login":"jeltz","id":78469,"avatar_url":"https://avatars.githubusercontent.com/u/78469?","gravatar_id":"e221a081a1f7bfcfb248b9b9aa5ade32","url":"https://api.github.com/users/jeltz","html_url":"https://github.com/jeltz","followers_url":"https://api.github.com/users/jeltz/followers","following_url":"https://api.github.com/users/jeltz/following{/other_user}","gists_url":"https://api.github.com/users/jeltz/gists{/gist_id}","starred_url":"https://api.github.com/users/jeltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeltz/subscriptions","organizations_url":"https://api.github.com/users/jeltz/orgs","repos_url":"https://api.github.com/users/jeltz/repos","events_url":"https://api.github.com/users/jeltz/events{/privacy}","received_events_url":"https://api.github.com/users/jeltz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeltz/sprockets","description":"Rack-based asset packaging system","fork":true,"url":"https://api.github.com/repos/jeltz/sprockets","forks_url":"https://api.github.com/repos/jeltz/sprockets/forks","keys_url":"https://api.github.com/repos/jeltz/sprockets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeltz/sprockets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeltz/sprockets/teams","hooks_url":"https://api.github.com/repos/jeltz/sprockets/hooks","issue_events_url":"https://api.github.com/repos/jeltz/sprockets/issues/events{/number}","events_url":"https://api.github.com/repos/jeltz/sprockets/events","assignees_url":"https://api.github.com/repos/jeltz/sprockets/assignees{/user}","branches_url":"https://api.github.com/repos/jeltz/sprockets/branches{/branch}","tags_url":"https://api.github.com/repos/jeltz/sprockets/tags","blobs_url":"https://api.github.com/repos/jeltz/sprockets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeltz/sprockets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeltz/sprockets/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeltz/sprockets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeltz/sprockets/statuses/{sha}","languages_url":"https://api.github.com/repos/jeltz/sprockets/languages","stargazers_url":"https://api.github.com/repos/jeltz/sprockets/stargazers","contributors_url":"https://api.github.com/repos/jeltz/sprockets/contributors","subscribers_url":"https://api.github.com/repos/jeltz/sprockets/subscribers","subscription_url":"https://api.github.com/repos/jeltz/sprockets/subscription","commits_url":"https://api.github.com/repos/jeltz/sprockets/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeltz/sprockets/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeltz/sprockets/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeltz/sprockets/issues/comments/{number}","contents_url":"https://api.github.com/repos/jeltz/sprockets/contents/{+path}","compare_url":"https://api.github.com/repos/jeltz/sprockets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeltz/sprockets/merges","archive_url":"https://api.github.com/repos/jeltz/sprockets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeltz/sprockets/downloads","issues_url":"https://api.github.com/repos/jeltz/sprockets/issues{/number}","pulls_url":"https://api.github.com/repos/jeltz/sprockets/pulls{/number}","milestones_url":"https://api.github.com/repos/jeltz/sprockets/milestones{/number}","notifications_url":"https://api.github.com/repos/jeltz/sprockets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeltz/sprockets/labels{/name}","releases_url":"https://api.github.com/repos/jeltz/sprockets/releases{/id}","created_at":"2014-07-04T19:39:57Z","updated_at":"2014-07-04T16:32:59Z","pushed_at":"2014-07-04T20:16:43Z","git_url":"git://github.com/jeltz/sprockets.git","ssh_url":"git@github.com:jeltz/sprockets.git","clone_url":"https://github.com/jeltz/sprockets.git","svn_url":"https://github.com/jeltz/sprockets","homepage":"","size":6384,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sstephenson:master","ref":"master","sha":"02d21ed11697e24115aebf4d5098dcf4ad7d2473","user":{"login":"sstephenson","id":2603,"avatar_url":"https://avatars.githubusercontent.com/u/2603?","gravatar_id":"5b9fe87ec1faa67a4599782930f45ec9","url":"https://api.github.com/users/sstephenson","html_url":"https://github.com/sstephenson","followers_url":"https://api.github.com/users/sstephenson/followers","following_url":"https://api.github.com/users/sstephenson/following{/other_user}","gists_url":"https://api.github.com/users/sstephenson/gists{/gist_id}","starred_url":"https://api.github.com/users/sstephenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstephenson/subscriptions","organizations_url":"https://api.github.com/users/sstephenson/orgs","repos_url":"https://api.github.com/users/sstephenson/repos","events_url":"https://api.github.com/users/sstephenson/events{/privacy}","received_events_url":"https://api.github.com/users/sstephenson/received_events","type":"User","site_admin":false},"repo":{"id":5497,"name":"sprockets","full_name":"sstephenson/sprockets","owner":{"login":"sstephenson","id":2603,"avatar_url":"https://avatars.githubusercontent.com/u/2603?","gravatar_id":"5b9fe87ec1faa67a4599782930f45ec9","url":"https://api.github.com/users/sstephenson","html_url":"https://github.com/sstephenson","followers_url":"https://api.github.com/users/sstephenson/followers","following_url":"https://api.github.com/users/sstephenson/following{/other_user}","gists_url":"https://api.github.com/users/sstephenson/gists{/gist_id}","starred_url":"https://api.github.com/users/sstephenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstephenson/subscriptions","organizations_url":"https://api.github.com/users/sstephenson/orgs","repos_url":"https://api.github.com/users/sstephenson/repos","events_url":"https://api.github.com/users/sstephenson/events{/privacy}","received_events_url":"https://api.github.com/users/sstephenson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sstephenson/sprockets","description":"Rack-based asset packaging system","fork":false,"url":"https://api.github.com/repos/sstephenson/sprockets","forks_url":"https://api.github.com/repos/sstephenson/sprockets/forks","keys_url":"https://api.github.com/repos/sstephenson/sprockets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sstephenson/sprockets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sstephenson/sprockets/teams","hooks_url":"https://api.github.com/repos/sstephenson/sprockets/hooks","issue_events_url":"https://api.github.com/repos/sstephenson/sprockets/issues/events{/number}","events_url":"https://api.github.com/repos/sstephenson/sprockets/events","assignees_url":"https://api.github.com/repos/sstephenson/sprockets/assignees{/user}","branches_url":"https://api.github.com/repos/sstephenson/sprockets/branches{/branch}","tags_url":"https://api.github.com/repos/sstephenson/sprockets/tags","blobs_url":"https://api.github.com/repos/sstephenson/sprockets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sstephenson/sprockets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sstephenson/sprockets/git/refs{/sha}","trees_url":"https://api.github.com/repos/sstephenson/sprockets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sstephenson/sprockets/statuses/{sha}","languages_url":"https://api.github.com/repos/sstephenson/sprockets/languages","stargazers_url":"https://api.github.com/repos/sstephenson/sprockets/stargazers","contributors_url":"https://api.github.com/repos/sstephenson/sprockets/contributors","subscribers_url":"https://api.github.com/repos/sstephenson/sprockets/subscribers","subscription_url":"https://api.github.com/repos/sstephenson/sprockets/subscription","commits_url":"https://api.github.com/repos/sstephenson/sprockets/commits{/sha}","git_commits_url":"https://api.github.com/repos/sstephenson/sprockets/git/commits{/sha}","comments_url":"https://api.github.com/repos/sstephenson/sprockets/comments{/number}","issue_comment_url":"https://api.github.com/repos/sstephenson/sprockets/issues/comments/{number}","contents_url":"https://api.github.com/repos/sstephenson/sprockets/contents/{+path}","compare_url":"https://api.github.com/repos/sstephenson/sprockets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sstephenson/sprockets/merges","archive_url":"https://api.github.com/repos/sstephenson/sprockets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sstephenson/sprockets/downloads","issues_url":"https://api.github.com/repos/sstephenson/sprockets/issues{/number}","pulls_url":"https://api.github.com/repos/sstephenson/sprockets/pulls{/number}","milestones_url":"https://api.github.com/repos/sstephenson/sprockets/milestones{/number}","notifications_url":"https://api.github.com/repos/sstephenson/sprockets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sstephenson/sprockets/labels{/name}","releases_url":"https://api.github.com/repos/sstephenson/sprockets/releases{/id}","created_at":"2008-03-27T02:37:32Z","updated_at":"2014-07-04T16:32:59Z","pushed_at":"2014-07-03T06:21:47Z","git_url":"git://github.com/sstephenson/sprockets.git","ssh_url":"git@github.com:sstephenson/sprockets.git","clone_url":"https://github.com/sstephenson/sprockets.git","svn_url":"https://github.com/sstephenson/sprockets","homepage":"","size":6384,"stargazers_count":2364,"watchers_count":2364,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":336,"mirror_url":null,"open_issues_count":7,"forks":336,"open_issues":7,"watchers":2364,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sstephenson/sprockets/pulls/597"},"html":{"href":"https://github.com/sstephenson/sprockets/pull/597"},"issue":{"href":"https://api.github.com/repos/sstephenson/sprockets/issues/597"},"comments":{"href":"https://api.github.com/repos/sstephenson/sprockets/issues/597/comments"},"review_comments":{"href":"https://api.github.com/repos/sstephenson/sprockets/pulls/597/comments"},"review_comment":{"href":"https://api.github.com/repos/sstephenson/sprockets/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/sstephenson/sprockets/pulls/597/commits"},"statuses":{"href":"https://api.github.com/repos/sstephenson/sprockets/statuses/684bd453f5fd1cc5dc6fe4c17f045c508eecdec4"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":20,"changed_files":1}}