Page MenuHomePhabricator
Paste P6250

navtiming-unsupported.txt
ActivePublic

Authored by Krinkle on Nov 2 2017, 11:54 PM.
Tags
None
Referenced Files
F10578656: navtiming-unsupported.txt
Nov 2 2017, 11:56 PM
F10578647: navtiming-unsupported.txt
Nov 2 2017, 11:54 PM
Subscribers
None
# 1. Download latest data from https://analytics.wikimedia.org/dashboards/browsers/
# 2. Remove all except the last week.
# 3. Remove all that are known to support Navigation Timing per http://caniuse.com/nav-timing
#
# Remainder:
date browser_family browser_major percent
2017-10-22 Firefox 2 5.924361771704824E-4
2017-10-22 Firefox 3 1.8830929000504068E-4
2017-10-22 Safari 4 4.1909218387794806E-4
2017-10-22 Safari 5 9.318598044394203E-4
2017-10-22 Safari 6 7.45009940523238E-5
2017-10-22 Mobile Safari 5 1.5387322190076088E-4
2017-10-22 Mobile Safari 6 1.4722595959118439E-4
2017-10-22 Mobile Safari 7 0.0017827118795580368
2017-10-22 Mobile Safari 8 0.0021581415341472994
2017-10-22 Android 2 0.0017468933141996492
2017-10-22 IE 4 0.0013577714379105017
2017-10-22 IE 6 0.004408805127899716
2017-10-22 IE 7 0.025201684360780505
2017-10-22 IE 8 0.0017872301294228582
2017-10-22 Opera Mini 4 0.0024451524631871786
2017-10-22 Opera Mini 7 0.0015380729083444404
2017-10-22 Opera Mini 29 4.4489778097606955E-4
2017-10-22 Opera Mini 30 0.0012125603472583598
2017-10-22 AppleMail 604 0.0014597649089969557
2017-10-22 AppleMail 603 3.7605397235286934E-4
2017-10-22 Amazon Silk 61 0.001067214283993623
2017-10-22 Thunderbird 52 9.285254810097659E-5
2017-10-22 Lightning 5 1.1322452551717355E-4
# 4. Add up the percentages
var input = prompt(); // Copy and paste from above
input.split('\n').reduce(function (prev, val) {
val = val.trim();
if (val) {
var percent = val.split('\t')[3];
prev += parseFloat(percent);
}
return prev;
}, 0) * 100;
//> 4.970032915368338
# Outcome: 5%