 ;; Perf tests
 ;;
 
+(def handler (constantly {:status 200, :body ""}))
+
 (def opensensors-routes
-  [["/v2/whoami" :test/route1]
-   ["/v2/users/:user-id/datasets" :test/route2]
-   ["/v2/public/projects/:project-id/datasets" :test/route3]
-   ["/v1/public/topics/:topic" :test/route4]
-   ["/v1/users/:user-id/orgs/:org-id" :test/route5]
-   ["/v1/search/topics/:term" :test/route6]
-   ["/v1/users/:user-id/invitations" :test/route7]
-   ["/v1/orgs/:org-id/devices/:batch/:type" :test/route8]
-   ["/v1/users/:user-id/topics" :test/route9]
-   ["/v1/users/:user-id/bookmarks/followers" :test/route10]
-   ["/v2/datasets/:dataset-id" :test/route11]
-   ["/v1/orgs/:org-id/usage-stats" :test/route12]
-   ["/v1/orgs/:org-id/devices/:client-id" :test/route13]
-   ["/v1/messages/user/:user-id" :test/route14]
-   ["/v1/users/:user-id/devices" :test/route15]
-   ["/v1/public/users/:user-id" :test/route16]
-   ["/v1/orgs/:org-id/errors" :test/route17]
-   ["/v1/public/orgs/:org-id" :test/route18]
-   ["/v1/orgs/:org-id/invitations" :test/route19]
-   ["/v2/public/messages/dataset/bulk" :test/route20]
-   ["/v1/users/:user-id/devices/bulk" :test/route21]
-   ["/v1/users/:user-id/device-errors" :test/route22]
-   ["/v2/login" :test/route23]
-   ["/v1/users/:user-id/usage-stats" :test/route24]
-   ["/v2/users/:user-id/devices" :test/route25]
-   ["/v1/users/:user-id/claim-device/:client-id" :test/route26]
-   ["/v2/public/projects/:project-id" :test/route27]
-   ["/v2/public/datasets/:dataset-id" :test/route28]
-   ["/v2/users/:user-id/topics/bulk" :test/route29]
-   ["/v1/messages/device/:client-id" :test/route30]
-   ["/v1/users/:user-id/owned-orgs" :test/route31]
-   ["/v1/topics/:topic" :test/route32]
-   ["/v1/users/:user-id/bookmark/:topic" :test/route33]
-   ["/v1/orgs/:org-id/members/:user-id" :test/route34]
-   ["/v1/users/:user-id/devices/:client-id" :test/route35]
-   ["/v1/users/:user-id" :test/route36]
-   ["/v1/orgs/:org-id/devices" :test/route37]
-   ["/v1/orgs/:org-id/members" :test/route38]
-   ["/v1/orgs/:org-id/members/invitation-data/:user-id" :test/route39]
-   ["/v2/orgs/:org-id/topics" :test/route40]
-   ["/v1/whoami" :test/route41]
-   ["/v1/orgs/:org-id" :test/route42]
-   ["/v1/users/:user-id/api-key" :test/route43]
-   ["/v2/schemas" :test/route44]
-   ["/v2/users/:user-id/topics" :test/route45]
-   ["/v1/orgs/:org-id/confirm-membership/:token" :test/route46]
-   ["/v2/topics/:topic" :test/route47]
-   ["/v1/messages/topic/:topic" :test/route48]
-   ["/v1/users/:user-id/devices/:client-id/reset-password" :test/route49]
-   ["/v2/topics" :test/route50]
-   ["/v1/login" :test/route51]
-   ["/v1/users/:user-id/orgs" :test/route52]
-   ["/v2/public/messages/dataset/:dataset-id" :test/route53]
-   ["/v1/topics" :test/route54]
-   ["/v1/orgs" :test/route55]
-   ["/v1/users/:user-id/bookmarks" :test/route56]
-   ["/v1/orgs/:org-id/topics" :test/route57]])
+  [["/v2/whoami" {:handler handler, :name :test/route1}]
+   ["/v2/users/:user-id/datasets" {:handler handler, :name :test/route2}]
+   ["/v2/public/projects/:project-id/datasets" {:handler handler, :name :test/route3}]
+   ["/v1/public/topics/:topic" {:handler handler, :name :test/route4}]
+   ["/v1/users/:user-id/orgs/:org-id" {:handler handler, :name :test/route5}]
+   ["/v1/search/topics/:term" {:handler handler, :name :test/route6}]
+   ["/v1/users/:user-id/invitations" {:handler handler, :name :test/route7}]
+   #_["/v1/orgs/:org-id/devices/:batch/:type" {:handler handler, :name :test/route8}]
+   ["/v1/users/:user-id/topics" {:handler handler, :name :test/route9}]
+   ["/v1/users/:user-id/bookmarks/followers" {:handler handler, :name :test/route10}]
+   ["/v2/datasets/:dataset-id" {:handler handler, :name :test/route11}]
+   ["/v1/orgs/:org-id/usage-stats" {:handler handler, :name :test/route12}]
+   ["/v1/orgs/:org-id/devices/:client-id" {:handler handler, :name :test/route13}]
+   ["/v1/messages/user/:user-id" {:handler handler, :name :test/route14}]
+   ["/v1/users/:user-id/devices" {:handler handler, :name :test/route15}]
+   ["/v1/public/users/:user-id" {:handler handler, :name :test/route16}]
+   ["/v1/orgs/:org-id/errors" {:handler handler, :name :test/route17}]
+   ["/v1/public/orgs/:org-id" {:handler handler, :name :test/route18}]
+   ["/v1/orgs/:org-id/invitations" {:handler handler, :name :test/route19}]
+   ["/v2/public/messages/dataset/bulk" {:handler handler, :name :test/route20}]
+   #_["/v1/users/:user-id/devices/bulk" {:handler handler, :name :test/route21}]
+   ["/v1/users/:user-id/device-errors" {:handler handler, :name :test/route22}]
+   ["/v2/login" {:handler handler, :name :test/route23}]
+   ["/v1/users/:user-id/usage-stats" {:handler handler, :name :test/route24}]
+   ["/v2/users/:user-id/devices" {:handler handler, :name :test/route25}]
+   ["/v1/users/:user-id/claim-device/:client-id" {:handler handler, :name :test/route26}]
+   ["/v2/public/projects/:project-id" {:handler handler, :name :test/route27}]
+   ["/v2/public/datasets/:dataset-id" {:handler handler, :name :test/route28}]
+   ["/v2/users/:user-id/topics/bulk" {:handler handler, :name :test/route29}]
+   ["/v1/messages/device/:client-id" {:handler handler, :name :test/route30}]
+   ["/v1/users/:user-id/owned-orgs" {:handler handler, :name :test/route31}]
+   ["/v1/topics/:topic" {:handler handler, :name :test/route32}]
+   ["/v1/users/:user-id/bookmark/:topic" {:handler handler, :name :test/route33}]
+   ["/v1/orgs/:org-id/members/:user-id" {:handler handler, :name :test/route34}]
+   ["/v1/users/:user-id/devices/:client-id" {:handler handler, :name :test/route35}]
+   ["/v1/users/:user-id" {:handler handler, :name :test/route36}]
+   ["/v1/orgs/:org-id/devices" {:handler handler, :name :test/route37}]
+   ["/v1/orgs/:org-id/members" {:handler handler, :name :test/route38}]
+   #_["/v1/orgs/:org-id/members/invitation-data/:user-id" {:handler handler, :name :test/route39}]
+   ["/v2/orgs/:org-id/topics" {:handler handler, :name :test/route40}]
+   ["/v1/whoami" {:handler handler, :name :test/route41}]
+   ["/v1/orgs/:org-id" {:handler handler, :name :test/route42}]
+   ["/v1/users/:user-id/api-key" {:handler handler, :name :test/route43}]
+   ["/v2/schemas" {:handler handler, :name :test/route44}]
+   ["/v2/users/:user-id/topics" {:handler handler, :name :test/route45}]
+   ["/v1/orgs/:org-id/confirm-membership/:token" {:handler handler, :name :test/route46}]
+   ["/v2/topics/:topic" {:handler handler, :name :test/route47}]
+   ["/v1/messages/topic/:topic" {:handler handler, :name :test/route48}]
+   ["/v1/users/:user-id/devices/:client-id/reset-password" {:handler handler, :name :test/route49}]
+   ["/v2/topics" {:handler handler, :name :test/route50}]
+   ["/v1/login" {:handler handler, :name :test/route51}]
+   ["/v1/users/:user-id/orgs" {:handler handler, :name :test/route52}]
+   ["/v2/public/messages/dataset/:dataset-id" {:handler handler, :name :test/route53}]
+   ["/v1/topics" {:handler handler, :name :test/route54}]
+   ["/v1/orgs" {:handler handler, :name :test/route55}]
+   ["/v1/users/:user-id/bookmarks" {:handler handler, :name :test/route56}]
+   ["/v1/orgs/:org-id/topics" {:handler handler, :name :test/route57}]])
 
 (def opensensors-bidi-routes
   ["/" {"v1/" {"public/" {["topics/" :topic] :test/route4

              "orgs" {"" [:test/route55]
                      ["/" org-id] {"/devices" {"" [:test/route37 org-id]
                                                ["/" device-id] [:test/route13 org-id device-id]
                                                ["/" batch "/" type] [:test/route8 org-id batch type]}
                                    "/usage-stats" [:test/route12 org-id]
                                    "/invitations" [:test/route19 org-id]
                                    "/members" {["/" user-id] [:test/route34 org-id user-id]
                                                "" [:test/route38 org-id]
                                                ["/invitation-data/" user-id] [:test/route39 org-id user-id]}
                                    "/errors" [:test/route17 org-id]
                                    "" [:test/route42 org-id]
                                    ["/confirm-membership/" token] [:test/route46 org-id token]

                                  "/topics" [:route9 user-id]
                                  "/bookmarks/followers" [:test/route10 user-id]
                                  "/devices" {"" [:route15 user-id]
                                              #_#_"/bulk" [:test/route21 user-id]
                                              ["/" client-id] [:test/route35 user-id client-id]
                                              ["/" client-id "/reset-password"] [:test/route49 user-id client-id]}
                                  "/device-errors" [:test/route22 user-id]
