{"action":"created","issue":{"url":"https://api.github.com/repos/haikuports/haikuporter/issues/171","repository_url":"https://api.github.com/repos/haikuports/haikuporter","labels_url":"https://api.github.com/repos/haikuports/haikuporter/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/haikuports/haikuporter/issues/171/comments","events_url":"https://api.github.com/repos/haikuports/haikuporter/issues/171/events","html_url":"https://github.com/haikuports/haikuporter/issues/171","id":369180729,"node_id":"MDU6SXNzdWUzNjkxODA3Mjk=","number":171,"title":"PGO support","user":{"login":"cb88","id":1026000,"node_id":"MDQ6VXNlcjEwMjYwMDA=","avatar_url":"https://avatars2.githubusercontent.com/u/1026000?v=4","gravatar_id":"","url":"https://api.github.com/users/cb88","html_url":"https://github.com/cb88","followers_url":"https://api.github.com/users/cb88/followers","following_url":"https://api.github.com/users/cb88/following{/other_user}","gists_url":"https://api.github.com/users/cb88/gists{/gist_id}","starred_url":"https://api.github.com/users/cb88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cb88/subscriptions","organizations_url":"https://api.github.com/users/cb88/orgs","repos_url":"https://api.github.com/users/cb88/repos","events_url":"https://api.github.com/users/cb88/events{/privacy}","received_events_url":"https://api.github.com/users/cb88/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-10-11T15:34:45Z","updated_at":"2018-10-16T17:11:24Z","closed_at":"2018-10-14T17:28:42Z","author_association":"NONE","body":"It would be nice if HaikuPorter could implement building a package, running it with some profiling workload, probably an optional tarball of data + script? Then support passing that to a second real build.\r\n\r\nThis might be useful for speeding up various packages in Haiku. Including the kernel (there are examples of PGO being implemented in the Linux kernel in the past) . \r\n\r\nSo goals? Profiling libraries and applications, like libwebkit and web+, and Mesa, Haiku kernel PGO would be probably more complex and require booting and profiling in QEMU, then extracting the profile data from the disk image and passing it onto a second build?\r\n\r\nBinary distribution like what Haiku does is ideal for PGO, as it's mostly an annoyance on source based distros like Gentoo but probably worthwhile when doing a single build for everyone. Probably have a way to disable it for packages only available on master though. https://www.phoronix.com/scan.php?page=article&item=gcc-82-pgo&num=1"},"comment":{"url":"https://api.github.com/repos/haikuports/haikuporter/issues/comments/430319398","html_url":"https://github.com/haikuports/haikuporter/issues/171#issuecomment-430319398","issue_url":"https://api.github.com/repos/haikuports/haikuporter/issues/171","id":430319398,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDMxOTM5OA==","user":{"login":"waddlesplash","id":2175324,"node_id":"MDQ6VXNlcjIxNzUzMjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2175324?v=4","gravatar_id":"","url":"https://api.github.com/users/waddlesplash","html_url":"https://github.com/waddlesplash","followers_url":"https://api.github.com/users/waddlesplash/followers","following_url":"https://api.github.com/users/waddlesplash/following{/other_user}","gists_url":"https://api.github.com/users/waddlesplash/gists{/gist_id}","starred_url":"https://api.github.com/users/waddlesplash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waddlesplash/subscriptions","organizations_url":"https://api.github.com/users/waddlesplash/orgs","repos_url":"https://api.github.com/users/waddlesplash/repos","events_url":"https://api.github.com/users/waddlesplash/events{/privacy}","received_events_url":"https://api.github.com/users/waddlesplash/received_events","type":"User","site_admin":false},"created_at":"2018-10-16T17:11:24Z","updated_at":"2018-10-16T17:11:24Z","author_association":"MEMBER","body":"> Because while that is perfect fine... It means it's always enabled ... Haikuporter needs a switch to disable pgo right?\r\n\r\nIf it's at the recipe level, HaikuPorter will know nothing about it and there should not be a flag to affect it. "}}
{"actor":{"display_login":"waddlesplash"}}