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

pulibrary / bibdata / e6a7ce57-ae6e-4515-bc9f-2a93af69dc41
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: 2990-rails-8.1.1
DEFAULT BRANCH: main
Ran 20 Nov 2025 02:42PM 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 02:36PM UTC coverage: 89.51% (-0.2%) from 89.709%
e6a7ce57-ae6e-4515-bc9f-2a93af69dc41

push

circleci

sandbergja
Rewrite macrolanguage_codes in Rust

Also includes an optimization to the Rust ISO 639-3 code lookup.
Previously, it was slow for entries that are near the end of the
alphabet.  Switching to using a HashMap fixed this, and did not
slow down entries near the start of the alphabet.

Before (ruby implementation):
```
has macrolanguage, both are near the start of the alphabet
                          1.682M (± 3.2%) i/s  (594.57 ns/i) -      8.529M in   5.076489s
has no macrolanguage, middle of alphabet
                          1.950M (± 2.0%) i/s  (512.84 ns/i) -      9.747M in   5.000622s
has macrolanguage, near end of alphabet
                          1.690M (± 2.2%) i/s  (591.74 ns/i) -      8.448M in   5.001234s
```

After (rust implementation with new HashMap-based lookup):
```
has macrolanguage, both are near the start of the alphabet
                          2.833M (± 2.0%) i/s  (353.02 ns/i) -     14.394M in   5.083562s
has no macrolanguage, middle of alphabet
                          5.380M (± 1.6%) i/s  (185.87 ns/i) -     26.939M in   5.008385s
has macrolanguage, near end of alphabet
                          2.845M (± 1.6%) i/s  (351.46 ns/i) -     14.491M in   5.094399s
```

5 of 27 new or added lines in 4 files covered. (18.52%)

9019 of 10076 relevant lines covered (89.51%)

329.63 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
0.0
0.0% lib/bibdata_rs/src/lib.rs
18
69.0
-15.15% lib/bibdata_rs/src/languages.rs
Jobs
ID Job ID Ran Files Coverage
1 e6a7ce57-ae6e-4515-bc9f-2a93af69dc41.1 20 Nov 2025 02:42PM UTC 60
88.14
2 e6a7ce57-ae6e-4515-bc9f-2a93af69dc41.2 20 Nov 2025 02:46PM UTC 113
92.05
Source Files on build e6a7ce57-ae6e-4515-bc9f-2a93af69dc41
  • Tree
  • List 173
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #E6A7CE57...
  • 7fd13b41 on github
  • Prev Build on main (#88843D70...)
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