You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Debugging data collection affects meta-frameworks differently #574
Lighthouse enabled a bunch of debugging tools, that can be very useful to precisely track down which piece of code is responsible for what, but it affects different meta-frameworks differently.
The main options I found that contribute to this are:
Stack Capture
Precise JavaScript coverage
Debugger async-stack tracking
"stack capture" is the most impactful as far as i can tell. For example when i tried disabling it on a task i was benchmarking i got this:
Measurement
CSR
SSR
Late task, default Lighthouse
44.1 ms
44.1 ms
Same task, stack capture disabled
4.6 ms
5.2 ms
But the main problem is that it doesn't affect all meta-frameworks the same way. For "stack capture" for example its impact depends basically on the number of function calls and their depth. So the comparison across frameworks becomes less fair.
FWIW in the next version of TanStack Start the INP measurements are not impacted by any of these features any more than the other frameworks (they seem to all be pretty much within noise of each other). But these options could still impact future measurements unequally (like if a "navigation" measurement is added later, this will probably show up).
@Sheraff, do you have a link to the PR or code change for FWIW in the next version of TanStack, the INP measurements are not impacted by any of these features any more
So, a few things about this: we'll update any setting we can to improve tests. Right now I believe we can turn these off:
Precise JavaScript coverage
There is no setting for these ones (unless I am wrong):
Debugger async-stack tracking
Stack Capture
I think this will come up in many of our tests, where one method can make it hard or unfair for a framework. I think in these situations we should:
Try our best to make to fair.
Clearly label config and setups in methodology
Clearly label what we are testing
Clearly label framework issues separately when they are known
Have lots of different tests. Right now we only have a base list, but this is going to grow, and Lighthouse will not be (and isn't) the only testing tool
Then, to focus more on the Lighthouse tests, I think the following exists but can be made clearer:
Make it clear in title or subtitle these are done with lighthouse
Have other tests that tests similar things (we do have stuff in the roadmap of next test ideas)
Finally, we could maintain our own fork of Lighthouse, but I feel that would be a lot of extra work for something that is a standard tool across the web. Also, I feel there could be plenty of tools and/or methods we end up using with similar issues.
However, it is only supposed to paint a small picture of impact, and we need to add more tests.
Let me know how you feel about the above, @Sheraff; mostly just a brain dump of thoughts right now. I also want to say thank you so much for all this effort you have been putting in; all this feedback has been amazing.
Activity
AlexanderKaran commentedon Oct 6, 2026
@Sheraff, do you have a link to the PR or code change for
FWIW in the next version of TanStack, the INP measurements are not impacted by any of these features any moreSo, a few things about this: we'll update any setting we can to improve tests. Right now I believe we can turn these off:
There is no setting for these ones (unless I am wrong):
I think this will come up in many of our tests, where one method can make it hard or unfair for a framework. I think in these situations we should:
Then, to focus more on the Lighthouse tests, I think the following exists but can be made clearer:
Finally, we could maintain our own fork of Lighthouse, but I feel that would be a lot of extra work for something that is a standard tool across the web. Also, I feel there could be plenty of tools and/or methods we end up using with similar issues.
However, it is only supposed to paint a small picture of impact, and we need to add more tests.
Let me know how you feel about the above, @Sheraff; mostly just a brain dump of thoughts right now. I also want to say thank you so much for all this effort you have been putting in; all this feedback has been amazing.