commit | 1e80f4dada6d7ddcfdc11374e2251b481349cfba | [log] [tgz] |
---|---|---|
author | rkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Apr 22 20:25:41 2014 |
committer | rkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Apr 22 20:25:41 2014 |
tree | a1bfdfdd29203e226600f25cdb7e0c6208452452 | |
parent | 4af28049894b73e7b360eec06b4369afb16f64dd [diff] |
Move the flush in AppendCommandsToFile outside the loop. This flush is being called every time we write one single command to the file, causing hundreds of flushes every 2.5s. This is causing jankiness. There is no reason to keep this flush inside the loop, please see the bug for additional details. R=marja@chromium.org BUG=245015 Review URL: https://codereview.chromium.org/246573003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265345 0039d316-1c4b-4281-b951-d872f2087c98