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

opentrials / api / 525
92%

Build:
DEFAULT BRANCH: master
Ran 07 Oct 2016 08:44PM UTC
Jobs 1
Files 28
Run time 2s
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
525

push

travis-ci

web-flow
[#474] Improve /search endpoint performance

Using `res.json()` calls to `JSON.stringify()` on the response. As we're
getting the response from ElasticSearch, all fields are already converted to
JSON (there're no Date classes, for example), so there's no need to call
`JSON.stringify()`.

That reduces the response time in about 50%. You can check by using:
  ab -n 1000 -c 50 http://localhost:10010/v1/search

With and without this patch.

opentrials/opentrials#474

361 of 390 relevant lines covered (92.56%)

38.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 525.1 07 Oct 2016 08:44PM UTC 0
92.56
Travis Job 525.1
Source Files on build 525
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #525
  • eddb24fc on github
  • Prev Build on master (#520)
  • Next Build on master (#528)
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