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

opentrials / api / 413
94%
master: 92%

Build:
Build:
LAST BUILD BRANCH: v1.1.1
DEFAULT BRANCH: master
Ran 01 Sep 2016 10:07AM UTC
Jobs 1
Files 24
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

pending completion
413

push

travis-ci

vitorbaptista
[#364] Reduce memory usage of the reindexing process

I did so by offloading the removal of entities without trials to the database,
instead of doing it with NodeJS. With these changes, there's no need to query
for the actual trials as well, so it reduces the number of SQL queries in half.

I haven't tested the difference in memory usage, but considering we're both not
loading the trials in memory and loading just the entities we need, I'd imagine
it to be quite significant. Hopefully enough to avoid the Out of Memory errors
we're seeing.

Fixes opentrials/opentrials#364

318 of 340 relevant lines covered (93.53%)

31.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 413.1 01 Sep 2016 10:07AM UTC 0
93.53
Travis Job 413.1
Source Files on build 413
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #413
  • c0940b13 on github
  • Next Build on improve-reindexing-performance (#415)
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