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

jbremer / sflock / 89 / 1
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 06 Feb 2017 09:02PM UTC
Files 20
Run time 1s
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

06 Feb 2017 08:46PM UTC coverage: 92.807% (+0.2%) from 92.571%
89.1

push

travis-ci

jbremer
on the road towards more caching instead of in-memory file storage

When submitting larger files, i.e., in the ranges of a few hundred
megabytes up until a gigabyte, the process of loading all of the file
contents into memory is a pretty expensive one.

Among other things this commit takes care of the following:
* Start on a streaming interface as compared to an in-memory buffer.
* Limit the buffer passed along to the magic library to one megabyte.
* Use temporary files for caching purposes in zipify().
* Unit tests for all of the above.

Next steps should most likely include extracting files from archives
into temporary files rather than in-memory, so that a .zip file with a
one gigabyte file embedded will still work properly.

658 of 709 relevant lines covered (92.81%)

0.93 hits per line

Source Files on job 89.1
  • Tree
  • List 0
  • Changed 7
  • Source Changed 7
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 89
  • Travis Job 89.1
  • 2c2f3a18 on github
  • Prev Job for on master (#88.1)
  • Next Job for on master (#90.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