Back to Amphtml

amp

examples/amphtml-ads/fake-memory.host.html

latest532 B
Original Source

This page tests amp-inabox memory usage on refresh. Follow the instructions below.


Inabox above the fold

Start Chrome with:

--js-flags="--expose-gc" --enable-precise-memory-info

then visit this page. Memory usage should stay more or less constant, to within about a megabyte. If it grows without bound there's a leak.

Note: if you have devtools open you'll see memory grow as if there's a leak, so you need to run this with devtools closed.

Memory usage: make sure you enabled precise memory info