{"action":"created","issue":{"url":"https://api.github.com/repos/Samsung/iotjs/issues/274","labels_url":"https://api.github.com/repos/Samsung/iotjs/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/Samsung/iotjs/issues/274/comments","events_url":"https://api.github.com/repos/Samsung/iotjs/issues/274/events","html_url":"https://github.com/Samsung/iotjs/issues/274","id":113529361,"number":274,"title":"To enable LTO for iotjs.","user":{"login":"huxinx","id":15228754,"avatar_url":"https://avatars.githubusercontent.com/u/15228754?v=3","gravatar_id":"","url":"https://api.github.com/users/huxinx","html_url":"https://github.com/huxinx","followers_url":"https://api.github.com/users/huxinx/followers","following_url":"https://api.github.com/users/huxinx/following{/other_user}","gists_url":"https://api.github.com/users/huxinx/gists{/gist_id}","starred_url":"https://api.github.com/users/huxinx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huxinx/subscriptions","organizations_url":"https://api.github.com/users/huxinx/orgs","repos_url":"https://api.github.com/users/huxinx/repos","events_url":"https://api.github.com/users/huxinx/events{/privacy}","received_events_url":"https://api.github.com/users/huxinx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-27T08:20:03Z","updated_at":"2015-12-03T09:30:12Z","closed_at":null,"body":"The current IoT.js is build without LTO.\r\nFrom my watching, after enable LTO,\r\nwe get a iotjs binary with shrunk binary size and boosting performance.\r\n\r\nHere is SunSpider 1.0.2 data I collected on ubuntu 15.04 32-bit, ATOM system,\r\nfirst column is LTO ON, the second is LTO OFF data.                                        \r\n\r\n3d-cube.js.......................1.475........9.782\r\naccess-binary-trees.js.....1.167........4.998\r\naccess-fannkuch.js.........3.803........26.549\r\naccess-nbody.js.............uncaughtException..uncaughtException\r\nbitops-3bit-bits-in-byte.js.1.494........9.407\r\nbitops-bits-in-byte.js\t........1.827........13.518\r\nbitops-bitwise-and.js........1.503........11.637\r\ncontrolflow-recursive.js....1.828.........6.407\r\ndate-format-xparb.js........2.177.........5.432\r\nmath-cordic.js..................1.902........13.313\r\nmath-partial-sums.js.........uncaughtException..uncaughtException\r\nmath-spectral-norm.js......1.351.........8.024\r\nstring-fasta.js....................6.824........15.988\r\n\r\n\r\nbinary size ,\r\n1.0M    iotjs.on  // LTO ON\r\n2.5M    iotjs.off  // LTO OFF\r\n\r\n\r\nSince LTO introduces so many benefits,  shall it be enabled ?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Samsung/iotjs/issues/comments/161566295","html_url":"https://github.com/Samsung/iotjs/issues/274#issuecomment-161566295","issue_url":"https://api.github.com/repos/Samsung/iotjs/issues/274","id":161566295,"user":{"login":"huxinx","id":15228754,"avatar_url":"https://avatars.githubusercontent.com/u/15228754?v=3","gravatar_id":"","url":"https://api.github.com/users/huxinx","html_url":"https://github.com/huxinx","followers_url":"https://api.github.com/users/huxinx/followers","following_url":"https://api.github.com/users/huxinx/following{/other_user}","gists_url":"https://api.github.com/users/huxinx/gists{/gist_id}","starred_url":"https://api.github.com/users/huxinx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huxinx/subscriptions","organizations_url":"https://api.github.com/users/huxinx/orgs","repos_url":"https://api.github.com/users/huxinx/repos","events_url":"https://api.github.com/users/huxinx/events{/privacy}","received_events_url":"https://api.github.com/users/huxinx/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T09:30:12Z","updated_at":"2015-12-03T09:30:12Z","body":"Since 275 has been merged, please close this one. "}}