mirror of
https://github.com/kataras/iris.git
synced 2025-12-23 12:57:05 +00:00
❤️ 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
This commit is contained in:
14
_benchmarks/_internal/vNext/di_test.go
Normal file
14
_benchmarks/_internal/vNext/di_test.go
Normal file
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user