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

Issue 1562133002: libxml2: linearly optimize XPath expressions. (Closed)

Created:
4 years, 11 months ago by sof
Modified:
4 years, 11 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

libxml2: linearly optimize XPath expressions. Some XPath expression nodes keep a back pointer to the last/previous expression node for optimization purposes. Such pointers will result in repeated work when walking over the expression tree/graph, peephole optimizing it. Unacceptable amounts of repeated work as the expression tree becomes deeper. Avoid by marking the expression nodes during the optimization pass. R=scottmg BUG=573768 Committed: https://crrev.com/0b208a502be9d60929be48056dd4213efd998076 Cr-Commit-Position: refs/heads/master@{#369733} Committed: https://crrev.com/89ca0415031f1522172e78b96bc4f4da29150cd0 Cr-Commit-Position: refs/heads/master@{#369966}

Patch Set 1 #

Patch Set 2 : switch to marking scheme #

Patch Set 3 : compilation fix #

Patch Set 4 : add README.chromium entry #

Patch Set 5 : add missing cacheURI initialization #

Patch Set 6 : follow C comment formatting convention #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -8 lines) Patch
M third_party/libxml/README.chromium View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M third_party/libxml/src/xpath.c View 1 2 3 4 5 5 chunks +27 lines, -6 lines 0 comments Download

Messages

Total messages: 53 (21 generated)
sof
please take a look. i'd be happy to try to upstream this afterwards, but I ...
4 years, 11 months ago (2016-01-06 21:32:47 UTC) #2
sof
+thakis@ for potential advice on how to preferably proceed with fixes to third party libs.
4 years, 11 months ago (2016-01-07 18:49:39 UTC) #4
Nico
The process for changes to third-party libraries is: 1. File upstream bug with patch 2. ...
4 years, 11 months ago (2016-01-07 18:59:39 UTC) #5
Nico
....but why do we care about xslt performance? I thought the plan was to kick ...
4 years, 11 months ago (2016-01-07 19:00:30 UTC) #6
sof
On 2016/01/07 19:00:30, Nico wrote: > ....but why do we care about xslt performance? I ...
4 years, 11 months ago (2016-01-07 19:06:29 UTC) #7
Nico
Since it's fixing a regression I suppose it's fine *shrug* On Thu, Jan 7, 2016 ...
4 years, 11 months ago (2016-01-07 19:08:11 UTC) #8
scottmg
On 2016/01/06 21:32:47, sof wrote: > please take a look. > > i'd be happy ...
4 years, 11 months ago (2016-01-07 19:34:06 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1562133002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1562133002/20001
4 years, 11 months ago (2016-01-08 15:07:20 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/77052) chromeos_daisy_chromium_compile_only_ng on ...
4 years, 11 months ago (2016-01-08 15:17:40 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1562133002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1562133002/40001
4 years, 11 months ago (2016-01-08 15:32:39 UTC) #16
sof
Reported https://bugzilla.gnome.org/show_bug.cgi?id=760325
4 years, 11 months ago (2016-01-08 15:40:20 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-08 16:41:58 UTC) #19
scottmg
On 2016/01/08 15:40:20, sof wrote: > Reported https://bugzilla.gnome.org/show_bug.cgi?id=760325 Please note in README.chromium that this is ...
4 years, 11 months ago (2016-01-08 18:17:00 UTC) #20
sof
On 2016/01/08 18:17:00, scottmg (slow) wrote: > On 2016/01/08 15:40:20, sof wrote: > > Reported ...
4 years, 11 months ago (2016-01-08 18:22:45 UTC) #21
sof
On 2016/01/08 18:22:45, sof wrote: > On 2016/01/08 18:17:00, scottmg (slow) wrote: > > On ...
4 years, 11 months ago (2016-01-15 12:08:15 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1562133002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1562133002/60001
4 years, 11 months ago (2016-01-15 12:08:23 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/8789)
4 years, 11 months ago (2016-01-15 12:22:54 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1562133002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1562133002/60001
4 years, 11 months ago (2016-01-15 13:29:02 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-15 13:45:52 UTC) #32
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/0b208a502be9d60929be48056dd4213efd998076 Cr-Commit-Position: refs/heads/master@{#369733}
4 years, 11 months ago (2016-01-15 13:47:01 UTC) #34
jsbell
On 2016/01/15 13:47:01, commit-bot: I haz the power wrote: > Patchset 4 (id:??) landed as ...
4 years, 11 months ago (2016-01-15 19:17:09 UTC) #35
jsbell
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1597603002/ by jsbell@chromium.org. ...
4 years, 11 months ago (2016-01-15 19:17:41 UTC) #36
huangs
Also, please remove tab characters in xpath.c.
4 years, 11 months ago (2016-01-15 20:19:26 UTC) #37
sof
On 2016/01/15 20:19:26, huangs wrote: > Also, please remove tab characters in xpath.c. Thanks for ...
4 years, 11 months ago (2016-01-15 20:20:56 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1562133002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1562133002/80001
4 years, 11 months ago (2016-01-15 20:49:43 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1562133002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1562133002/100001
4 years, 11 months ago (2016-01-15 20:58:02 UTC) #43
sof
added missing initialization of cacheURI field; ptal?
4 years, 11 months ago (2016-01-15 21:03:16 UTC) #44
scottmg
lgtm
4 years, 11 months ago (2016-01-15 21:11:23 UTC) #45
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-15 22:30:56 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1562133002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1562133002/100001
4 years, 11 months ago (2016-01-17 14:53:19 UTC) #49
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 11 months ago (2016-01-17 16:09:38 UTC) #51
commit-bot: I haz the power
4 years, 11 months ago (2016-01-17 16:10:34 UTC) #53
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/89ca0415031f1522172e78b96bc4f4da29150cd0
Cr-Commit-Position: refs/heads/master@{#369966}

Powered by Google App Engine
This is Rietveld 408576698