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

pulibrary / bibdata / 2b03d55c-d9bf-4723-a9fa-30ef2bf41be8 / 2
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: 2981-bibdata
DEFAULT BRANCH: main
Ran 20 Nov 2025 05:43PM UTC
Files 113
Run time 3s
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

20 Nov 2025 05:25PM UTC coverage: 92.053% (+0.007%) from 92.046%
2b03d55c-d9bf-4723-a9fa-30ef2bf41be8.2

Pull #2979

circleci

sandbergja
Add frozen_string_literals comments to marc_to_solr files that are compatible with them

We don't have the relevant rubocop check enabled, so many files are missing
this magic comment.

This does make MarcBreaker slightly faster, although indexing a full file
takes about the same amount of time.  I checked MarcBreaker's performance
with the following microbenchmark in `rails c`:

```
record = MARC::XMLReader.new(Rails.root.join('spec/fixtures/marc_to_solr/9914141453506421.mrx').to_s).first
Benchmark.ips { it.report { MarcBreaker.break(record) } }
```

Before:
```
Warming up --------------------------------------
                       472.000 i/100ms
Calculating -------------------------------------
                          4.705k (± 1.2%) i/s  (212.53 μs/i) -     23.600k in   5.016528s
```

After:
```
Warming up --------------------------------------
                       512.000 i/100ms
Calculating -------------------------------------
                          5.178k (± 1.4%) i/s  (193.11 μs/i) -     26.112k in   5.043372s
```
Pull Request #2979: Add frozen_string_literals comments to marc_to_solr files that are compatible with them

3255 of 3536 relevant lines covered (92.05%)

894.58 hits per line

Source Files on job 2b03d55c-d9bf-4723-a9fa-30ef2bf41be8.2
  • Tree
  • List 113
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2
  • ccf39807 on github
  • Prev Job for on frozen-string-literals (#b47bc540-ecf5-4e84-8eb6-87bf4e6ec033.2)
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