cxviz-eventloop

1.0.1 • Public • Published

cxviz-waterfall

Event Loop diagrams for StrongTrace

Run Demo

install dependencies

npm install

build demo

npm run demo

run tests

npm test

run watch for rebuilds

npm run watch

Currrent Api

var Waterfall = require('cxviz-eventloop')
var el = document.querySelector('.waterfall')
var waterfall = Waterfall().init(el, {})

currently expects an array of objects with the following properties

{
  "fn": "A",
  "start": 0,
  "end": 100,
  "type": "work" /* either work or wait */
}

waterfall.update(data)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    100
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    100
  • 1.0.0
    0
  • 0.1.2
    1

Package Sidebar

Install

npm i cxviz-eventloop

Weekly Downloads

101

Version

1.0.1

License

StrongLoop

Last publish

Collaborators

  • dhmlau
  • 0candy
  • hacksparrow