<!DOCTYPE html>
<script src="../resources/runner.js"></script>
<div id="container"></div>
<script>
'use strict';

PerfTestRunner.assert_true(typeof window.GCController !== "undefined", 'GCController is required for accurate measurement');

PerfTestRunner.measureTime({
  description: 'Adds, then lays out, a long list of sibling elements ' +
               'separated by spaces',
  setup: () => {
    container.parentNode.replaceChild(container.cloneNode(false), container);
    PerfTestRunner.gc();
  },
  run: 