WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
183218
Add a second tier of prevalence to facilitate telemetry on very prevalent domains
https://bugs.webkit.org/show_bug.cgi?id=183218
Summary
Add a second tier of prevalence to facilitate telemetry on very prevalent dom...
John Wilander
Reported
2018-02-28 11:09:16 PST
We should have a second tier for very prevalent resources. This allows for more detailed telemetry but also for potential UI with "top trackers."
Attachments
Patch
(47.51 KB, patch)
2018-02-28 11:35 PST
,
John Wilander
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews206 for win-future
(11.53 MB, application/zip)
2018-02-28 13:37 PST
,
EWS Watchlist
no flags
Details
Patch for landing
(47.56 KB, patch)
2018-02-28 13:57 PST
,
John Wilander
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-02-28 11:09:54 PST
<
rdar://problem/37992389
>
Radar WebKit Bug Importer
Comment 2
2018-02-28 11:09:54 PST
<
rdar://problem/37992388
>
John Wilander
Comment 3
2018-02-28 11:15:50 PST
I will use <
rdar://problem/37992388
> as the radar equivalent.
John Wilander
Comment 4
2018-02-28 11:35:44 PST
Created
attachment 334755
[details]
Patch
Brent Fulgham
Comment 5
2018-02-28 12:01:29 PST
Comment on
attachment 334755
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=334755&action=review
r=me
> Source/WebKit/Platform/classifier/ResourceLoadStatisticsClassifier.cpp:37 > + return sqrt(a * a + b * b + c * c);
This could probably be "std::hypot(a, b, c)", though I think this is known to be faster to execute.
> Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp:532 > +{
ASSERT(isMainThread());
> Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp:547 > + resourceStatistic.isVeryPrevalentResource = true;
resourceStatistic.isVeryPrevalentResource = newPrevlance == ResourceLoadPrevalence::VeryHigh;
> Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp:576 > +{
ASSERT(isMainThread());
Brent Fulgham
Comment 6
2018-02-28 12:02:04 PST
Comment on
attachment 334755
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=334755&action=review
>> Source/WebKit/Platform/classifier/ResourceLoadStatisticsClassifier.cpp:37 >> + return sqrt(a * a + b * b + c * c); > > This could probably be "std::hypot(a, b, c)", though I think this is known to be faster to execute.
I mean that YOUR code is known to be more efficient (if not as able to handle over/underflow).
EWS Watchlist
Comment 7
2018-02-28 13:36:58 PST
Comment on
attachment 334755
[details]
Patch
Attachment 334755
[details]
did not pass win-ews (win): Output:
http://webkit-queues.webkit.org/results/6708809
New failing tests: http/tests/preload/download_resources.html
EWS Watchlist
Comment 8
2018-02-28 13:37:09 PST
Created
attachment 334763
[details]
Archive of layout-test-results from ews206 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews206 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
John Wilander
Comment 9
2018-02-28 13:57:38 PST
Created
attachment 334766
[details]
Patch for landing
John Wilander
Comment 10
2018-02-28 13:58:47 PST
Thanks, Brent! Fixed all the things you commented on.
WebKit Commit Bot
Comment 11
2018-02-28 14:25:32 PST
Comment on
attachment 334766
[details]
Patch for landing Clearing flags on attachment: 334766 Committed
r229106
: <
https://trac.webkit.org/changeset/229106
>
WebKit Commit Bot
Comment 12
2018-02-28 14:25:34 PST
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 13
2018-02-28 16:37:15 PST
Comment on
attachment 334766
[details]
Patch for landing View in context:
https://bugs.webkit.org/attachment.cgi?id=334766&action=review
> Source/WebKit/Platform/classifier/ResourceLoadStatisticsClassifier.cpp:55 > + ASSERT(currentPrevalence == Low);
I am hitting this assertion in debug wk2.
John Wilander
Comment 14
2018-02-28 16:55:47 PST
(In reply to Chris Dumez from
comment #13
)
> Comment on
attachment 334766
[details]
> Patch for landing > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=334766&action=review
> > > Source/WebKit/Platform/classifier/ResourceLoadStatisticsClassifier.cpp:55 > > + ASSERT(currentPrevalence == Low); > > I am hitting this assertion in debug wk2.
Thanks for the report, Chris. I removed the assertion in
https://bugs.webkit.org/show_bug.cgi?id=183233
.
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