{"action":"closed","number":7271,"pull_request":{"url":"https://api.github.com/repos/HippieStation/HippieStation/pulls/7271","id":177294655,"html_url":"https://github.com/HippieStation/HippieStation/pull/7271","diff_url":"https://github.com/HippieStation/HippieStation/pull/7271.diff","patch_url":"https://github.com/HippieStation/HippieStation/pull/7271.patch","issue_url":"https://api.github.com/repos/HippieStation/HippieStation/issues/7271","number":7271,"state":"closed","locked":false,"title":"[MIRROR] Monkey AI is now 10,000% more processor friendly","user":{"login":"HonkBot","id":25598968,"avatar_url":"https://avatars0.githubusercontent.com/u/25598968?v=4","gravatar_id":"","url":"https://api.github.com/users/HonkBot","html_url":"https://github.com/HonkBot","followers_url":"https://api.github.com/users/HonkBot/followers","following_url":"https://api.github.com/users/HonkBot/following{/other_user}","gists_url":"https://api.github.com/users/HonkBot/gists{/gist_id}","starred_url":"https://api.github.com/users/HonkBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HonkBot/subscriptions","organizations_url":"https://api.github.com/users/HonkBot/orgs","repos_url":"https://api.github.com/users/HonkBot/repos","events_url":"https://api.github.com/users/HonkBot/events{/privacy}","received_events_url":"https://api.github.com/users/HonkBot/received_events","type":"User","site_admin":false},"body":"Original PR: https://github.com/tgstation/tgstation/pull/36641\n--------------------\n:cl: Robustin\r\ncode: Monkey AI is now much more efficient and no longer full of terrible, wasteful processes\r\ntweak: Monkeys will now move more and will only focus on nearby objects for stealing. This should result in more natural monkey behavior instead of the monkey staring furiously at random shit in the room for 5 minutes until it has a 50 item blacklist of shit it will refuse to touch from then on out.\r\ntweak: The chance for a monkey to attack you for pulling it will now only happen when execute the initial grab, instead of a check that happens every tick. \r\n/:cl:\r\n\r\nSo I was running some performance tests for the first time and was surprised to see a god damn monkey proc as the #19 source of CPU usage on an empty server, god knows what it would look like when Xenobio is active. I took a look under the hood and saw shit like \"monkeys are looking for a disposal during every tick of their life, even if they have absolutely no plan to do anything with it\". I gave the proc a good scrubbing, some of the checks have been moved to Life() but overall it's much more efficient code now without sacrificing any of the stupid shit that monkeys do. \r\n\r\n\r\nAfter ~30 minutes on Box:\r\nhttps://i.imgur.com/Tjc46SV.png","created_at":"2018-03-25T15:20:30Z","updated_at":"2018-03-25T16:28:30Z","closed_at":"2018-03-25T16:28:30Z","merged_at":"2018-03-25T16:28:30Z","merge_commit_sha":"bdec726a1336b9fc42082ae281882e5ef24b5f01","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":719353615,"url":"https://api.github.com/repos/HippieStation/HippieStation/labels/Code%20Improvement","name":"Code Improvement","color":"ffccfa","default":false},{"id":626170749,"url":"https://api.github.com/repos/HippieStation/HippieStation/labels/Tweak","name":"Tweak","color":"e99695","default":false},{"id":558466759,"url":"https://api.github.com/repos/HippieStation/HippieStation/labels/Upstream%20PR%20Merged","name":"Upstream PR Merged","color":"6f42c1","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/HippieStation/HippieStation/pulls/7271/commits","review_comments_url":"https://api.github.com/repos/HippieStation/HippieStation/pulls/7271/comments","review_comment_url":"https://api.github.com/repos/HippieStation/HippieStation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HippieStation/HippieStation/issues/7271/comments","statuses_url":"https://api.github.com/repos/HippieStation/HippieStation/statuses/3239a654ade1468078321eb7e5d407682d5833b6","head":{"label":"HippieStation:upstream-merge-36641","ref":"upstream-merge-36641","sha":"3239a654ade1468078321eb7e5d407682d5833b6","user":{"login":"HippieStation","id":25507626,"avatar_url":"https://avatars1.githubusercontent.com/u/25507626?v=4","gravatar_id":"","url":"https://api.github.com/users/HippieStation","html_url":"https://github.com/HippieStation","followers_url":"https://api.github.com/users/HippieStation/followers","following_url":"https://api.github.com/users/HippieStation/following{/other_user}","gists_url":"https://api.github.com/users/HippieStation/gists{/gist_id}","starred_url":"https://api.github.com/users/HippieStation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HippieStation/subscriptions","organizations_url":"https://api.github.com/users/HippieStation/orgs","repos_url":"https://api.github.com/users/HippieStation/repos","events_url":"https://api.github.com/users/HippieStation/events{/privacy}","received_events_url":"https://api.github.com/users/HippieStation/received_events","type":"Organization","site_admin":false},"repo":{"id":84665083,"name":"HippieStation","full_name":"HippieStation/HippieStation","owner":{"login":"HippieStation","id":25507626,"avatar_url":"https://avatars1.githubusercontent.com/u/25507626?v=4","gravatar_id":"","url":"https://api.github.com/users/HippieStation","html_url":"https://github.com/HippieStation","followers_url":"https://api.github.com/users/HippieStation/followers","following_url":"https://api.github.com/users/HippieStation/following{/other_user}","gists_url":"https://api.github.com/users/HippieStation/gists{/gist_id}","starred_url":"https://api.github.com/users/HippieStation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HippieStation/subscriptions","organizations_url":"https://api.github.com/users/HippieStation/orgs","repos_url":"https://api.github.com/users/HippieStation/repos","events_url":"https://api.github.com/users/HippieStation/events{/privacy}","received_events_url":"https://api.github.com/users/HippieStation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HippieStation/HippieStation","description":"The Hippie Station branch of SS13","fork":true,"url":"https://api.github.com/repos/HippieStation/HippieStation","forks_url":"https://api.github.com/repos/HippieStation/HippieStation/forks","keys_url":"https://api.github.com/repos/HippieStation/HippieStation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HippieStation/HippieStation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HippieStation/HippieStation/teams","hooks_url":"https://api.github.com/repos/HippieStation/HippieStation/hooks","issue_events_url":"https://api.github.com/repos/HippieStation/HippieStation/issues/events{/number}","events_url":"https://api.github.com/repos/HippieStation/HippieStation/events","assignees_url":"https://api.github.com/repos/HippieStation/HippieStation/assignees{/user}","branches_url":"https://api.github.com/repos/HippieStation/HippieStation/branches{/branch}","tags_url":"https://api.github.com/repos/HippieStation/HippieStation/tags","blobs_url":"https://api.github.com/repos/HippieStation/HippieStation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HippieStation/HippieStation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HippieStation/HippieStation/git/refs{/sha}","trees_url":"https://api.github.com/repos/HippieStation/HippieStation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HippieStation/HippieStation/statuses/{sha}","languages_url":"https://api.github.com/repos/HippieStation/HippieStation/languages","stargazers_url":"https://api.github.com/repos/HippieStation/HippieStation/stargazers","contributors_url":"https://api.github.com/repos/HippieStation/HippieStation/contributors","subscribers_url":"https://api.github.com/repos/HippieStation/HippieStation/subscribers","subscription_url":"https://api.github.com/repos/HippieStation/HippieStation/subscription","commits_url":"https://api.github.com/repos/HippieStation/HippieStation/commits{/sha}","git_commits_url":"https://api.github.com/repos/HippieStation/HippieStation/git/commits{/sha}","comments_url":"https://api.github.com/repos/HippieStation/HippieStation/comments{/number}","issue_comment_url":"https://api.github.com/repos/HippieStation/HippieStation/issues/comments{/number}","contents_url":"https://api.github.com/repos/HippieStation/HippieStation/contents/{+path}","compare_url":"https://api.github.com/repos/HippieStation/HippieStation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HippieStation/HippieStation/merges","archive_url":"https://api.github.com/repos/HippieStation/HippieStation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HippieStation/HippieStation/downloads","issues_url":"https://api.github.com/repos/HippieStation/HippieStation/issues{/number}","pulls_url":"https://api.github.com/repos/HippieStation/HippieStation/pulls{/number}","milestones_url":"https://api.github.com/repos/HippieStation/HippieStation/milestones{/number}","notifications_url":"https://api.github.com/repos/HippieStation/HippieStation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HippieStation/HippieStation/labels{/name}","releases_url":"https://api.github.com/repos/HippieStation/HippieStation/releases{/id}","deployments_url":"https://api.github.com/repos/HippieStation/HippieStation/deployments","created_at":"2017-03-11T16:47:28Z","updated_at":"2018-03-25T16:28:00Z","pushed_at":"2018-03-25T16:28:30Z","git_url":"git://github.com/HippieStation/HippieStation.git","ssh_url":"git@github.com:HippieStation/HippieStation.git","clone_url":"https://github.com/HippieStation/HippieStation.git","svn_url":"https://github.com/HippieStation/HippieStation","homepage":"https://hippiestation.com/","size":2088477,"stargazers_count":14,"watchers_count":14,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":50,"mirror_url":null,"archived":false,"open_issues_count":108,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":50,"open_issues":108,"watchers":14,"default_branch":"master"}},"base":{"label":"HippieStation:master","ref":"master","sha":"05caeef8b524caf8e6d3c1b09970a0c57e680223","user":{"login":"HippieStation","id":25507626,"avatar_url":"https://avatars1.githubusercontent.com/u/25507626?v=4","gravatar_id":"","url":"https://api.github.com/users/HippieStation","html_url":"https://github.com/HippieStation","followers_url":"https://api.github.com/users/HippieStation/followers","following_url":"https://api.github.com/users/HippieStation/following{/other_user}","gists_url":"https://api.github.com/users/HippieStation/gists{/gist_id}","starred_url":"https://api.github.com/users/HippieStation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HippieStation/subscriptions","organizations_url":"https://api.github.com/users/HippieStation/orgs","repos_url":"https://api.github.com/users/HippieStation/repos","events_url":"https://api.github.com/users/HippieStation/events{/privacy}","received_events_url":"https://api.github.com/users/HippieStation/received_events","type":"Organization","site_admin":false},"repo":{"id":84665083,"name":"HippieStation","full_name":"HippieStation/HippieStation","owner":{"login":"HippieStation","id":25507626,"avatar_url":"https://avatars1.githubusercontent.com/u/25507626?v=4","gravatar_id":"","url":"https://api.github.com/users/HippieStation","html_url":"https://github.com/HippieStation","followers_url":"https://api.github.com/users/HippieStation/followers","following_url":"https://api.github.com/users/HippieStation/following{/other_user}","gists_url":"https://api.github.com/users/HippieStation/gists{/gist_id}","starred_url":"https://api.github.com/users/HippieStation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HippieStation/subscriptions","organizations_url":"https://api.github.com/users/HippieStation/orgs","repos_url":"https://api.github.com/users/HippieStation/repos","events_url":"https://api.github.com/users/HippieStation/events{/privacy}","received_events_url":"https://api.github.com/users/HippieStation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HippieStation/HippieStation","description":"The Hippie Station branch of SS13","fork":true,"url":"https://api.github.com/repos/HippieStation/HippieStation","forks_url":"https://api.github.com/repos/HippieStation/HippieStation/forks","keys_url":"https://api.github.com/repos/HippieStation/HippieStation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HippieStation/HippieStation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HippieStation/HippieStation/teams","hooks_url":"https://api.github.com/repos/HippieStation/HippieStation/hooks","issue_events_url":"https://api.github.com/repos/HippieStation/HippieStation/issues/events{/number}","events_url":"https://api.github.com/repos/HippieStation/HippieStation/events","assignees_url":"https://api.github.com/repos/HippieStation/HippieStation/assignees{/user}","branches_url":"https://api.github.com/repos/HippieStation/HippieStation/branches{/branch}","tags_url":"https://api.github.com/repos/HippieStation/HippieStation/tags","blobs_url":"https://api.github.com/repos/HippieStation/HippieStation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HippieStation/HippieStation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HippieStation/HippieStation/git/refs{/sha}","trees_url":"https://api.github.com/repos/HippieStation/HippieStation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HippieStation/HippieStation/statuses/{sha}","languages_url":"https://api.github.com/repos/HippieStation/HippieStation/languages","stargazers_url":"https://api.github.com/repos/HippieStation/HippieStation/stargazers","contributors_url":"https://api.github.com/repos/HippieStation/HippieStation/contributors","subscribers_url":"https://api.github.com/repos/HippieStation/HippieStation/subscribers","subscription_url":"https://api.github.com/repos/HippieStation/HippieStation/subscription","commits_url":"https://api.github.com/repos/HippieStation/HippieStation/commits{/sha}","git_commits_url":"https://api.github.com/repos/HippieStation/HippieStation/git/commits{/sha}","comments_url":"https://api.github.com/repos/HippieStation/HippieStation/comments{/number}","issue_comment_url":"https://api.github.com/repos/HippieStation/HippieStation/issues/comments{/number}","contents_url":"https://api.github.com/repos/HippieStation/HippieStation/contents/{+path}","compare_url":"https://api.github.com/repos/HippieStation/HippieStation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HippieStation/HippieStation/merges","archive_url":"https://api.github.com/repos/HippieStation/HippieStation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HippieStation/HippieStation/downloads","issues_url":"https://api.github.com/repos/HippieStation/HippieStation/issues{/number}","pulls_url":"https://api.github.com/repos/HippieStation/HippieStation/pulls{/number}","milestones_url":"https://api.github.com/repos/HippieStation/HippieStation/milestones{/number}","notifications_url":"https://api.github.com/repos/HippieStation/HippieStation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HippieStation/HippieStation/labels{/name}","releases_url":"https://api.github.com/repos/HippieStation/HippieStation/releases{/id}","deployments_url":"https://api.github.com/repos/HippieStation/HippieStation/deployments","created_at":"2017-03-11T16:47:28Z","updated_at":"2018-03-25T16:28:00Z","pushed_at":"2018-03-25T16:28:30Z","git_url":"git://github.com/HippieStation/HippieStation.git","ssh_url":"git@github.com:HippieStation/HippieStation.git","clone_url":"https://github.com/HippieStation/HippieStation.git","svn_url":"https://github.com/HippieStation/HippieStation","homepage":"https://hippiestation.com/","size":2088477,"stargazers_count":14,"watchers_count":14,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":50,"mirror_url":null,"archived":false,"open_issues_count":108,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":50,"open_issues":108,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HippieStation/HippieStation/pulls/7271"},"html":{"href":"https://github.com/HippieStation/HippieStation/pull/7271"},"issue":{"href":"https://api.github.com/repos/HippieStation/HippieStation/issues/7271"},"comments":{"href":"https://api.github.com/repos/HippieStation/HippieStation/issues/7271/comments"},"review_comments":{"href":"https://api.github.com/repos/HippieStation/HippieStation/pulls/7271/comments"},"review_comment":{"href":"https://api.github.com/repos/HippieStation/HippieStation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HippieStation/HippieStation/pulls/7271/commits"},"statuses":{"href":"https://api.github.com/repos/HippieStation/HippieStation/statuses/3239a654ade1468078321eb7e5d407682d5833b6"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Pyko1","id":12048747,"avatar_url":"https://avatars3.githubusercontent.com/u/12048747?v=4","gravatar_id":"","url":"https://api.github.com/users/Pyko1","html_url":"https://github.com/Pyko1","followers_url":"https://api.github.com/users/Pyko1/followers","following_url":"https://api.github.com/users/Pyko1/following{/other_user}","gists_url":"https://api.github.com/users/Pyko1/gists{/gist_id}","starred_url":"https://api.github.com/users/Pyko1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pyko1/subscriptions","organizations_url":"https://api.github.com/users/Pyko1/orgs","repos_url":"https://api.github.com/users/Pyko1/repos","events_url":"https://api.github.com/users/Pyko1/events{/privacy}","received_events_url":"https://api.github.com/users/Pyko1/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":63,"deletions":102,"changed_files":3}}
{"actor":{"display_login":"Pyko1"}}