Since we removed the PageLoadingPerfTest conception we don't need that class, but ReplayPerfTest uses it, so it's time to do some cleanup.
I think we can change ReplayPerfTest to use the same iframe approach.
(In reply to comment #1) > I think we can change ReplayPerfTest to use the same iframe approach. Good point and it makes sense, since it would be really interesting to measure the memory usage after a page loads. I'll do it with this in mind.
I think we can make ReplayPerfTest inherit from PerfTest and use the same iframe approach.
Created attachment 172732 [details] Work in progress Here's a snippet of code that turns replay tests into an iframe-based tests.
Created attachment 172733 [details] Demonstrates interesting cache-dependent behavior For some reason, immediately changing iframe's src makes subsequent page loads really fast. Delaying it with 50ms or so will make the results more uniform across iterations. I'm not sure whether this behavior is caused by WebCore or web-page-replay.