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

wikimedia / parsoid / 2384
85%

Build:
DEFAULT BRANCH: master
Ran 20 Mar 2019 04:59PM UTC
Jobs 3
Files 116
Run time 7min
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
2384

push

travis-ci

jenkins-bot
<a href="https://github.com/wikimedia/parsoid/commit/31363b4ec">Tokenizer efficiency improvements

Miscellaneous changes which came out of reviewing pegTokenizer.pegjs in
the course of porting it to PHP.

* Don&#39;t use location(), ever. All it does is convert the string offsets
  in peg$savedPos and peg$currPos to line and column numbers, which we
  don&#39;t need. Maybe startOffset() and endOffset() callers should
  directly access these variables.
* In tplarg_or_template_guarded, lang_variant_text_no_semi, and
  lang_variant_text_no_semi_or_arrow, remove a wrapper which was rendered
  unnecessary by the rule parameter change.
* In almost every case where .join(&#39;&#39;) was used, use the text operator
  ($) instead. It is much faster to take an input substring than to
  construct an array and join it.
* In lang_variant_nowiki and lang_variant_text, remove unnecessary
  offset captures. The generated code captures the start and end
  positions by default.
* Also use the $ operator to improve efficiency in
  generic_attribute_name, table_attribute_name
* Introduce optional_spaces to replace space*, since there is an
  overhead associated with entering a rule.

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

9548 of 12008 branches covered (79.51%)

14858 of 17582 relevant lines covered (84.51%)

86053.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2384.1 20 Mar 2019 05:05PM UTC 0
84.51
Travis Job 2384.1
2 2384.2 20 Mar 2019 04:59PM UTC 0
84.51
Travis Job 2384.2
3 2384.3 20 Mar 2019 05:06PM UTC 0
84.51
Travis Job 2384.3
Source Files on build 2384
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2384
  • 31363b4e on github
  • Prev Build on master (#2383)
  • Next Build on master (#2385)
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