mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
5ffc7911cd
Also disable version updater on Iris benchmark source code files. It may runs ever faster than before if you started the benchmarks immediately after the banner 👍
Former-commit-id: a55dc1e0b658d7386229c32ba6953b1ea60f2872
16 lines
378 B
Go
16 lines
378 B
Go
package main
|
|
|
|
import (
|
|
"github.com/kataras/iris"
|
|
"github.com/kataras/iris/_benchmarks/iris-mvc/controllers"
|
|
)
|
|
|
|
func main() {
|
|
app := iris.New()
|
|
app.Controller("/api/values/{id}", new(controllers.ValuesController))
|
|
|
|
// 24 August 2017: Iris has a built'n version updater but we don't need it
|
|
// when benchmarking...
|
|
app.Run(iris.Addr(":5000"), iris.WithoutVersionChecker)
|
|
}
|