Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1400)

Issue 2284113003: Add performance tests for long words/lines (Closed)

Created:
4 years, 3 months ago by kojii
Modified:
4 years, 3 months ago
Reviewers:
drott, eae
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add performance tests for long words/lines This patch adds performance tests for: 1. To watch break-all/break-word performance for a very long word, which required several fixes in the past. 2. To investigate whitespace collapsing in a long line. For 1, a test[1] indicates we're linear to the length of the word, but Gecko/Edge looks consistent and faster than us. For 2, we're slower than Gecko/Edge by the factor of 10 or so when the line is very long. I will investigate it further. [1] http://bl.ocks.org/stestagg/aa6db5d177b09e74825c6e4b02cb3f07 BUG=622810, 583711 Committed: https://crrev.com/1b56d7b9d53d796b72659d6ea0a70044a74c67ca Cr-Commit-Position: refs/heads/master@{#415092}

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Fix typo in comments #

Total comments: 4

Patch Set 4 : eae review #

Messages

Total messages: 21 (15 generated)
kojii
PTAL.
4 years, 3 months ago (2016-08-29 14:57:39 UTC) #10
eae
LGTM https://codereview.chromium.org/2284113003/diff/40001/third_party/WebKit/PerformanceTests/Layout/resources/line-layout-perf-test.js File third_party/WebKit/PerformanceTests/Layout/resources/line-layout-perf-test.js (right): https://codereview.chromium.org/2284113003/diff/40001/third_party/WebKit/PerformanceTests/Layout/resources/line-layout-perf-test.js#newcode36 third_party/WebKit/PerformanceTests/Layout/resources/line-layout-perf-test.js:36: this.container.removeChild(this.container.firstChild); It's faster the remove the lastChild (but ...
4 years, 3 months ago (2016-08-29 16:32:57 UTC) #14
kojii
Thank you for the review. https://codereview.chromium.org/2284113003/diff/40001/third_party/WebKit/PerformanceTests/Layout/resources/line-layout-perf-test.js File third_party/WebKit/PerformanceTests/Layout/resources/line-layout-perf-test.js (right): https://codereview.chromium.org/2284113003/diff/40001/third_party/WebKit/PerformanceTests/Layout/resources/line-layout-perf-test.js#newcode36 third_party/WebKit/PerformanceTests/Layout/resources/line-layout-perf-test.js:36: this.container.removeChild(this.container.firstChild); On 2016/08/29 at ...
4 years, 3 months ago (2016-08-29 19:14:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2284113003/60001
4 years, 3 months ago (2016-08-29 19:50:56 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-30 04:26:15 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 04:28:11 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1b56d7b9d53d796b72659d6ea0a70044a74c67ca
Cr-Commit-Position: refs/heads/master@{#415092}

Powered by Google App Engine
This is Rietveld 408576698