sorgerlab / CancerBrowser

HMS LINCS Cancer Browser
5 stars 3 forks source link

Add in performance tooling #228

Closed pbeshai closed 8 years ago

pbeshai commented 8 years ago

This can be used in the console during dev by typing

Perf.start()

Then doing something, then typing

Perf.stop()

Then using any of these commands to see nicely formatted performance results:

Perf.printInclusive();
Perf.printExclusive();
Perf.printWasted();

Documentation here: https://facebook.github.io/react/docs/perf.html

pbeshai commented 8 years ago

This has revealed that react-select is really slow since it renders all items even when not showing them and it computes reflow unnecessarily often. Also react-bootstrap's Dropdown button is slow too.

pbeshai commented 8 years ago

ping @vlandham

vlandham commented 8 years ago

+1