Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Profiler: how to work with interactions traced before profiling started? #1289

Closed
OliverJAsh opened this issue Jan 29, 2019 · 1 comment
Closed

Comments

@OliverJAsh
Copy link

I followed the guide to setup interaction tracing for my initial render.

However, it's not clear how I can actually inspect this trace. If I understand correctly, the trace would only appear in the dev tools if it happened whilst profiling was running.

As far as I can see there is no way to start the profiler before the initial render (#1121?), so I don't see any clear way to actually view this interaction trace in the dev tools.

Is this issue therefore the same as #1121, or is it different?

@bvaughn
Copy link
Contributor

bvaughn commented Feb 8, 2019

This looks like a duplicate of #1121. DevTools can't gather profiling information for stuff that happens before it's profiling.

There is an unofficial (I think undocumented) API to subscribe to interaction events, but it's probably not what you're looking for. Best answer I have is to wait for the (new) DevTools to support reload-and-profile.

I'm going to close this issue as a duplicate.

@bvaughn bvaughn closed this as completed Feb 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants