1.0.1 • Published 9 years ago

cxviz-eventloop v1.0.1

Weekly downloads
332
License
-
Repository
github
Last release
9 years ago

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)