question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transfer Size is incorrect in resource-summary audit

See original GitHub issue

Provide the steps to reproduce

  1. Run LH on https://test.lucacasonato.vercel.app/
  2. View Keep request counts low and transfer sizes small diagnostics

What is the current behavior?

The Transfer Size is not correct. It is double, triple, quadruple, or 10 fold the actual value: It says 0.5 kb for Script in Lighthouse image vs 48 bytes in network panel: image

Here is a JSON export from Lighthouse on this page: test.lucacasonato.vercel.app-20200911T201026.txt

What is the expected behavior?

I expect Lighthouse to show the correct values.

Environment Information

  • Affected Channels: DevTools
  • Lighthouse version: 6.3.0
  • Chrome version: 87.0.4259.3 (Official Build) dev (64-bit)>
  • Operating System: Linux

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:14

github_iconTop GitHub Comments

1reaction
connorjclarkcommented, Sep 11, 2020

For Paul’s example, I noticed in CLI I get two dataReceived events for that request. The first is 63390 bytes. the second is zero. The incorrect value that Lighthouse gets in devtools is 126780, which is 63390 * 2.

I believe I summarized the behavior of dataReceived in a previous PR, I’ll have to comb through this file’s history to find it. But I can definitely confirm this is a bug in Lighthouse’ DevTools integration.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keep request counts low and transfer sizes small
Learn how high resource counts and large transfer sizes affect load performance. Get strategies for reducing request counts and transfer sizes.
Read more >
AS 2810: Evaluating Audit Results - PCAOB
If the auditor concludes that the amount of an accounting estimate included in the financial statements is unreasonable or was not determined in...
Read more >
Evaluation of Misstatements Identified During the Audit | AICPA
and the amount, classification, presentation, or disclosure that is ... auditor should request management to correct those misstatements. (Ref: par.
Read more >
Common IRS Audit Triggers - Bloomberg Tax
Learn the characteristics of a tax return that triggers audits by the ... up-to-the-minute news, analysis, primary sources, tools, and more.
Read more >
Professional Judgment Resource - The Center For Audit Quality
2 Professional Judgment Resource. Overview. Auditors can enhance their professional judgment capabilities by utilizing an effective decision-making process ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found