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

TykTechnologies / tyk / 5276
58%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 30 Jul 2018 11:01AM UTC
Jobs 2
Files 77
Run time 20s
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
5276

push

travis-ci

letzya
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

8167 of 13803 relevant lines covered (59.17%)

1.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5276.1 (LATEST_GO=true) 30 Jul 2018 11:01AM UTC 0
58.48
Travis Job 5276.1
2 5276.2 (LATEST_GO=true) 30 Jul 2018 11:01AM UTC 0
59.16
Travis Job 5276.2
Source Files on build 5276
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5276
  • 45a68d83 on github
  • Prev Build on minor-typos (#5275)
  • Next Build on minor-typos (#5277)
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