sitespeedio / sitespeedio/sitespeed.io

Waterfall is not getting loaded

Open
#4,276 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
5k
Forks
624
Avg merge
4h 8m
Merged PRs (30d)
2

Description

Have you read the documentation?
URL

https://demoqa.com/

What are you trying to accomplish

I ran a scripted run for 3 iteration. In the report, I am not seeing the waterfall getting loaded. I can see below error in the console
Uncaught (in promise) SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at index.html:137:24

What browser did you use?

Chrome

How to reproduce
It is inconsistent and need to understand any similar issue and the workaround.
Log output

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the three-iteration scripted run against https://demoqa.com/ in Chrome and inspect the generated report at index.html:137, where JSON.parse reports an unexpected end of input. Compare runs that show the waterfall with runs that do not, using the console error as the initial lead. Done means the report loads the waterfall consistently without this parsing error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.