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

TykTechnologies / tyk / 5276 / 1
58%
master: %

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

30 Jul 2018 10:56AM UTC coverage: 58.476% (+0.1%) from 58.344%
LATEST_GO=true

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

8072 of 13804 relevant lines covered (58.48%)

0.65 hits per line

Source Files on job 5276.1 (LATEST_GO=true)
  • Tree
  • List 0
  • Changed 16
  • Source Changed 13
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4815
  • Travis Job 5276.1
  • 45a68d83 on github
  • Prev Job for LATEST_GO=true on minor-typos (#5275.1)
  • Next Job for LATEST_GO=true on minor-typos (#5277.1)
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