summaryrefslogtreecommitdiffstats
path: root/ui/gfx/platform_font.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-20 20:06:18 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-20 20:06:18 +0000
commitfadcd6d7321dde7e590fa637ef0913f14e65e683 (patch)
tree4a7e44916d77c8ed785397ef5672a94587407339 /ui/gfx/platform_font.h
parentd3c79f39fbb1d25560aa759f4543905413cd1311 (diff)
downloadchromium_src-fadcd6d7321dde7e590fa637ef0913f14e65e683.zip
chromium_src-fadcd6d7321dde7e590fa637ef0913f14e65e683.tar.gz
chromium_src-fadcd6d7321dde7e590fa637ef0913f14e65e683.tar.bz2
[Sync] Speed up Javascript node operations
Changed getNodeById to getNodesById and added getChildNodeIds. This avoids having to loop through a node's children in Javascript, which is slow. This speeds up expanding the "Autofill" node in the sync node browser by 40-50% (with ~2700 elements). With a debug Chromium, time spent retrieving the nodes goes from 30s to 18s, and with a release Chromium time it goes from 2.9s to 1.3s. This will also speed up search, which will be implemented shortly. Add timer logs to some sync node browser operations. Fix docs for some functions called from Javascript. BUG=76812 TEST= Review URL: http://codereview.chromium.org/7049028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86135 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/platform_font.h')
0 files changed, 0 insertions, 0 deletions