{"action":"created","issue":{"url":"https://api.github.com/repos/plicease/Dist-Zilla-Plugin-OurPkgVersion/issues/1","repository_url":"https://api.github.com/repos/plicease/Dist-Zilla-Plugin-OurPkgVersion","labels_url":"https://api.github.com/repos/plicease/Dist-Zilla-Plugin-OurPkgVersion/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/plicease/Dist-Zilla-Plugin-OurPkgVersion/issues/1/comments","events_url":"https://api.github.com/repos/plicease/Dist-Zilla-Plugin-OurPkgVersion/issues/1/events","html_url":"https://github.com/plicease/Dist-Zilla-Plugin-OurPkgVersion/issues/1","id":139033040,"number":1,"title":"Should use Dist::Zilla::Role::PPI","user":{"login":"kentfredric","id":44790,"avatar_url":"https://avatars.githubusercontent.com/u/44790?v=3","gravatar_id":"","url":"https://api.github.com/users/kentfredric","html_url":"https://github.com/kentfredric","followers_url":"https://api.github.com/users/kentfredric/followers","following_url":"https://api.github.com/users/kentfredric/following{/other_user}","gists_url":"https://api.github.com/users/kentfredric/gists{/gist_id}","starred_url":"https://api.github.com/users/kentfredric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentfredric/subscriptions","organizations_url":"https://api.github.com/users/kentfredric/orgs","repos_url":"https://api.github.com/users/kentfredric/repos","events_url":"https://api.github.com/users/kentfredric/events{/privacy}","received_events_url":"https://api.github.com/users/kentfredric/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-07T17:02:13Z","updated_at":"2016-03-07T19:33:35Z","closed_at":"2016-03-07T19:33:35Z","body":"I was profiling [Rex](https://metacpan.org/release/Rex) because it had a giant build time ( 3 minutes under NYTProf, oye ), and I discovered one hot-point is in OurPkgVersion re-parsing the whole document with PPI.\r\n\r\n![snapshot152](https://cloud.githubusercontent.com/assets/44790/13576511/f209603a-e4f2-11e5-915a-b9318cef52b3.png)\r\n\r\nThat's that Second bit yellow hierarchy identical to the first :/\r\n\r\nInstead, it should use [DZR:PPI](https://metacpan.org/pod/Dist::Zilla::Role::PPI#ppi_document_for_file)\r\n\r\nThat way, if there's already a cached PPI document, it can just re-use it and re-augment the DOM instead of an expensive reparse.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/plicease/Dist-Zilla-Plugin-OurPkgVersion/issues/comments/193413576","html_url":"https://github.com/plicease/Dist-Zilla-Plugin-OurPkgVersion/issues/1#issuecomment-193413576","issue_url":"https://api.github.com/repos/plicease/Dist-Zilla-Plugin-OurPkgVersion/issues/1","id":193413576,"user":{"login":"plicease","id":354009,"avatar_url":"https://avatars.githubusercontent.com/u/354009?v=3","gravatar_id":"","url":"https://api.github.com/users/plicease","html_url":"https://github.com/plicease","followers_url":"https://api.github.com/users/plicease/followers","following_url":"https://api.github.com/users/plicease/following{/other_user}","gists_url":"https://api.github.com/users/plicease/gists{/gist_id}","starred_url":"https://api.github.com/users/plicease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plicease/subscriptions","organizations_url":"https://api.github.com/users/plicease/orgs","repos_url":"https://api.github.com/users/plicease/repos","events_url":"https://api.github.com/users/plicease/events{/privacy}","received_events_url":"https://api.github.com/users/plicease/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T19:33:35Z","updated_at":"2016-03-07T19:33:35Z","body":"I believe this to be addressed in 0.07.  Please let me know if you find otherwise."}}