WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
96837
We should make collecting metrics easier by adding an IDL attribute
https://bugs.webkit.org/show_bug.cgi?id=96837
Summary
We should make collecting metrics easier by adding an IDL attribute
Adam Barth
Reported
2012-09-14 15:53:58 PDT
We should make collecting metrics easier by adding an IDL attribute
Attachments
Work in progress
(18.89 KB, patch)
2012-09-14 15:57 PDT
,
Adam Barth
no flags
Details
Formatted Diff
Diff
Work in progress
(18.85 KB, patch)
2012-09-14 15:58 PDT
,
Adam Barth
no flags
Details
Formatted Diff
Diff
Patch
(25.62 KB, patch)
2012-09-14 16:49 PDT
,
Adam Barth
no flags
Details
Formatted Diff
Diff
Patch for landing
(29.31 KB, patch)
2012-09-17 11:22 PDT
,
Adam Barth
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Adam Barth
Comment 1
2012-09-14 15:57:44 PDT
Created
attachment 164243
[details]
Work in progress
Adam Barth
Comment 2
2012-09-14 15:58:28 PDT
Created
attachment 164244
[details]
Work in progress
Eric Seidel (no email)
Comment 3
2012-09-14 15:59:42 PDT
I support this product and/or service. Want to buy.
Adam Barth
Comment 4
2012-09-14 16:49:54 PDT
Created
attachment 164249
[details]
Patch
Ojan Vafai
Comment 5
2012-09-14 17:00:53 PDT
Comment on
attachment 164249
[details]
Patch Non-bindings bits LGTM. Probably someone more familiar with V8 bindings should review that part though.
Adam Barth
Comment 6
2012-09-14 17:08:33 PDT
Maybe japhet or dglazkov? I believe haraken in on vacation.
Kentaro Hara
Comment 7
2012-09-15 05:48:03 PDT
Comment on
attachment 164249
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=164249&action=review
The V8 binding LGTM. Do you have any plan to support [MeasureAs] in JSC?
> Source/WebCore/bindings/scripts/CodeGeneratorV8.pm:1828 > +END > + push(@implContent, GenerateFeatureObservation($function->signature->extendedAttributes->{"MeasureAs"})); > + > + push(@implContent, <<END);
Nit: For readability, shall we avoid the END? You can store the result of GenerateFeatureObservation() to some variable before line 1822 and use the variable here.
> Source/WebCore/bindings/scripts/CodeGeneratorV8.pm:2023 > +END > + push(@implContent, GenerateFeatureObservation($function->signature->extendedAttributes->{"MeasureAs"})); > + > + push(@implContent, <<END);
Ditto.
Ojan Vafai
Comment 8
2012-09-15 08:23:22 PDT
Comment on
attachment 164249
[details]
Patch Bikeshed: MeasureAs is a confusing term to me. MeasureUsage maybe?
Ojan Vafai
Comment 9
2012-09-15 08:24:03 PDT
Comment on
attachment 164249
[details]
Patch Oh, never mind. I see now that it takes a name to measure as. Carry on. :)
Adam Barth
Comment 10
2012-09-15 11:41:21 PDT
> The V8 binding LGTM. Do you have any plan to support [MeasureAs] in JSC?
Currently Chromium is the only port that has a backend for Histograms. It doesn't seem worth supporting in JSC since it will just be overhead at this point.
Kentaro Hara
Comment 11
2012-09-15 15:15:36 PDT
(In reply to
comment #10
)
> > The V8 binding LGTM. Do you have any plan to support [MeasureAs] in JSC? > > Currently Chromium is the only port that has a backend for Histograms. It doesn't seem worth supporting in JSC since it will just be overhead at this point.
Got it. Then [V8MeasureAs] might be a better name.
Adam Barth
Comment 12
2012-09-17 11:22:34 PDT
Created
attachment 164422
[details]
Patch for landing
Adam Barth
Comment 13
2012-09-17 11:28:10 PDT
Comments addressed! Thanks.
WebKit Review Bot
Comment 14
2012-09-17 11:53:14 PDT
Comment on
attachment 164422
[details]
Patch for landing Clearing flags on attachment: 164422 Committed
r128788
: <
http://trac.webkit.org/changeset/128788
>
WebKit Review Bot
Comment 15
2012-09-17 11:53:18 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug