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

opentrials / api / 523
93%
master: 92%

Build:
Build:
LAST BUILD BRANCH: v1.1.1
DEFAULT BRANCH: master
Ran 06 Oct 2016 04:48PM UTC
Jobs 1
Files 28
Run time 17s
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
523

push

travis-ci

vitorbaptista
[#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 523.1 06 Oct 2016 04:48PM UTC 0
92.56
Travis Job 523.1
Source Files on build 523
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #523
  • 42ef1339 on github
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