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)

Package Sidebar

Install

npm i cxviz-eventloop

Weekly Downloads

106

Version

1.0.1

License

StrongLoop

Last publish

Collaborators

  • dhmlau
  • 0candy
  • hacksparrow