I've updated http://pedestal.io/pedestal/0.7/guides/embedded-template.html to show how to use the correct version number when creating a new project.
Nice. I literally encountered that earlier this week
reviewplease https://github.com/pedestal/pedestal/pull/887
I did some very rough performance checks, old (interceptor) vs. new (routes):
;; Rough test using Apache Bench, on single OS X M1 Mac
;; ab -n 1000 -c 4
;;
;; Mean time/request (ms)
;;
;; Test Interceptor Routes
;; ----------------------------------------------------------------------
;; small file 1.8 1.07
;; large file 1.09 .6
;; small resource .8 .69
;; large resource 1.05 .38
;; file: index of dir .89 .47
;;
;; Route column was collected with interceptors NOT present
;; (times were worse with both interceptors and routes enabled).
;; Ran each ab command several times in a row, until the numbers
;; looked reasonably stable.
tl;dr; new is faster, but old was already more than fast enoughAfter I get resources worked out, I want to figure out how to get it so that you expose web sockets as routes.
And Iām also interested in opening up the telemetry to support doubles, not just longs.
As suggested by the community.