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

pulibrary / tigerdata-app / c8ab3ca0-aa05-470c-8cd5-1fe6fc8ca625 / 2
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 20 Feb 2026 03:09PM UTC
Files 120
Run time 5s
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 Feb 2026 02:58PM UTC coverage: 73.324% (+0.1%) from 73.211%
c8ab3ca0-aa05-470c-8cd5-1fe6fc8ca625.2

push

circleci

web-flow
File Inventory speed optimization (#2416)

Refactored the file inventory to "walk the tree" rather than fetching
the tree for the project all at once. This requires creating new
iterators for each folder within the collection and fetching them
individually but it seems to perform much better than the original
approach.

The downside of the new approach is that we need to calculate each
file's path as we go but because the culprit in the original approach
was the [time that it takes Mediaflux to fetch the
path](https://github.com/pulibrary/tigerdata-app/issues/1274#issuecomment-2710860502)
this is a worthwhile compromise.

In QA a test project with a copy of the "Project G" data (`mediaflux_id
= 1083`) with 189,000 files takes `690 seconds` with the new method
compared with `2300 seconds` with the original code.

`690 seconds` (`~11 minutes`) is still a long time, but much better than
the original `2300 seconds` (`~37 minutes`) and not too bad for a job
that runs in the background.

Closes #1344

2537 of 3460 relevant lines covered (73.32%)

175.75 hits per line

Source Files on job job2 - c8ab3ca0-aa05-470c-8cd5-1fe6fc8ca625.2
  • Tree
  • List 120
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • d8fbf0a4 on github
  • Prev Job for on main (#bdb6e748-adc5-4a26-babf-6dedcec106d6.1)
  • Next Job for on main (#aa281e7b-9173-4612-8a07-1ef4a5374226.2)
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