chromium/tools/perf/page_sets/tough_animation_cases/css_transitions_simultaneous_by_updating_inline_style.html

<!DOCTYPE html>
<meta name="viewport" content="width=device-width, user-scalable=no">
<link rel="stylesheet" type="text/css" href="resources/tablet.css">
<link rel="stylesheet" type="text/css" href="resources/transition.css">
<script src="resources/perf_test_helper.js"></script>

<container id="container"></container>

<script>
var N = PerfTestHelper.getN(1000);
var duration = 1000;
var targets = [];
var keyframe = 1;
var keyframeValues = [0, 1]

for (var i = 0; i < N; i++) {
  var target = document.createElement('target');
  container.appendChild(target);
  targets.push(target);
}

function startAllTransitions() {
  keyframe ^= 1;
  targets.forEach(function(target) {
    target.style.opacity = keyframeValues[keyframe];
  });
}

requestAnimationFrame(startAllTransitions);
setInterval(startAllTransitions, duration);

PerfTestHelper.signalReady();
</script>