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

TykTechnologies / tyk / 5260 / 2

Build:
DEFAULT BRANCH: master
Ran 20 Jul 2018 01:14AM UTC
Files 102
Run time 11s
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

20 Jul 2018 01:06AM UTC coverage: 60.006% (+0.9%) from 59.061%
LATEST_GO=true

push

travis-ci

buger
bench/bug: caching bcrypt function for auth (#1696)

Fixes #1622 Fixes #1640

bcrypt is slow by design. We are able to get approx 10rps for basic auth
natively due to bcrypt.

bench-no-cache          10     137680538 ns/op     1343793 B/op
26030 allocs/op
bench-cache-valid     1000       1689715 ns/op      104782 B/op
774 allocs/op

This PR bypasses bcrypt validation when that password has already been
validated.

cache enabled ttl. default 60s

9349 of 15580 relevant lines covered (60.01%)

0.66 hits per line

Source Files on job 5260.2 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4799
  • Travis Job 5260.2
  • 10e7ce8e on github
  • Prev Job for LATEST_GO=true on master (#5259.1)
  • Next Job for LATEST_GO=true on master (#5321.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