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

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

Build:
Build:
LAST BUILD BRANCH: 2990-rails-8.1.1
DEFAULT BRANCH: main
Ran 20 Nov 2025 05:37PM UTC
Jobs 2
Files 173
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

20 Nov 2025 05:25PM UTC coverage: 89.709% (+0.2%) from 89.51%
2b03d55c-d9bf-4723-a9fa-30ef2bf41be8

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

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

8 existing lines in 3 files now uncovered.

9022 of 10057 relevant lines covered (89.71%)

327.8 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% lib/bibdata_rs/src/lib.rs
1
97.62
0.18% marc_to_solr/lib/language_service.rb
6
84.15
15.15% lib/bibdata_rs/src/languages.rs
Jobs
ID Job ID Ran Files Coverage
1 2b03d55c-d9bf-4723-a9fa-30ef2bf41be8.1 20 Nov 2025 05:37PM UTC 60
88.44
2 2b03d55c-d9bf-4723-a9fa-30ef2bf41be8.2 20 Nov 2025 05:43PM UTC 113
92.05
Source Files on build 2b03d55c-d9bf-4723-a9fa-30ef2bf41be8
  • Tree
  • List 173
  • Changed 25
  • Source Changed 2
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #2B03D55C...
  • Pull Request #2979
  • PR Base - main (#B47BC540...)
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