{"action":"created","issue":{"url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/issues/196","repository_url":"https://api.github.com/repos/AJS-development/Ogar-unlimited","labels_url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/issues/196/comments","events_url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/issues/196/events","html_url":"https://github.com/AJS-development/Ogar-unlimited/issues/196","id":138707009,"number":196,"title":"Dev Discussion","user":{"login":"MichaelLeeHobbs","id":6986471,"avatar_url":"https://avatars.githubusercontent.com/u/6986471?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelLeeHobbs","html_url":"https://github.com/MichaelLeeHobbs","followers_url":"https://api.github.com/users/MichaelLeeHobbs/followers","following_url":"https://api.github.com/users/MichaelLeeHobbs/following{/other_user}","gists_url":"https://api.github.com/users/MichaelLeeHobbs/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelLeeHobbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelLeeHobbs/subscriptions","organizations_url":"https://api.github.com/users/MichaelLeeHobbs/orgs","repos_url":"https://api.github.com/users/MichaelLeeHobbs/repos","events_url":"https://api.github.com/users/MichaelLeeHobbs/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelLeeHobbs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/labels/To%20Developers","name":"To Developers","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"Agarian","id":15255724,"avatar_url":"https://avatars.githubusercontent.com/u/15255724?v=3","gravatar_id":"","url":"https://api.github.com/users/Agarian","html_url":"https://github.com/Agarian","followers_url":"https://api.github.com/users/Agarian/followers","following_url":"https://api.github.com/users/Agarian/following{/other_user}","gists_url":"https://api.github.com/users/Agarian/gists{/gist_id}","starred_url":"https://api.github.com/users/Agarian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Agarian/subscriptions","organizations_url":"https://api.github.com/users/Agarian/orgs","repos_url":"https://api.github.com/users/Agarian/repos","events_url":"https://api.github.com/users/Agarian/events{/privacy}","received_events_url":"https://api.github.com/users/Agarian/received_events","type":"User","site_admin":false},"milestone":null,"comments":87,"created_at":"2016-03-05T18:37:01Z","updated_at":"2016-03-17T13:04:43Z","closed_at":null,"body":"I've started profiling and nothing is standing out as a major issue for normal usage. I've scaled things up to 100 time normal. With this I mean I set the map size to 10 to 100 time larger, 10-100 times more food and viruses, as well as added in 50-1000 bots.\r\n\r\n1) On a small map my dev machine can handle around 700 bots while running both the server (in debug mode) and client on the same machine.No lag to speak of.\r\n\r\n2) When the map gets scaled up to 100 times the default size there starts to be issues with just the player on. Add it 60 bots and you have a lag spike/game freeze ever 3-4 seconds. I don't see a clear reason why and might need some help pinning the down. (See below) Also, I think this issues goes back to the original Ogar as I have seen this when my boys get crazy with the settings. \r\n\r\nWhen profiling there does not appear to be any issue on the server. It has time left over and goes idle between updates. On the client there are issues where it give an error in the console, skipping draw. I've done some initial investigation and I'm suspecting that either the client cannot handle those scales or there is an issue with the server updating the client in a reasonable time. I'm leaning toward server updating client as the issue. So that is what I will work on next is optimizing the server/client communication.\r\n\r\n3) Way ahead. We should start looking at converting the code over to ES6 as nodejs offically supports ES6. Next weekend if I have time I will look at how hard this will be to do. \r\n\r\n4) Branching. We should get a Dev branch going as well as a testing branch. Out side merges should be to dev branch where they can be reviewed by the devs. From there we should merge the dev into testing when we are ready release new features. After some period of time we  call the test branch as good and merge it into master and release it to the wild. :)\r\n"},"comment":{"url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/issues/comments/197870361","html_url":"https://github.com/AJS-development/Ogar-unlimited/issues/196#issuecomment-197870361","issue_url":"https://api.github.com/repos/AJS-development/Ogar-unlimited/issues/196","id":197870361,"user":{"login":"NatsuTheGreat","id":16052966,"avatar_url":"https://avatars.githubusercontent.com/u/16052966?v=3","gravatar_id":"","url":"https://api.github.com/users/NatsuTheGreat","html_url":"https://github.com/NatsuTheGreat","followers_url":"https://api.github.com/users/NatsuTheGreat/followers","following_url":"https://api.github.com/users/NatsuTheGreat/following{/other_user}","gists_url":"https://api.github.com/users/NatsuTheGreat/gists{/gist_id}","starred_url":"https://api.github.com/users/NatsuTheGreat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NatsuTheGreat/subscriptions","organizations_url":"https://api.github.com/users/NatsuTheGreat/orgs","repos_url":"https://api.github.com/users/NatsuTheGreat/repos","events_url":"https://api.github.com/users/NatsuTheGreat/events{/privacy}","received_events_url":"https://api.github.com/users/NatsuTheGreat/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T13:04:43Z","updated_at":"2016-03-17T13:04:43Z","body":"@retslac Sorry that I left without saying anything. Can you come sometime today?"}}