javascript - Using pagespeed with phantomjs and jenkins integration -


i trying automate web page performance using pagespeed.

is there plugin available pagespeed run on phantomjs

we have yslow plugin same , working locally

http://yslow.org/phantomjs/

i using command line , integrating same jenkins continous integration

thanks , appreciate help

some sample code

 phantom.create (ph) ->       ph.createpage (page) ->         page.open "http://www.google.com", (status) ->           console.log "opened google? ", status           page.evaluate (-> document.title), (result) ->             console.log 'page title ' + result             ph.exit() 

since pagespeed c++ binary, might want try integrating phantomjs netsniff.coffee (from examples) generates har file of given page piping output har_to_pagespeed. or go pagespeed insights online service.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -