Comments (9)
We are just starting to work on this, so hopefully in a couple of milestones.
from longtasks.
We currently do not plan to expose the script URL, AFAIK. We don't have any concrete future work on how to make attribution better in general. This was deprioritized because of an effort on the sampling profiler, see https://github.com/WICG/js-self-profiling. Ideally after that is shipped then we can use it to surface some longtask attribution.
from longtasks.
We did some experiments at Elastic, here are the relevant details - WICG/js-self-profiling#21
from longtasks.
Yes, long tasks V2 will have scriptUrl.
Details in this doc:
https://docs.google.com/document/d/125d69JAC7nyx-Ob0a9Z31d1uHUGu4myYQ3os9EnGfdU/edit
from longtasks.
When will you release Long Task V2?
from longtasks.
If you release the feature within two or three weeks, it will be very helpful to me.
from longtasks.
Actually , i have the same question as @Vasikaran :
can we find which scripts are culprit for long Tasks (through the name field) and when the V2 of the API will be released.
Thanks
from longtasks.
FWIW, I'm cautiously hopeful to make progress on that using Task Tracking as infrastructure on top of which attribution can be built.
from longtasks.
Marking as duplicate of #89
from longtasks.
Related Issues (20)
- Some references are broken after navigation refactor
- New proposal: long animation frames HOT 6
- Broken references in Long Tasks API
- Consider to have a separate spec for Long Animation Frame API HOT 3
- Overloading PerformanceEntry HOT 1
- Seo
- containerType is confusing HOT 5
- containerSrc could be long (a data URI) HOT 16
- Container information should be hidden if container appeared in cross-origin frames
- "multiple-contexts" doesn't seem useful HOT 4
- Top-level browsing context scoping HOT 10
- Event loop timing reporting seems to ignore reentrancy HOT 13
- Reporting work outside of event loop can cause leaks HOT 9
- Combination of paint timing and long tasks can expose precise paint timing HOT 3
- Attribution for alert() or other tasks blocked by user input
- Privacy & Security mitigations should not be in an external document
- Should LongTasks from same-origin same-event-loop tabs be reported? HOT 2
- Generic model for causal attribution (non-sampling based) HOT 9
- Demo links don't work HOT 4
- Task duration should be coarsened for each context HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from longtasks.