Repo Added
|
Files
167
|
Badge
README BADGES
|
circleci
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>
3458 of 3751 relevant lines covered (92.19%)
391.74 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|
Builds | Branch | Commit | Type | Ran | Committer | Via | Coverage |
---|---|---|---|---|---|---|---|
f07da8ae... | one-instance-change-the-subject | 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... | Pull #2691 | circleci |
92.19 |