Skip to content

jsdf/traceviewer

Repository files navigation

traceviewer

trace viewer/traceviewer component which can render large traces

demos

screenshots

traceviewer screenshot

usage

I haven't quite cleaned this up for release yet, but if you want to try it now, you can clone this repo. The API is:

import Trace from './src/Trace';

<Trace
  truncateLabels={true} // middle-truncate measure labels to fit width
  trace={[{name: 'something', startTime: 100, duration: 20]} // array of objects like https://developer.mozilla.org/en-US/docs/Web/API/PerformanceMeasure
  viewportWidth={1024}
  viewportHeight={768}
  renderer="webgl" // or "canvas" or "dom"
/>

Releases

No releases published

Packages

No packages published

Languages