{"id":106,"date":"2008-06-30T12:07:30","date_gmt":"2008-06-30T18:07:30","guid":{"rendered":"http:\/\/pessoal.org\/blog\/?p=106"},"modified":"2008-06-30T12:07:30","modified_gmt":"2008-06-30T18:07:30","slug":"yslow-wishlist-javascript-api-to-export-performance-results","status":"publish","type":"post","link":"https:\/\/pessoal.org\/blog\/2008\/06\/30\/yslow-wishlist-javascript-api-to-export-performance-results\/","title":{"rendered":"YSlow wishlist: JavaScript API to export performance results"},"content":{"rendered":"<p>Here&#8217;s one thing that I wish <a href=\"http:\/\/developer.yahoo.com\/yslow\/\">YSlow<\/a> (or even HTTPWatch or AOL Pagetest) supported: a way to dynamically export the results of the performance grade results. In a perfect world I would run a set of <a href=\"http:\/\/selenium.openqa.org\/\">Selenium<\/a> tests on my development environment, and get access to YSlow&#8217;s results from the Selenium API.<\/p>\n<p><a href=\"http:\/\/selenium-rc.openqa.org\/\">Selenium RC<\/a> allows you to write unit tests in PHP (or a bunch of other programming languages), and get access to the browser as it is executing your test. If you could get access to YSlow&#8217;s results from JavaScript, then you could export that information directly to PHP, parse it, and store it. Add a few scripts to build some simple reports and you are done: performance metrics that you can track and act upon.<\/p>\n<p>I was going to suggest this feature at <a href=\"http:\/\/en.oreilly.com\/velocity2008\/public\/content\/home\">Velocity<\/a> last week, but there was no time for questions on most of the sessions. Here&#8217;s hoping this doesn&#8217;t happen next year.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s one thing that I wish YSlow (or even HTTPWatch or AOL Pagetest) supported: a way to dynamically export the results of the performance grade results. In a perfect world I would run a set of Selenium tests on my development environment, and get access to YSlow&#8217;s results from the Selenium API. Selenium RC allows [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[26,28,31,36],"tags":[],"_links":{"self":[{"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/posts\/106"}],"collection":[{"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":0,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"wp:attachment":[{"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pessoal.org\/blog\/wp-json\/wp\/v2\/tags?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}