boomerang
boomerang copied to clipboard
Performance Audit 2017: Memory init()
The Memory
plugin's init()
frequently shows up in JavaScript CPU profiles. While it doesn't take a long time, we can often see a few ms of activity.
It appears the call to navigator.getBattery()
might be expensive. We should investigate if we can defer this work until the beacon (off the critical path).
if the battery API is being deprecated, we might end up dropping this.
PR for this fix has been merged into our private organizational fork and should land in this repository in coming weeks.
@nicjansma , if this was Fixed by "Akamai" is this backported with one of the last akamai-backport PRs? Or could this Backported? regards, Sascha