suborbital / e2core

Server for sandboxed third-party plugins, powered by WebAssembly
https://suborbital.dev
Apache License 2.0
721 stars 42 forks source link

chore(auth): Add benchmark for cached authorizer #402

Open javorszky opened 1 year ago

javorszky commented 1 year ago

Relates to PR #401

This is only to show the benchmark for the existing implementation of the code

goos: darwin
goarch: arm64
pkg: github.com/suborbital/e2core/e2core/auth
BenchmarkCachedAuthorizer
BenchmarkCachedAuthorizer-10     2102755       576.6 ns/op
PASS