Open
Bug 1470241
Opened 6 years ago
Updated 2 years ago
Auto-generate use counters for web-exposed bindings
Categories
(Core :: DOM: Bindings (WebIDL), enhancement, P3)
Core
DOM: Bindings (WebIDL)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox62 | --- | affected |
People
(Reporter: overholt, Unassigned)
References
(Blocks 1 open bug)
Details
It would be nice to not have to think about explicitly adding usage telemetry.
Comment 1•6 years ago
|
||
qdot, can you point me at where this would happen? I'll take a stab at a patch.
Assignee: nobody → dietrich
Flags: needinfo?(kyle)
Updated•6 years ago
|
Flags: needinfo?(kyle)
Priority: -- → P3
Comment 2•6 years ago
|
||
Whoops, didn't mean to un-ni? myself. I'll take a look at this in a bit and let you know.
While I'm here though: Are we wanting to just default to use-counting ALL web-exposed UIs, or do we want another decorator for webidl interfaces that explicitly marks them as use-counted?
Flags: needinfo?(overholt)
Flags: needinfo?(kyle)
Reporter | ||
Comment 3•6 years ago
|
||
(In reply to Kyle Machulis [:qdot] [:kmachulis] (if a patch has no decent commit message, automatic r-) from comment #2)
>
> While I'm here though: Are we wanting to just default to use-counting ALL
> web-exposed UIs, or do we want another decorator for webidl interfaces that
> explicitly marks them as use-counted?
I think it depends on what sort of overhead we'd see here. I honestly don't know and just think it'd be cool to be able to have this data without thinking about it (default on).
(Definitely P3 material here)
Flags: needinfo?(overholt)
Comment 4•6 years ago
|
||
+1 to not knowing enough yet.
I think we want to get to a place where we're not shipping things to the web that we're don't know whether anyone is actually using it.
WebIDL auto-generation makes it zerowork for platform developers for those APIs.
Doing this on Nightly seems like a low risk way to figure out how feasible this approach is.
Reporter | ||
Comment 5•6 years ago
|
||
One thing that would be cool is knowing how many unique origins use a feature. Peter pointed out this will of course be much more expensive ... maybe we could do that opt-in?
Reporter | ||
Comment 6•6 years ago
|
||
Alternatively we could have an explicit blacklist of things we need to be fast (Peter gives the example of Node).
Comment 7•6 years ago
|
||
I think I can clear my ni on this until more specific info is needed?
Flags: needinfo?(kyle)
Updated•6 years ago
|
Assignee: autonome → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•