w3c / w3c/resource-timing

Critical path length?

Open
#149 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Bikeshed
Stars
135
Forks
40
PR merge metrics
No merged PRs in 30d

Description

I've been thinking about how we might improve our RUM monitoring and I got to thinking about critical path length. Resource Timing seems like it has almost all of the information one might need to determine the critical path length, or even any resource path length, but not quite. PerformanceResourceTiming already has initiatorType, but that only tells you the category of resource that initiated the request.

Perhaps some of this could be inferred by piecing together disparate timing information, but it would be nice if we had access to something a bit more structured. Would it make sense to add an initiator reference to PerformanceResourceTiming to enable this kind of analysis? Or, maybe this is already possible in a different way?

Sorry if this is not the right venue for this, I'm new around here. 🙋

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 reviewing the Resource Timing specification and the PerformanceResourceTiming interface described in the issue. Investigate whether existing timing data can identify resource initiators and whether an initiator reference fits the API model. Done means producing a clear feasibility conclusion and a sufficiently specified proposal or documenting why the request is not actionable.

Written by the indexing model from the issue text.

Assessment

Domain
api, performance, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.