diff --git a/perf-test/clj/reitit/nodejs_perf_test.clj b/perf-test/clj/reitit/nodejs_perf_test.clj index 512a421f..72e6dbe8 100644 --- a/perf-test/clj/reitit/nodejs_perf_test.clj +++ b/perf-test/clj/reitit/nodejs_perf_test.clj @@ -69,7 +69,7 @@ ;; 25310 / 25126 "regex" - ;; 84149 / 84867 + ;; 88060 / 90778 (title "reitit") ;; wrk -d ${DURATION:="30s"} http://127.0.0.1:2048/product/foo ;; wrk -d ${DURATION:="30s"} http://127.0.0.1:2048/twenty/bar @@ -77,5 +77,5 @@ (assert (= {:status 200, :body "Got twenty id bar"} (app {:request-method :get, :uri "/twenty/bar"})))) (comment - (web/run app {:port 2048}) + (web/run app {:port 2048, :dispatch? false, :server {:always-set-keep-alive false}}) (routing-test)) diff --git a/project.clj b/project.clj index fab2aef4..fc0fb807 100644 --- a/project.clj +++ b/project.clj @@ -60,7 +60,7 @@ "-Dclojure.compiler.direct-linking=true"] :test-paths ["perf-test/clj"] :dependencies [[compojure "1.6.1"] - [org.immutant/immutant "2.1.10"] + [ikitommi/immutant-web "3.0.0-alpha1"] [io.pedestal/pedestal.route "0.5.3"] [org.clojure/core.async "0.4.474"] [ataraxy "0.4.0"]