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

gwicke / restbase / 451 / 2
88%
master: 92%

Build:
Build:
LAST BUILD BRANCH: update_security_headers
DEFAULT BRANCH: master
Ran 19 Nov 2015 07:19AM UTC
Files 16
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

19 Nov 2015 07:14AM UTC coverage: 87.658% (+0.3%) from 87.38%
451.2

push

travis-ci

gwicke
Handler specs 2.0

- Add a `response` stanza that makes it possible to template response values
  without returning. This is useful to share such templated objects between
  multiple later stanzas, for example to save & return the same content.

  In combination, these improvements make it feasible to define the public API
  spec as well as the backend handlers in a single spec module. The
  textextracts end point illustrates this. This will avoid unnecessary
  indirections in /sys, and will also reduce internal routing overhead.

- A quite significant refactor / rewrite of the handlerTemplate implementation
  introduces a two-phase execution model, which lets us combine parallel
  execution with per-request response templating. We now also support
  returning from one of the parallel branches.

  The new implementation reduces per-request work by minimizing allocations
  and expensive per-request operations. Static closures are used wherever
  possible. Simple wrk runs indicate that even the simple Parsoid HTML end
  point (which only performs one templated sub-request) is sped up by about
  6% (900/s to 950/s). The impact on multi-part handlers will be more
  noticeable.

1733 of 1977 relevant lines covered (87.66%)

142.38 hits per line

Source Files on job 451.2
  • Tree
  • List 0
  • Changed 9
  • Source Changed 4
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 451
  • Travis Job 451.2
  • 39b9de89 on github
  • Prev Job for on textextracts (#450.2)
  • Next Job for on textextracts (#452.2)
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