cpuprofilify
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -8,3 +8,3 @@ 'use strict'; | ||
var dtraceRegex = /^\S+ \d+ \d+: \S+:\s*$/ | ||
, perfRegex = /^\S+ \d+ \d+\.\d+: \S+:\s*$/ | ||
, perfRegex = /^\S+ \d+ \d+\.\d+:(\s+\d+)? \S+:\s*$/ | ||
, instrumentsRegex = /^Running Time, *Self,.*, *Symbol Name/ | ||
@@ -11,0 +11,0 @@ |
{ | ||
"name": "cpuprofilify", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"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", |
@@ -13,2 +13,10 @@ 'use strict'; | ||
test('\ngiven a perf stack info line (v3.18.7-200)', function (t) { | ||
var fn = getConverter([ 'node 24009 946268.827234: 1 cycles:u: '], 0); | ||
t.equal(fn.name, 'PerfConverter', 'returns perf converter') | ||
t.equal(fn.proto.type, 'perf', 'type is perf') | ||
t.end() | ||
}) | ||
test('\ngiven a dtrace stack info line', function (t) { | ||
@@ -15,0 +23,0 @@ var fn = getConverter([ 'iojs 86454 181016967: profile-1ms:'], 0); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
973
0
60996
29