{"action":"created","issue":{"url":"https://api.github.com/repos/premake/premake-core/issues/442","repository_url":"https://api.github.com/repos/premake/premake-core","labels_url":"https://api.github.com/repos/premake/premake-core/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/premake/premake-core/issues/442/comments","events_url":"https://api.github.com/repos/premake/premake-core/issues/442/events","html_url":"https://github.com/premake/premake-core/issues/442","id":138135560,"number":442,"title":"Performance discussion/issues","user":{"login":"samsinsane","id":11887457,"avatar_url":"https://avatars.githubusercontent.com/u/11887457?v=3","gravatar_id":"","url":"https://api.github.com/users/samsinsane","html_url":"https://github.com/samsinsane","followers_url":"https://api.github.com/users/samsinsane/followers","following_url":"https://api.github.com/users/samsinsane/following{/other_user}","gists_url":"https://api.github.com/users/samsinsane/gists{/gist_id}","starred_url":"https://api.github.com/users/samsinsane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsinsane/subscriptions","organizations_url":"https://api.github.com/users/samsinsane/orgs","repos_url":"https://api.github.com/users/samsinsane/repos","events_url":"https://api.github.com/users/samsinsane/events{/privacy}","received_events_url":"https://api.github.com/users/samsinsane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-03T10:12:31Z","updated_at":"2016-03-08T16:12:48Z","closed_at":null,"body":"A [discussion](https://groups.google.com/d/topic/premake-development/UBy78gGwkks/discussion) was started on the forums regarding performance in alpha7, but has since timed out for replies. I figured we should probably have an issue open here to allow an ongoing discussion about performance and internal changes that need to occur to do this. It seems that our first problem is the `configset.compile` function, so are there any ideas for how to reduce the cost of this function?\r\n\r\nAdditionally, how should we go forward in terms of managing the performance of Premake? Should we create tools, or tests, to profile Premake better? @tvandijck [mentioned](https://github.com/premake/premake-core/issues/221#issuecomment-134270114) some numbers for one of the projects at Blizzard, should we replicate this situation and use it as our stress test? It's a real world case where Premake is being used, and it looks like it highlights some of the performance issues that Premake has on larger projects.\r\n\r\nWould there be a benefit to having a mode where Premake can store data from the previous run, such as a hash of the previous script, the previous action and the names of all the files that were found (or used?) in the last run? And using this to do an early exit if nothing has changed."},"comment":{"url":"https://api.github.com/repos/premake/premake-core/issues/comments/193843283","html_url":"https://github.com/premake/premake-core/issues/442#issuecomment-193843283","issue_url":"https://api.github.com/repos/premake/premake-core/issues/442","id":193843283,"user":{"login":"tvandijck","id":451515,"avatar_url":"https://avatars.githubusercontent.com/u/451515?v=3","gravatar_id":"","url":"https://api.github.com/users/tvandijck","html_url":"https://github.com/tvandijck","followers_url":"https://api.github.com/users/tvandijck/followers","following_url":"https://api.github.com/users/tvandijck/following{/other_user}","gists_url":"https://api.github.com/users/tvandijck/gists{/gist_id}","starred_url":"https://api.github.com/users/tvandijck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvandijck/subscriptions","organizations_url":"https://api.github.com/users/tvandijck/orgs","repos_url":"https://api.github.com/users/tvandijck/repos","events_url":"https://api.github.com/users/tvandijck/events{/privacy}","received_events_url":"https://api.github.com/users/tvandijck/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T16:12:48Z","updated_at":"2016-03-08T16:12:48Z","body":"> Premake takes around 400ms to generate my projects\r\n\r\nI envy all your peewee tiny projects ;) haha\r\n23000 ms here, although admittedly about 8000ms of that is http queries to our package server, which we should also fix, but that is our problem...\r\n\r\n"}}