Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What could be the reason for "scripting" to equal 0? #9250

Closed
radical-edo opened this issue Jun 21, 2019 · 2 comments
Closed

What could be the reason for "scripting" to equal 0? #9250

radical-edo opened this issue Jun 21, 2019 · 2 comments

Comments

@radical-edo
Copy link

Hello,

have a bit of conundrum. All the 3 measurements for bootup-time metric (scripting, total, scriptParseCompile are working for most of my scripts in my site. However, there is one, quite important one, that the scripting metric is equal 0.
My questions is - what could be a possible reason for not being able to measure that metric?
The scriptParseCompile is measured if that could suggest some sort of answer to this specific problem.

@patrickhulce
Copy link
Collaborator

Certain types of async work are not attributable to any script given the way we currently instrument the page. If the script does mostly this type of work, then you might end up seeing 0 ms of script execution for it. We want to try to close this loophole, but it is at least several months away as the workaround is quite expensive.

If it's not doing any async work and it's pretty much all in a single EvaluateScript that we aren't capturing, then a repro URL would be super helpful :)

@brendankenny
Copy link
Member

let's move conversation into #9200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants