Javascript Spaghetti Profiler

Untangling and counting the spaghettis...
Tested url:   {{phantomasResults.url}}
New test

Error: {{phantomasResults.error}}

Phantomas timed out
Phantomas config error
Phantomas failed to load page
Phantomas internal error
Javascript execution tree error

Summary

Javascript manipulation time: {{totalJSTime}} ms
Javascript onDOMReady time: {{phantomasResults.metrics.domContentLoadedEnd - phantomasResults.metrics.domContentLoaded}} ms
Scripts count: {{phantomasResults.metrics.jsCount}}
DOM elements count: {{phantomasResults.metrics.DOMelementsCount}}
DOM max depth: {{phantomasResults.metrics.DOMelementMaxDepth}}
DOM queries: {{phantomasResults.metrics.DOMqueries}}
DOM inserts: {{phantomasResults.metrics.DOMinserts}}
Events bound: {{phantomasResults.metrics.eventsBound}}
document.write() calls: {{phantomasResults.metrics.documentWriteCalls}}
eval calls: {{phantomasResults.metrics.evalCalls}}
Javascript errors: {{phantomasResults.metrics.jsErrors}}
jQuery version: {{phantomasResults.metrics.jQueryVersion}}
Number of jQuery versions loaded: {{phantomasResults.metrics.jQueryDifferentVersions}} ({{version}} & )

Javascript interactions with the DOM

Filter by
ms
Type
Params
Duration
{{$index}}
{{node.data.type}}
{{node.data.callDetails.arguments[0]}} : {{node.data.callDetails.arguments[1]}} : {{node.data.callDetails.arguments[2]}} : {{node.data.callDetails.arguments[3]}}

Called on DOM element

{{node.data.callDetails.context.domElement}}

Called on 1 jQuery element

{{node.data.callDetails.context.firstElementPath}}

Called on {{node.data.callDetails.context.length}} jQuery elements

The .bind() method attaches the event listener to each jQuery element one by one. Using the .on() method is preferred if available (from v1.7).

First one is: {{node.data.callDetails.context.firstElementPath}}

Backtrace

{{trace.fnName || '(anonymous)'}}
can't find any backtrace :/

Sub processes

Type
Params
Duration
{{$index}}
{{node.data.type}}
{{node.data.callDetails.arguments[0]}} : {{node.data.callDetails.arguments[1]}} : {{node.data.callDetails.arguments[2]}} : {{node.data.callDetails.arguments[3]}}
{{node.data.time}} ms
{{node.data.time}} ms

Metrics

Phantomas report

{{moduleName}}

{{metricName}}: {{phantomasResults.metrics[metricName]}} {{metric.unit}}
{{metric.desc}} (unreliable)
Show offenders
Hide offenders
  • {{offender}}