speedscope/src
Jamie Wong 3fc631cf79
Fix a regression in resize behavior from #147 (#149)
The problem was that I was using `canvas.getBoundingClientRect()` to get the size to resize to, but that was changing as the result of CSS properties set on the canvas! Instead, we take the measurements of its container now which is set to fill the screen, and the canvas has its size entirely managed by `graphics.ts`.
2018-08-23 08:09:22 -07:00
..
gl Fix rendering bugs when device pixel ratio changes (#147) 2018-08-22 20:36:09 -07:00
import Add support for importing linux "perf script" output (#135) 2018-08-16 10:24:12 -07:00
lib Replace regl with GPU apis ported from evanw/sky (#140) 2018-08-19 11:37:47 -07:00
store Replace regl with GPU apis ported from evanw/sky (#140) 2018-08-19 11:37:47 -07:00
typings Replace regl with GPU apis ported from evanw/sky (#140) 2018-08-19 11:37:47 -07:00
views Fix a regression in resize behavior from #147 (#149) 2018-08-23 08:09:22 -07:00
README.md Add contributor guidelines & documentation (#144) 2018-08-20 09:42:44 -07:00
speedscope.tsx Add support for profiles w/ multiples processes & threads (#130) 2018-08-11 22:06:53 -07:00

Speedscope TypeScript source

This directory contains the bulk of speedscope's source code.

Subdirectories

  • gl/: WebGL code. This includes e.g. the code to render flamecharts.
  • import/: Code to import profiles from varous profilers into speedscope. This include e.g. the code to import Chrome performance profiles.
  • lib/: Mostly dependency-less utilities. This includes e.g. an LRU cache implementation, basic linear algebra classes, and the definition of speedscope's file format.
  • store/: Speedscope's application state management. Implemented using redux.
  • typings/: TypeScript definition files
  • views/: View code to generate the HTML & CSS used to construct the UI. Implemented using preact and aphrodite. Also contains code mapping from the redux store to views using preact-redux