New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

cpuprofilify

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cpuprofilify - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

@@ -117,8 +117,4 @@ 'use strict';

proto._filterInternals = function _filterInternals() {
if (this._converterCtr.proto.type === 'instruments') {
this.emit('warn', 'Filtering internals is not supported for Instrument callgraphs at this point');
this._filtered = this._trace;
} else {
this._filtered = filterInternals(this._trace, this._opts);
}
this._filtered = this._trace;
this._filtered = filterInternals(this._trace, this._opts);
this._filteredLen = this._filtered.length;

@@ -125,0 +121,0 @@

@@ -68,8 +68,11 @@ 'use strict';

stackFrame = this._stack[i];
parent = this.findOrCreateNode(
parent
, this._id
, this._stack[i]
);
this._id = Math.max(parent.id + 1, this._id);
// ignore empty frames which occur due to internals filtering
if (stackFrame) {
parent = this.findOrCreateNode(
parent
, this._id
, this._stack[i]
);
this._id = Math.max(parent.id + 1, this._id);
}
}

@@ -76,0 +79,0 @@

{
"name": "cpuprofilify",
"version": "0.2.1",
"version": "0.2.2",
"description": "Converts output of various profiling/sampling tools to the .cpuprofile format so it can be loaded into Chrome DevTools.",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is too big to display