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

amphp / uri
70%
master: 94%

Build:
Build:
LAST BUILD BRANCH: setters
DEFAULT BRANCH: master
Repo Added 23 Jun 2017 09:21PM UTC
Files 4
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

LAST BUILD ON BRANCH host-cache
branch: host-cache
CHANGE BRANCH
x
Reset
  • host-cache
  • master
  • v0.1.0
  • v0.1.1
  • v0.1.2
  • v0.1.3

pending completion
21

push

travis-ci

kelunik
Cache last parsed host

Artax re-parses the same host multiple times, because it's parsed in Artax, then parsed in HttpSocketPool, then parsed in BasicSocketPool. All calls happen synchronously, so it makes sense to cache exactly the last parsed host. Other similar uses might benefit, too.

I'm not sure about benefits for non-benchmarks, but it brings significant benefits in benchmark situations.

16 of 16 new or added lines in 1 file covered. (100.0%)

135 of 193 relevant lines covered (69.95%)

56.5 hits per line

Relevant lines Covered
Build:
Build:
193 RELEVANT LINES 135 COVERED LINES
56.5 HITS PER LINE
Source Files on host-cache
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21 host-cache Cache last parsed host Artax re-parses the same host multiple times, because it's parsed in Artax, then parsed in HttpSocketPool, then parsed in BasicSocketPool. All calls happen synchronously, so it makes sense to cache exactly the last parsed h... push 11 Oct 2017 06:03PM UTC kelunik travis-ci pending completion  
See All Builds (22)
  • Repo 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

© 2025 Coveralls, Inc