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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/bundler/action_text-trix-2.1.16
DEFAULT BRANCH: main
Ran 20 Nov 2025 05:37PM UTC
Files 60
Run time 1s
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: 88.437% (-3.6%) from 92.046%
2b03d55c-d9bf-4723-a9fa-30ef2bf41be8.1

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

5767 of 6521 relevant lines covered (88.44%)

20.47 hits per line

Source Files on job 2b03d55c-d9bf-4723-a9fa-30ef2bf41be8.1
  • Tree
  • List 60
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
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