-
CpuProfilifier()
-
Creates new CpuProfilifier
-
CpuProfilifier::convert(trace, opts) → {Object}
-
Converts the given trace taking according to the given opts.
var cpuprofilifier = require('cpuprofilifier'); var cpuprofile = cpuprofilifier().convert(trace); fs.writeFileSync('/tmp/my.cpuprofile', JSON.stringify(cpuprofile));Parameters:
Name Type Argument Description traceArray.<String> a trace generated via
perf scriptor theprofile_1ms.dDTrace scriptoptsObject <optional>
Properties
Name Type Description mapstring a map containing symbols information, if not given it will be read from /tmp/perf-.map.
typestring type of input
perf|dtrace. If not supplied it will be detected.shortStackBoolean stacks that have only one line are ignored unless this flag is set
optimizationinfoBoolean JS optimization info is removed unless this flag is set (default: false)
unresolvedsBoolean unresolved addresses like
0x1a23care filtered from the trace unless this flag is set (default: false)sysinternalsBoolean sysinternals like
__lib_c_start...are filtered from the trace unless this flag is set (default: false)v8internalsBoolean v8internals like
v8::internal::...are filtered from the trace unless this flag is set (default: false)v8gcBoolean when v8internals are filtered, garbage collection info is as well unless this flag set (default: true)
Returns:
an cpuprofile presentation of the given trace
- Type
- Object
Maintenance
Commit Frequency
Further analysis of the maintenance status of cpuprofilify based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Inactive.
An important project maintenance signal to consider for cpuprofilify is that it hasn't seen any new versions released to npm in the past 12 months, and could be considered as a discontinued project, or that which receives low attention from its maintainers.
In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.


