{"action":"created","issue":{"url":"https://api.github.com/repos/acemod/ACE3/issues/2031","labels_url":"https://api.github.com/repos/acemod/ACE3/issues/2031/labels{/name}","comments_url":"https://api.github.com/repos/acemod/ACE3/issues/2031/comments","events_url":"https://api.github.com/repos/acemod/ACE3/issues/2031/events","html_url":"https://github.com/acemod/ACE3/pull/2031","id":99359692,"number":2031,"title":"CreateLitter / syncEvents performance fixes","user":{"login":"PabstMirror","id":9376747,"avatar_url":"https://avatars.githubusercontent.com/u/9376747?v=3","gravatar_id":"","url":"https://api.github.com/users/PabstMirror","html_url":"https://github.com/PabstMirror","followers_url":"https://api.github.com/users/PabstMirror/followers","following_url":"https://api.github.com/users/PabstMirror/following{/other_user}","gists_url":"https://api.github.com/users/PabstMirror/gists{/gist_id}","starred_url":"https://api.github.com/users/PabstMirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PabstMirror/subscriptions","organizations_url":"https://api.github.com/users/PabstMirror/orgs","repos_url":"https://api.github.com/users/PabstMirror/repos","events_url":"https://api.github.com/users/PabstMirror/events{/privacy}","received_events_url":"https://api.github.com/users/PabstMirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/acemod/ACE3/labels/Bug%20fix","name":"Bug fix","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/acemod/ACE3/milestones/6","html_url":"https://github.com/acemod/ACE3/milestones/3.3.0","labels_url":"https://api.github.com/repos/acemod/ACE3/milestones/6/labels","id":1120680,"number":6,"title":"3.3.0","description":"","creator":{"login":"bux578","id":1235520,"avatar_url":"https://avatars.githubusercontent.com/u/1235520?v=3","gravatar_id":"","url":"https://api.github.com/users/bux578","html_url":"https://github.com/bux578","followers_url":"https://api.github.com/users/bux578/followers","following_url":"https://api.github.com/users/bux578/following{/other_user}","gists_url":"https://api.github.com/users/bux578/gists{/gist_id}","starred_url":"https://api.github.com/users/bux578/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bux578/subscriptions","organizations_url":"https://api.github.com/users/bux578/orgs","repos_url":"https://api.github.com/users/bux578/repos","events_url":"https://api.github.com/users/bux578/events{/privacy}","received_events_url":"https://api.github.com/users/bux578/received_events","type":"User","site_admin":false},"open_issues":113,"closed_issues":16,"state":"open","created_at":"2015-05-20T10:38:55Z","updated_at":"2015-08-06T05:36:45Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-06T05:36:45Z","updated_at":"2015-08-06T05:40:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/acemod/ACE3/pulls/2031","html_url":"https://github.com/acemod/ACE3/pull/2031","diff_url":"https://github.com/acemod/ACE3/pull/2031.diff","patch_url":"https://github.com/acemod/ACE3/pull/2031.patch"},"body":"* Common: Top of fnc_syncedEventPFH.sqf is `if(!isServer) exitWith { false };` - so there is no reason to install that PFEH anywhere but the server.\r\n\r\n* Medical: GVAR(litterPFHRunning) was never set true, so it installed an additional PFEH for each litter created."},"comment":{"url":"https://api.github.com/repos/acemod/ACE3/issues/comments/128250334","html_url":"https://github.com/acemod/ACE3/pull/2031#issuecomment-128250334","issue_url":"https://api.github.com/repos/acemod/ACE3/issues/2031","id":128250334,"user":{"login":"PabstMirror","id":9376747,"avatar_url":"https://avatars.githubusercontent.com/u/9376747?v=3","gravatar_id":"","url":"https://api.github.com/users/PabstMirror","html_url":"https://github.com/PabstMirror","followers_url":"https://api.github.com/users/PabstMirror/followers","following_url":"https://api.github.com/users/PabstMirror/following{/other_user}","gists_url":"https://api.github.com/users/PabstMirror/gists{/gist_id}","starred_url":"https://api.github.com/users/PabstMirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PabstMirror/subscriptions","organizations_url":"https://api.github.com/users/PabstMirror/orgs","repos_url":"https://api.github.com/users/PabstMirror/repos","events_url":"https://api.github.com/users/PabstMirror/events{/privacy}","received_events_url":"https://api.github.com/users/PabstMirror/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T05:40:17Z","updated_at":"2015-08-06T05:40:17Z","body":"Also, via `#define ENABLE_PERFORMANCE_COUNTERS`\r\nand `[] call ace_common_fnc_dumpPerformanceCounters` you can get some great debugging output:\r\n\r\nTwo clients bandaging like crazy:\r\n```\r\nRegistered PFH: id=34 [REMOVED, delay 0], z\\ace\\addons\\common\\functions\\fnc_progressBar.sqf:107\r\nRegistered PFH: id=35 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=36 [ACTIVE, delay 1], z\\ace\\addons\\medical\\functions\\fnc_addToInjuredCollection.sqf:56\r\nRegistered PFH: id=37 [REMOVED, delay 0], z\\ace\\addons\\common\\functions\\fnc_progressBar.sqf:107\r\nRegistered PFH: id=38 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=39 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=40 [REMOVED, delay 0], z\\ace\\addons\\common\\functions\\fnc_progressBar.sqf:107\r\nRegistered PFH: id=41 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=42 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=43 [REMOVED, delay 0], z\\ace\\addons\\common\\functions\\fnc_progressBar.sqf:107\r\nRegistered PFH: id=44 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=45 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=46 [REMOVED, delay 0], z\\ace\\addons\\common\\functions\\fnc_progressBar.sqf:107\r\nRegistered PFH: id=47 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=48 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=49 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=50 [REMOVED, delay 0], z\\ace\\addons\\common\\functions\\fnc_progressBar.sqf:107\r\nRegistered PFH: id=51 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=52 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=53 [REMOVED, delay 0], z\\ace\\addons\\common\\functions\\fnc_progressBar.sqf:107\r\nRegistered PFH: id=54 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\nRegistered PFH: id=55 [ACTIVE, delay 30], z\\ace\\addons\\medical\\functions\\fnc_handleCreateLitter.sqf:48\r\n```"}}