{"action":"created","issue":{"url":"https://api.github.com/repos/ethcore/parity/issues/1152","repository_url":"https://api.github.com/repos/ethcore/parity","labels_url":"https://api.github.com/repos/ethcore/parity/issues/1152/labels{/name}","comments_url":"https://api.github.com/repos/ethcore/parity/issues/1152/comments","events_url":"https://api.github.com/repos/ethcore/parity/issues/1152/events","html_url":"https://github.com/ethcore/parity/issues/1152","id":157010895,"number":1152,"title":"emitting debug info may inhibit optimizations","user":{"login":"rphmeier","id":10121380,"avatar_url":"https://avatars.githubusercontent.com/u/10121380?v=3","gravatar_id":"","url":"https://api.github.com/users/rphmeier","html_url":"https://github.com/rphmeier","followers_url":"https://api.github.com/users/rphmeier/followers","following_url":"https://api.github.com/users/rphmeier/following{/other_user}","gists_url":"https://api.github.com/users/rphmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/rphmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rphmeier/subscriptions","organizations_url":"https://api.github.com/users/rphmeier/orgs","repos_url":"https://api.github.com/users/rphmeier/repos","events_url":"https://api.github.com/users/rphmeier/events{/privacy}","received_events_url":"https://api.github.com/users/rphmeier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ethcore/parity/labels/F7-optimisation","name":"F7-optimisation","color":"009800"},{"url":"https://api.github.com/repos/ethcore/parity/labels/Q2-easy","name":"Q2-easy","color":"e8e0fc"},{"url":"https://api.github.com/repos/ethcore/parity/labels/Z5-unconfirmed","name":"Z5-unconfirmed","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-05-26T15:26:15Z","updated_at":"2016-08-13T08:54:03Z","closed_at":null,"body":"Currently the release profile for parity emits debug information. There is conflicting information about whether it affects LLVM's ability to perform optimizations, but it seems that it may inhibit inlining and loop autovectorization in Rust: https://internals.rust-lang.org/t/benchmark-optimization-woes/1441\r\n\r\nHowever, LLVM's official documentation says that debug info will not prevent optimizations from running: http://llvm.org/docs/SourceLevelDebugging.html#debugging-optimized-code.\r\n\r\nIt is probably worthwhile to look into benchmarking parity with and without debug info to see if there is a tangible difference.\r\n"},"comment":{"url":"https://api.github.com/repos/ethcore/parity/issues/comments/239610723","html_url":"https://github.com/ethcore/parity/issues/1152#issuecomment-239610723","issue_url":"https://api.github.com/repos/ethcore/parity/issues/1152","id":239610723,"user":{"login":"arkpar","id":9008569,"avatar_url":"https://avatars.githubusercontent.com/u/9008569?v=3","gravatar_id":"","url":"https://api.github.com/users/arkpar","html_url":"https://github.com/arkpar","followers_url":"https://api.github.com/users/arkpar/followers","following_url":"https://api.github.com/users/arkpar/following{/other_user}","gists_url":"https://api.github.com/users/arkpar/gists{/gist_id}","starred_url":"https://api.github.com/users/arkpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arkpar/subscriptions","organizations_url":"https://api.github.com/users/arkpar/orgs","repos_url":"https://api.github.com/users/arkpar/repos","events_url":"https://api.github.com/users/arkpar/events{/privacy}","received_events_url":"https://api.github.com/users/arkpar/received_events","type":"User","site_admin":false},"created_at":"2016-08-13T08:54:03Z","updated_at":"2016-08-13T08:54:03Z","body":"Benchmarked importing blocks with debug on and off - no difference. Having debug symbols in release build helps diagnosing problems on users machines."}}
{"actor":{"display_login":"arkpar"}}