{"action":"created","issue":{"url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1447","repository_url":"https://api.github.com/repos/elm-lang/elm-compiler","labels_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1447/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1447/comments","events_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1447/events","html_url":"https://github.com/elm-lang/elm-compiler/pull/1447","id":167213685,"number":1447,"title":"Compiler benchmarking","user":{"login":"justinmanley","id":1668487,"avatar_url":"https://avatars.githubusercontent.com/u/1668487?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmanley","html_url":"https://github.com/justinmanley","followers_url":"https://api.github.com/users/justinmanley/followers","following_url":"https://api.github.com/users/justinmanley/following{/other_user}","gists_url":"https://api.github.com/users/justinmanley/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmanley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmanley/subscriptions","organizations_url":"https://api.github.com/users/justinmanley/orgs","repos_url":"https://api.github.com/users/justinmanley/repos","events_url":"https://api.github.com/users/justinmanley/events{/privacy}","received_events_url":"https://api.github.com/users/justinmanley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-24T02:39:09Z","updated_at":"2016-08-13T20:14:38Z","closed_at":"2016-08-10T21:47:35Z","pull_request":{"url":"https://api.github.com/repos/elm-lang/elm-compiler/pulls/1447","html_url":"https://github.com/elm-lang/elm-compiler/pull/1447","diff_url":"https://github.com/elm-lang/elm-compiler/pull/1447.diff","patch_url":"https://github.com/elm-lang/elm-compiler/pull/1447.patch"},"body":"Add a script for measuring how long it takes to compile Elm programs.\r\n\r\nSee [compiler-benchmark/README.md](https://github.com/justinmanley/elm-compiler/blob/compiler-benchmark/compiler-benchmark/README.md) for usage instructions.\r\n\r\nI'd like to get feedback on what additional compilation phases might be useful to track, and if I'm tracking the ones I've chosen in the right way. See [`costCentreNames` in Benchmark.hs](https://github.com/justinmanley/elm-compiler/blob/compiler-benchmark/compiler-benchmark/Benchmark.hs#L88).\r\n\r\nHere's an example of the output from running the script:\r\n\r\n```\r\n+----------------++------------------------------+\r\n|                || %time in stable %time in dev |\r\n+================++==============================+\r\n| exhaustiveness ||               -         27.5 |\r\n|   optimization ||               -          0.6 |\r\n|        parsing ||               -         53.3 |\r\n| type_inference ||               -         11.1 |\r\n+----------------++------------------------------+\r\n```\r\n(There are no numbers reported for the stable version of the compiler because v0.17.1 does not have `{-# SCC #-}` annotations. This is WAI.)"},"comment":{"url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/comments/239639393","html_url":"https://github.com/elm-lang/elm-compiler/pull/1447#issuecomment-239639393","issue_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1447","id":239639393,"user":{"login":"evancz","id":1658058,"avatar_url":"https://avatars.githubusercontent.com/u/1658058?v=3","gravatar_id":"","url":"https://api.github.com/users/evancz","html_url":"https://github.com/evancz","followers_url":"https://api.github.com/users/evancz/followers","following_url":"https://api.github.com/users/evancz/following{/other_user}","gists_url":"https://api.github.com/users/evancz/gists{/gist_id}","starred_url":"https://api.github.com/users/evancz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evancz/subscriptions","organizations_url":"https://api.github.com/users/evancz/orgs","repos_url":"https://api.github.com/users/evancz/repos","events_url":"https://api.github.com/users/evancz/events{/privacy}","received_events_url":"https://api.github.com/users/evancz/received_events","type":"User","site_admin":false},"created_at":"2016-08-13T20:14:38Z","updated_at":"2016-08-13T20:14:38Z","body":"Makes sense to me!"}}
{"actor":{"display_login":"evancz"}}