             [clojure.string :as str]
             [bidi.bidi :as bidi]
             [ataraxy.core :as ataraxy]
+            [compojure.api.sweet :refer [api routes context ANY]]
             [reitit.core :as reitit]))
 
 (defn raw-title [color s]

              ["topics/" topic] [:test/route47 topic]
              "topics" [:test/route50]}}))

(comment
  (bench opensensors-routes false)
  (bench opensensors-routes true))

      (let [match (ataraxy/matches ataraxy-routes {:uri route})]
        (if-not match
          (println route))))))

(comment
  (doseq [route (valid-urls (reitit/router opensensors-routes))]
    (let [match (opensensors-compojure-api-routes {:uri route :request-method :get})]
      (if-not match
        (println route)))))

(defn bench! [routes name f]
  (System/gc)
