Commit 08f320e7 authored by yuzus's avatar yuzus Committed by Commit bot

Modify v1-distribution PerformanceTest

Change getDistributedNodes to getAssignedNodes to make the performance test run.
BUG=531990

Review URL: https://codereview.chromium.org/1630003004

Cr-Commit-Position: refs/heads/master@{#371757}
parent fe356a2d
...@@ -28,9 +28,9 @@ function run() { ...@@ -28,9 +28,9 @@ function run() {
let div = document.createElement('div'); let div = document.createElement('div');
for (let i = 0; i < loops; ++i) { for (let i = 0; i < loops; ++i) {
host.appendChild(div); host.appendChild(div);
slot.getDistributedNodes();; slot.getAssignedNodes({flatten: true});
host.removeChild(div); host.removeChild(div);
slot.getDistributedNodes();; slot.getAssignedNodes({flatten: true});
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment