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

codeforamerica / ohana-api / 1059
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: mb-update-factory-bot
DEFAULT BRANCH: master
Ran 31 Aug 2015 04:02AM UTC
Jobs 1
Files 121
Run time 3s
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
1059

push

travis-ci

monfresh
Use SmarterCSV to optimize import script

The import script was consuming a lot of memory because it was reading
the CSV files with `File.read`, then loading the contents in an array
with `CVS.new.entries`.

The `File.read` part is not necessary since you can pass in a path
directly to `CSV.new` or `SmarterCSV.process`. SmarterCSV also provides
a way to load the contents in chunks to consume less memory.

43 of 43 new or added lines in 14 files covered. (100.0%)

1735 of 1745 relevant lines covered (99.43%)

66.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1059.1 (2.2.2) 31 Aug 2015 04:02AM UTC 0
99.43
Travis Job 1059.1
Source Files on build 1059
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1059
  • 11b04bc5 on github
  • Prev Build on 361-csv-memory (#1055)
  • Next Build on 361-csv-memory (#1060)
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