iris/_benchmarks/_internal/vNext/di_test.go
Gerasimos (Makis) Maropoulos 5fc24812bc ❤️ awesome and unique features for end-developers are coming...
total refactor of the hero and mvc packages, see README#Next (it's not completed yet)


Former-commit-id: b85ae99cbfe5965ba919c1e15cf4989e787982c0
2020-02-29 14:18:15 +02:00

15 lines
185 B
Go

package main
import (
"testing"
"github.com/kataras/iris/v12/hero"
)
func BenchmarkHero(b *testing.B) {
for i := 0; i < b.N; i++ {
c := hero.New()
_ = c.Handler(handler)
}
}