{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/18096","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/18096/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/18096/comments","events_url":"https://api.github.com/repos/apple/swift/issues/18096/events","html_url":"https://github.com/apple/swift/pull/18096","id":342932440,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNzE3MDY3","number":18096,"title":"benchmarks: make benchmarks more stable","user":{"login":"eeckstein","id":15270291,"node_id":"MDQ6VXNlcjE1MjcwMjkx","avatar_url":"https://avatars0.githubusercontent.com/u/15270291?v=4","gravatar_id":"","url":"https://api.github.com/users/eeckstein","html_url":"https://github.com/eeckstein","followers_url":"https://api.github.com/users/eeckstein/followers","following_url":"https://api.github.com/users/eeckstein/following{/other_user}","gists_url":"https://api.github.com/users/eeckstein/gists{/gist_id}","starred_url":"https://api.github.com/users/eeckstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeckstein/subscriptions","organizations_url":"https://api.github.com/users/eeckstein/orgs","repos_url":"https://api.github.com/users/eeckstein/repos","events_url":"https://api.github.com/users/eeckstein/events{/privacy}","received_events_url":"https://api.github.com/users/eeckstein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":33,"created_at":"2018-07-20T00:24:15Z","updated_at":"2018-07-25T15:16:48Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/18096","html_url":"https://github.com/apple/swift/pull/18096","diff_url":"https://github.com/apple/swift/pull/18096.diff","patch_url":"https://github.com/apple/swift/pull/18096.patch"},"body":"The time per iteration should roughly stay constant and not depend on the number of iterations.\r\n\r\n*) for benchmarks with a significant setup time, move the setup to the setUpFunction\r\n*) some benchmarks wrongly executed the loop N+1 times (\"0...N\" instead of \"0..<N\")\r\n*) added some blackHole calls to prevent the optimizer removing important parts of a benchmark\r\n*) lowered the workload for the CSVParsing benchmarks because 1 single iteration took too long\r\n*) moved the setup and teardown function calls outside the sample loop\r\n\r\nFor a few benchmarks this changed the benchmark score. I renamed those benchmarks so that they are now treated as \"new\" benchmarks.\r\n"},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/407791189","html_url":"https://github.com/apple/swift/pull/18096#issuecomment-407791189","issue_url":"https://api.github.com/repos/apple/swift/issues/18096","id":407791189,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzc5MTE4OQ==","user":{"login":"eeckstein","id":15270291,"node_id":"MDQ6VXNlcjE1MjcwMjkx","avatar_url":"https://avatars0.githubusercontent.com/u/15270291?v=4","gravatar_id":"","url":"https://api.github.com/users/eeckstein","html_url":"https://github.com/eeckstein","followers_url":"https://api.github.com/users/eeckstein/followers","following_url":"https://api.github.com/users/eeckstein/following{/other_user}","gists_url":"https://api.github.com/users/eeckstein/gists{/gist_id}","starred_url":"https://api.github.com/users/eeckstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eeckstein/subscriptions","organizations_url":"https://api.github.com/users/eeckstein/orgs","repos_url":"https://api.github.com/users/eeckstein/repos","events_url":"https://api.github.com/users/eeckstein/events{/privacy}","received_events_url":"https://api.github.com/users/eeckstein/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T15:16:48Z","updated_at":"2018-07-25T15:16:48Z","author_association":"MEMBER","body":"@swift-ci smoke test and merge"}}
{"actor":{"display_login":"eeckstein"}}