• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wikimedia / parsoid / 3022
85%

Build:
DEFAULT BRANCH: master
Ran 17 Sep 2019 07:15PM UTC
Jobs 3
Files 306
Run time 8min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3022

push

travis-ci

jenkins-bot
<a href="https://github.com/wikimedia/parsoid/commit/6187b179a">Fix inefficiencies looking up id attributes in storeDataAttribs

* This is a second attempt to address PHP DOM issues with getElementById
  and Zest&#39;s ineffiencies in looking up ids on the DOM via XPath.

* This fixes performance on the tagged task.

* In the first attempt of this patch, I had used a querySelectorAll([&#39;id])
  but a manual visitDOM turned out to be much faster than that even
  though the querySelectorAll did fix the n^2 issue.

* Also condition the check in visitAndStoreDataAttribs on whether
  we need to storeInPageBundle since it turns out html2wt had slowed
  down 2x since 6fa28acd which unconditionally used the querySelector
  hack in visitAndStoreDataAttribs.

* Flamegraph confirms the fix.

Bug: T232180
Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/bb80bd81c">bb80bd81c</a>

19282 of 24282 branches covered (79.41%)

30146 of 35550 relevant lines covered (84.8%)

96869.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3022.1 17 Sep 2019 07:20PM UTC 0
84.8
Travis Job 3022.1
2 3022.2 17 Sep 2019 07:15PM UTC 0
84.8
Travis Job 3022.2
3 3022.3 17 Sep 2019 07:23PM UTC 0
84.83
Travis Job 3022.3
Source Files on build 3022
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3022
  • 6187b179 on github
  • Prev Build on master (#3021)
  • Next Build on master (#3023)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc