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

pulibrary / bibdata / f07da8ae-de7c-4488-b04e-73f453f943a4
92%
main: 90%

Build:
Build:
LAST BUILD BRANCH: 2926-lewis-plasma-multiple-branch
DEFAULT BRANCH: main
Ran 15 Apr 2025 09:00PM UTC
Jobs 1
Files 112
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

15 Apr 2025 08:47PM UTC coverage: 92.189%. Remained the same
f07da8ae-de7c-4488-b04e-73f453f943a4

Pull #2691

circleci

christinach
Improve performance of change_the_subject

After recent changes in change_the_subject https://github.com/pulibrary/change_the_subject/commit/d98cb217e
we noticed that the full reindex took double the time to complete.
@sandbergja and @christinach used ruby-prof to index 978 records and found
that psych parser calls 1001314 times -> *Psych::Visitors::Visitor#visit
After creating a new instance of ChangeTheSubject in traject_config we can reuse
it in every field that needs to call ChangeTheSubject

Running ruby-prof with this change to index 978 records the psych
parser calls 1 time -> *Psych::Visitors::Visitor#visit

command: bundle exec ruby-prof $(bundle show traject)/bin/traject -- -c marc_to_solr/lib/traject_config.rb
/denali_gulf.xml -u http://localhost:54709/solr/bibdata-core-development

Co-authored-by: Jane Sandberg <sandbergja@users.noreply.github.com>
Pull Request #2691: Improve performance of change_the_subject

3458 of 3751 relevant lines covered (92.19%)

391.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 f07da8ae-de7c-4488-b04e-73f453f943a4.1 15 Apr 2025 09:00PM UTC 112
92.19
Source Files on build f07da8ae-de7c-4488-b04e-73f453f943a4
  • Tree
  • List 112
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #F07DA8AE...
  • Pull Request #2691
  • PR Base - main (#DD0F6C35...)
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