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

JMSwag / PyUpdater / 452
45%

Build:
DEFAULT BRANCH: master
Ran 14 Feb 2017 12:00AM UTC
Jobs 3
Files 24
Run time 25s
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

pending completion
452

Pull #61

travis-ci

web-flow
make client.downloader to download large file to file

The current implementation will download the whole file into memory and
will crash when the file is too large.

This patch will fix this issue by:
 - download larger file (>4M) to a temp file on disk,
   and rename it to `self.filename` on `self._write_to_file()`
 - download smaller file to memory, but to a list of blocks
   the `self.file_binary_data += block` has performace issue
 - do checksuming while downloading,
   most CPU can calculate the checksum faster than download speed,
   this saves a full reading from disk for larger files
Pull Request #61: make client.downloader to download large file to file

1856 of 2412 relevant lines covered (76.95%)

2.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 452.1 (PYTHON=2.7) 14 Feb 2017 12:00AM UTC 0
76.2
Travis Job 452.1
2 452.2 (PYTHON=3.3) 14 Feb 2017 12:00AM UTC 0
76.58
Travis Job 452.2
4 452.4 (PYTHON=3.5) 14 Feb 2017 12:00AM UTC 0
76.66
Travis Job 452.4
Source Files on build 452
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #452
  • Pull Request #61
  • PR Base - master (#449)
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