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

TykTechnologies / tyk / 5260

Build:
DEFAULT BRANCH: master
Ran 20 Jul 2018 01:12AM UTC
Jobs 2
Files 102
Run time 2min
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
5260

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

9247 of 15571 relevant lines covered (59.39%)

1.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5260.1 (LATEST_GO=true) 20 Jul 2018 01:12AM UTC 0
59.39
Travis Job 5260.1
2 5260.2 (LATEST_GO=true) 20 Jul 2018 01:14AM UTC 0
60.01
Travis Job 5260.2
Source Files on build 5260
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5260
  • 10e7ce8e on github
  • Prev Build on master (#5259)
  • Next Build on master (#5321)
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