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

pulibrary / allsearch_api / 68a1d225-c7a1-40af-a3c0-b81f8741512c
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: remove_rails_references
DEFAULT BRANCH: main
Ran 13 Dec 2025 03:48AM UTC
Jobs 1
Files 85
Run time 1min
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

13 Dec 2025 03:46AM UTC coverage: 100.0%. Remained the same
68a1d225-c7a1-40af-a3c0-b81f8741512c

push

circleci

sandbergja
Skip nokogiri-based sanitization for strings that don't contain angle brackets

It can be expensive to run the full sanitization routine on long
strings, so let's skip it if they don't need HTML-parser based sanitization,
using the heuristic of checking for an opening angle bracket.

According to the attached microbenchmark:

before:
```
Warming up --------------------------------------
           sanitizer   583.000 i/100ms
Calculating -------------------------------------
           sanitizer      6.308k (± 4.5%) i/s  (158.54 μs/i) -     31.482k in   5.001876s
```

after:
```
Warming up --------------------------------------
           sanitizer     1.547k i/100ms
Calculating -------------------------------------
           sanitizer     15.592k (± 1.0%) i/s   (64.13 μs/i) -     78.897k in   5.060501s
```

5 of 5 new or added lines in 1 file covered. (100.0%)

1427 of 1427 relevant lines covered (100.0%)

76.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 68a1d225-c7a1-40af-a3c0-b81f8741512c.1 13 Dec 2025 03:48AM UTC 85
100.0
Source Files on build 68a1d225-c7a1-40af-a3c0-b81f8741512c
  • Tree
  • List 85
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #68A1D225...
  • c21093d8 on github
  • Prev Build on main (#45D00944...)
  • Next Build on faster-sanitize (#DDF6BAED...)
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

© 2025 Coveralls, Inc