Brian Vaughn
c6de014a9a
Massively overhauled profiling data architecture
2019-05-22 06:05:25 -07:00
Brian Vaughn
7ce9f4859c
Renamed Store importedProfilingData -> profilingData
2019-05-20 10:45:16 -07:00
Ivan Babak
76e569992b
Cleanup profile export/import data types, add export/import test
...
Strengthened the I/O-boundary type conversion logic.
Fixed type inconsistencies uncovered by removing `any` and
by making explicit type annotations and transformations.
In particular, these were likely malformed when restored from a file:
- `commitDetails`
- `interactions`
- `initialTreeBaseDurations`
The mismatches were Map vs interleaved Array.
2019-05-13 23:59:01 -07:00
Brian Vaughn
703706b40f
Add toggle-suspense button to all elements
...
This button is disabled if the renderer returns canToggleSuspense=false.
2019-05-08 10:50:32 -07:00
Brian Vaughn
278661715c
Show import error dialog if profiling data import fails
2019-05-07 14:38:11 -07:00
Brian Vaughn
acdc9bae67
Added export+import profiling data test coverage
...
Also fixed an incomplete import feature as well as a regression in export that had gone unnoticed due to previous lack of test coverage.
2019-05-07 13:08:46 -07:00
Brian Vaughn
a8ed95445c
Store profiler snapshot data by root (and clear on root unmount)
2019-05-03 14:59:20 -07:00
Brian Vaughn
2b868821d5
Improved keyboard navigation for tabs, interactions, and fiber-commits
2019-04-07 09:00:52 -07:00
Brian Vaughn
bfb152f160
Import/export feature
2019-03-31 17:02:30 -07:00