                         :coercion spec/coercion}}))
         request {:request-method :post
                  :uri "/plus"
+                 :muuntaja/request {:format "application/json"}
                  :body-params {:x 1, :y 2}}
         call (fn [] (-> request app :body))]
     (assert (= {:result 3} (call)))
 
     ;;  6.0µs
+    ;; 30.0µs (real json)
     (cc/quick-bench
       (call))))
 

                        :coercion spec/coercion}}))
        request {:request-method :post
                 :uri "/plus"
                 :body-params {:x 1, :y 2}}
        call (fn [] (-> request app :body))]
    (assert (= {:result 3} (call)))

    ;;  3.2µs
    (cc/quick-bench
      (call))))

(comment
  (json-perf-test)
  (schema-json-perf-test)
  (schema-perf-test)
  (data-spec-perf-test)
  (spec-perf-test))

    ;; 0.23µs (no coercion)
    ;; 12.8µs
    ;;  1.9µs (cached coercers)
    ;;  2.5µs (real json)
    (cc/quick-bench
      (call))))

