{"action":"created","issue":{"url":"https://api.github.com/repos/MoOx/statinamic/issues/187","repository_url":"https://api.github.com/repos/MoOx/statinamic","labels_url":"https://api.github.com/repos/MoOx/statinamic/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/MoOx/statinamic/issues/187/comments","events_url":"https://api.github.com/repos/MoOx/statinamic/issues/187/events","html_url":"https://github.com/MoOx/statinamic/issues/187","id":136059685,"number":187,"title":"Performance issue after upgrade to 0.8.0","user":{"login":"thangngoc89","id":3049054,"avatar_url":"https://avatars.githubusercontent.com/u/3049054?v=3","gravatar_id":"","url":"https://api.github.com/users/thangngoc89","html_url":"https://github.com/thangngoc89","followers_url":"https://api.github.com/users/thangngoc89/followers","following_url":"https://api.github.com/users/thangngoc89/following{/other_user}","gists_url":"https://api.github.com/users/thangngoc89/gists{/gist_id}","starred_url":"https://api.github.com/users/thangngoc89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thangngoc89/subscriptions","organizations_url":"https://api.github.com/users/thangngoc89/orgs","repos_url":"https://api.github.com/users/thangngoc89/repos","events_url":"https://api.github.com/users/thangngoc89/events{/privacy}","received_events_url":"https://api.github.com/users/thangngoc89/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MoOx/statinamic/labels/status:%20need%20investigation","name":"status: need investigation","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-24T13:21:04Z","updated_at":"2016-02-24T14:31:45Z","closed_at":null,"body":"I noticed that generating html static file tooks too long after upgrading to 0.8.0.\r\n\r\nHere is some information from Travis build of statinamic master branch\r\n\r\n0.7.1: [197ms](https://travis-ci.org/MoOx/statinamic/jobs/110829222#L2091)\r\n0.8.0: [27s](https://travis-ci.org/MoOx/statinamic/jobs/111449156#L2147)\r\n\r\nMaybe because of these LoC ? \r\n\r\n```\r\n  const {\r\n    layouts,\r\n    metadata,\r\n    routes,\r\n  } = importExports(exports)\r\n```\r\n\r\n(https://github.com/MoOx/statinamic/blob/next/src%2Fstatic%2Fto-html%2Furl-as-html.js#L25-L29)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MoOx/statinamic/issues/comments/188278367","html_url":"https://github.com/MoOx/statinamic/issues/187#issuecomment-188278367","issue_url":"https://api.github.com/repos/MoOx/statinamic/issues/187","id":188278367,"user":{"login":"thangngoc89","id":3049054,"avatar_url":"https://avatars.githubusercontent.com/u/3049054?v=3","gravatar_id":"","url":"https://api.github.com/users/thangngoc89","html_url":"https://github.com/thangngoc89","followers_url":"https://api.github.com/users/thangngoc89/followers","following_url":"https://api.github.com/users/thangngoc89/following{/other_user}","gists_url":"https://api.github.com/users/thangngoc89/gists{/gist_id}","starred_url":"https://api.github.com/users/thangngoc89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thangngoc89/subscriptions","organizations_url":"https://api.github.com/users/thangngoc89/orgs","repos_url":"https://api.github.com/users/thangngoc89/repos","events_url":"https://api.github.com/users/thangngoc89/events{/privacy}","received_events_url":"https://api.github.com/users/thangngoc89/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T14:31:45Z","updated_at":"2016-02-24T14:31:45Z","body":"@MoOx Yes. I know. I send a PR to fix it in the first place."}}