Skip to content

Commit

Permalink
re-run nodes perf tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ikitommi committed Apr 22, 2018
1 parent 6d387c8 commit 53bdc62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions perf-test/clj/reitit/nodejs_perf_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@
;; 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
(assert (= {:status 200, :body "Got product id foo"} (app {:request-method :get, :uri "/product/foo"})))
(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))
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 53bdc62

Please sign in to comment.