15 ms·
Brave shows how many ads and trackers it has blocked, as well as a number that's labeled Time Saved. How that is calculated I haven't the foggiest, but it must
by megaman22 8y ago
Brave shows how many ads and trackers it has blocked, as well as a number that's labeled Time Saved. How that is calculated I haven't the foggiest, but it must be related to download size.
- rusbus 8y agoProbably `Content-Length` of requests they didn't serve divided by your average download speed?
- echelon 8y agoBrave shows this on the "new tab" page. I was surprised with how much these numbers added up over time, though I do suppose they are reasonable estimations.
- was_boring 8y agoAs far as I'm aware, Brave is open source and this appears to be the time saved calculation on Android. https://github.com/brave/browser-android-tabs/blob/b4d565f0748c0b3ea189c71d76222144d2823507/components/download/internal/common/download_stats.cc#L916 https://github.com/brave/browser-android-tabs/blob/b4d565f07...
- splonk 8y agoInteresting. I (like others here, apparently) assumed that the time saved number was based on various tracking scripts that weren't downloaded, but if this is the relevant code, looks like it's just tracking parallel requests.
- was_boring 8y agoYou know, I think you're right. The formula from the PR that implemented "Est. Time Saved" appears to be (trackers + ads blocked) * 50ms https://github.com/brave/browser-android-tabs/pull/331/files#diff-78893a1dc301286f35272e54fa39e4cbR477 https://github.com/brave/browser-android-tabs/pull/331/files...