Skip to content

Instantly share code, notes, and snippets.

@Greg-Boggs
Created January 17, 2014 17:52
Show Gist options
  • Save Greg-Boggs/665abe49f880353b38e0 to your computer and use it in GitHub Desktop.
Save Greg-Boggs/665abe49f880353b38e0 to your computer and use it in GitHub Desktop.
Phantomas debug
Running tasks: phantomas
Running "phantomas" task
Running "phantomas:gruntSite" (phantomas) task
Verifying property phantomas.gruntSite exists in config...OK
File: [no files]
Options: indexPath="./stats/", numberOfRuns=1, options={}, url="http://local.d7.com", verbose
PHANTOMAS SYSTEM CALL STARTED
Executing phantoms ( 1 times ) with following parameters:
{}
{ name: 'RejectionError',
message: '252',
cause: [Error: 252],
stack: 'Error: 252\n at maybeWrapAsError (/var/www/d7/sites/all/themes/custom/d7/node_modules/grunt-phantomas/node_modules/bluebird/js/main/util.js:149:12)\n at PromiseResolver$_callback (/var/www/d7/sites/all/themes/custom/d7/node_modules/grunt-phantomas/node_modules/bluebird/js/main/promise_resolver.js:52:48)\n at ChildProcess.<anonymous> (/var/www/d7/sites/all/themes/custom/d7/node_modules/grunt-phantomas/node_modules/phantomas/lib/index.js:116:4)\n at ChildProcess.EventEmitter.emit (events.js:98:17)\n at maybeClose (child_process.js:735:16)\n at Socket.<anonymous> (child_process.js:948:11)\n at Socket.EventEmitter.emit (events.js:95:17)\n at Pipe.close (net.js:466:12)' }
Fri, 17 Jan 2014 17:50:15 GMT phantomas nodejs v0.10.24
Fri, 17 Jan 2014 17:50:15 GMT phantomas PhantomJS v1.9.2 installed in /var/www/d7/sites/all/themes/custom/d7/node_modules/grunt-phantomas/node_modules/ph
antomas/node_modules/phantomjs/lib/phantom/bin/phantomjs
Fri, 17 Jan 2014 17:50:15 GMT phantomas phantomas v0.11.1 installed in /var/www/d7/sites/all/themes/custom/d7/node_modules/grunt-phantomas/node_modules/p
hantomas/lib
Fri, 17 Jan 2014 17:50:15 GMT phantomas URL: <http://local.d7.com>
Fri, 17 Jan 2014 17:50:15 GMT phantomas Options: {}
Fri, 17 Jan 2014 17:50:15 GMT phantomas Running /var/www/d7/sites/all/themes/custom/d7/node_modules/grunt-phantomas/node_modules/phantomas/node_modules/p
hantomjs/lib/phantom/bin/phantomjs /var/www/d7/sites/all/themes/custom/d7/node_modules/grunt-phantomas/node_modules/phantomas/lib/../scripts/phantomas.js
--url http://local.d7.com --format json
Fri, 17 Jan 2014 17:50:15 GMT phantomas Spawned with pid #23553
Fri, 17 Jan 2014 17:50:31 GMT phantomas Process returned code #252
Fri, 17 Jan 2014 17:50:31 GMT phantomas {"generator":"phantomas v0.11.1","url":"http://local.d7.com/","metrics":{"requests":23,"gzipRequests":1,"postRequ
ests":0,"httpsRequests":0,"redirects":0,"notFound":0,"timeToFirstByte":53,"timeToLastByte":62,"bodySize":142302,"contentLength":142302,"ajaxRequests":0,"
htmlCount":1,"htmlSize":6793,"cssCount":15,"cssSize":18464,"jsCount":7,"jsSize":117045,"jsonCount":0,"jsonSize":0,"imageCount":0,"imageSize":0,"webfontCo
unt":0,"webfontSize":0,"base64Count":0,"base64Size":0,"otherCount":0,"otherSize":0,"cacheHits":0,"cacheMisses":0,"cachePasses":0,"cachingNotSpecified":0,
"cachingTooShort":0,"cachingDisabled":0,"domains":1,"maxRequestsPerDomain":23,"medianRequestsPerDomain":23,"DOMqueries":11,"DOMqueriesById":1,"DOMqueries
ByClassName":0,"DOMqueriesByTagName":6,"DOMqueriesByQuerySelectorAll":4,"DOMinserts":10,"DOMqueriesDuplicated":1,"eventsBound":1,"headersCount":284,"head
ersSentCount":71,"headersRecvCount":213,"headersSize":9403,"headersSentSize":2774,"headersRecvSize":6629,"documentWriteCalls":1,"evalCalls":0,"jQueryVers
ion":"1.5.1","jQueryOnDOMReadyFunctions":0,"jQuerySizzleCalls":4,"jsErrors":0,"assetsNotGzipped":22,"assetsWithQueryString":22,"smallImages":0,"multipleR
equests":0,"timeToFirstCss":65,"timeToFirstJs":71,"timeToFirstImage":0,"onDOMReadyTime":29,"onDOMReadyTimeEnd":44,"windowOnLoadTime":43,"windowOnLoadTime
End":44,"httpTrafficCompleted":87,"windowAlerts":0,"windowConfirms":0,"windowPrompts":0,"consoleMessages":0,"cookiesSent":0,"cookiesRecv":0,"domainsWithC
ookies":0,"documentCookiesLength":8,"documentCookiesCount":1,"bodyHTMLSize":2486,"iframesCount":0,"imagesWithoutDimensions":0,"commentsSize":0,"hiddenCon
tentSize":0,"whiteSpacesSize":186,"DOMelementsCount":36,"DOMelementMaxDepth":9,"nodesWithInlineCSS":0,"globalVariables":3,"localStorageEntries":0,"smalle
stResponse":144,"biggestResponse":85260,"fastestResponse":11,"slowestResponse":62,"smallestLatency":11,"biggestLatency":53,"medianResponse":13,"medianLat
ency":12},"offenders":{"htmlCount":["http://local.d7.com/ (6.63 kB)"],"cssCount":["http://local.d7.com/modules/system/system.base.css?mzitwt (5.22 kB)","
http://local.d7.com/modules/system/system.menus.css?mzitwt (1.99 kB)","http://local.d7.com/modules/system/system.messages.css?mzitwt (0.94 kB)","http://l
ocal.d7.com/modules/system/system.theme.css?mzitwt (3.62 kB)","http://local.d7.com/modules/comment/comment.css?mzitwt (0.18 kB)","http://local.d7.com/mod
ules/field/theme/field.css?mzitwt (0.54 kB)","http://local.d7.com/modules/node/node.css?mzitwt (0.14 kB)","http://local.d7.com/sites/all/modules/contrib/
picture/picture_wysiwyg.css?mzitwt (1.04 kB)","http://local.d7.com/modules/search/search.css?mzitwt (0.55 kB)","http://local.d7.com/modules/user/user.css
?mzitwt (1.78 kB)","http://local.d7.com/sites/all/modules/contrib/extlink/extlink.css?mzitwt (0.30 kB)","http://local.d7.com/sites/all/modules/contrib/vi
ews/css/views.css?mzitwt (0.69 kB)","http://local.d7.com/sites/all/modules/contrib/ctools/css/ctools.css?mzitwt (0.50 kB)","http://local.d7.com/sites/all
/themes/custom/d7/stylesheets/style.css?mzitwt (0.27 kB)","http://local.d7.com/sites/all/themes/custom/d7/stylesheets/print.css?mzitwt (0.27 kB)"],"timeT
oFirstCss":["http://local.d7.com/modules/system/system.base.css?mzitwt received in 65 ms"],"jsCount":["http://local.d7.com/sites/all/modules/contrib/jque
ry_update/replace/jquery/1.5/jquery.min.js?v=1.5.2 (83.26 kB)","http://local.d7.com/misc/jquery.once.js?v=1.2 (2.90 kB)","http://local.d7.com/misc/drupal
.js?mzitwt (14.20 kB)","http://local.d7.com/sites/all/modules/contrib/extlink/extlink.js?mzitwt (5.21 kB)","http://local.d7.com/sites/all/modules/contrib
/picture/picturefill/matchmedia.js?v=0.1 (4.42 kB)","http://local.d7.com/sites/all/modules/contrib/picture/picturefill/picturefill.js?v=0.1 (2.76 kB)","h
ttp://local.d7.com/sites/all/modules/contrib/picture/picture.js?v=7.27-dev (1.54 kB)"],"timeToFirstJs":["http://local.d7.com/sites/all/modules/contrib/jq
uery_update/replace/jquery/1.5/jquery.min.js?v=1.5.2 received in 71 ms"],"domains":["local.d7.com: 23 request(s)"],"DOMqueries":["tag name \"span\": 2 qu
eries"],"globalVariables":["Drupal, jQuery, picturefill"]},"asserts":false,"notices":["The smallest response (0.14 kB): <http://local.d7.com/modules/node
/node.css?mzitwt>","The biggest response (83.26 kB): <http://local.d7.com/sites/all/modules/contrib/jquery_update/replace/jquery/1.5/jquery.min.js?v=1.5.
2>","","The fastest response (11 ms): <http://local.d7.com/modules/system/system.menus.css?mzitwt>","The slowest response (62 ms): <http://local.d7.com/>
","","The smallest latency (11 ms): <http://local.d7.com/modules/system/system.base.css?mzitwt>","The biggest latency (53 ms): <http://local.d7.com/>",""
,"Time spent on backend / frontend: 55% / 45%"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment