mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +01:00
5fc24812bc
total refactor of the hero and mvc packages, see README#Next (it's not completed yet) Former-commit-id: b85ae99cbfe5965ba919c1e15cf4989e787982c0
15 lines
185 B
Go
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)
|
|
}
|
|
}
|