huilu

    0.1.3 • Public • Published

    huilu

    Coverage Status Build Status Known Vulnerabilities dependencies Status

    NPM

    Generates flamegraphs with Node.js

    Chinese mythology includes stories of Hui Lu, a magician and fire god who kept 100 firebirds in a gourd. By setting them loose, he could start a fire across the whole country.

    Project Info
    License: MIT
    Build: make
    Documentation: N/A
    Issue tracker: https://github.com/bucharest-gold/huilu/issues
    Engines: Node.js 4.x, 6.x, 7.x

    Installation

    npm install huilu -S
    

    Usage

    const fs = require('fs');
    const huilu = require('huilu/from-stream');
    
    const stream = fs.createReadStream('v8.cpuprofile');
    const svg = fs.createWriteStream('graph.svg');
    huilu.fromStream(stream, {inputtype: 'cpuprofile'}).pipe(svg);
    

    Contributing

    Please read the contributing guide

    Portions of this software derive from https://github.com/thlorenz/flamegraph.

    Keywords

    none

    Install

    npm i huilu

    DownloadsWeekly Downloads

    5

    Version

    0.1.3

    License

    Apache-2.0

    Last publish

    Collaborators

    • lholmquist
    • helio-frota
    • dbevenius
    • lanceball