Ran
|
Jobs
1
|
Files
112
|
Run time
1min
|
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
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | f07da8ae-de7c-4488-b04e-73f453f943a4.1 | 112 |
92.19 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|