Commit graph

124 commits

Author SHA1 Message Date
Tommi Reiman
19213dcba7 prefix-trie is faster now 2019-01-14 10:45:27 +02:00
Tommi Reiman
e619234e84 Test against calfpath 2019-01-14 10:45:27 +02:00
Tommi Reiman
75c4f78f5d :inject-router? and :inject-match? for ring & http 2019-01-14 10:45:27 +02:00
Tommi Reiman
80dea6cfef Snappier Trie 2019-01-14 10:45:27 +02:00
Tommi Reiman
ae2337621f calf 2019-01-14 10:45:27 +02:00
Tommi Reiman
35993ff257 Rerun segment-router perf tests 2018-11-04 10:07:27 +02:00
Tommi Reiman
f84a597c3f 10% faster in opensensors/real-world test 2018-11-04 10:03:46 +02:00
Tommi Reiman
9ce898a0b4 3x faster default path-parameter decoding 2018-11-04 09:57:32 +02:00
Tommi Reiman
bd76fd6d0e Benchmark against httprouter, reitit is ~3-6x slower 2018-11-03 19:37:26 +02:00
Tommi Reiman
eeed8576da perf tests 2018-08-25 13:30:54 +03:00
Tommi Reiman
6e31afa515 sieppari is 2-4x slower than mw 2018-08-25 13:30:54 +03:00
Tommi Reiman
167de4d7a2 test perf with different json 2018-08-25 13:28:44 +03:00
Tommi Reiman
ed81c07da5 CHANGELOG & update perf tests 2018-08-08 11:25:58 +03:00
Tommi Reiman
230717ba65 double fast byte formatting 2018-08-02 16:06:34 +03:00
Tommi Reiman
682dd05568 tune perf 2018-08-01 19:28:52 +03:00
Tommi Reiman
0b4d1d2ee1 url-encode & url-decode 2018-08-01 18:08:03 +03:00
Tommi Reiman
5b928d0873 measure ring-handler perf 2018-06-06 10:34:23 +03:00
Tommi Reiman
d433005df6 mw & interceptor perf tests with 10 items 2018-06-06 10:34:23 +03:00
Tommi Reiman
68282a3dc7 Run simple json perf test (defaults, yada, reitit)
… not testing exactly the same thing, so the numbers
are not correct in any way. Still, looking good.
2018-06-06 10:34:23 +03:00
Tommi Reiman
f8a43f0996 use ring for serving resources. 2018-04-25 08:32:01 +03:00
Tommi Reiman
8ebcdc8429 swagger & static resource docs 2018-04-23 08:27:16 +03:00
Tommi Reiman
53bdc622ee re-run nodes perf tests 2018-04-22 18:00:33 +03:00
Tommi Reiman
6d387c8822 perf tuning ring-handler 2018-04-22 17:55:32 +03:00
Tommi Reiman
1d5337649e Dead code 2018-02-19 07:43:21 +02:00
Tommi Reiman
32fb3ca294 :responses have :body, not :schema 2018-02-11 21:38:15 +02:00
Tommi Reiman
7ba1c98753 Tuning the docs 2018-02-11 19:25:59 +02:00
Tommi Reiman
708fa24590 rename package 2017-12-31 11:30:55 +02:00
Tommi Reiman
b5d1ecc453 Middleware & Interceptor perf tests 2017-12-17 21:24:21 +02:00
Tommi Reiman
8a48d6790b . 2017-12-16 10:51:32 +02:00
Tommi Reiman
6ac8735245 docs 2017-12-15 19:37:04 +02:00
Tommi Reiman
00b6b22b6e Ring coercion docs 2017-12-15 08:20:53 +02:00
Tommi Reiman
b9f032a5ce Cleanup Coercion 2017-12-09 22:49:32 +02:00
Tommi Reiman
5a74a4269f Perf tests against Node & Go 2017-12-07 09:34:11 +02:00
Tommi Reiman
b210a98f83 polish Coercion protocol
* compile => compile-model
* mae-open => open-model
2017-12-03 17:29:06 +02:00
Tommi Reiman
a436b32729 gen-wrap-* => *-middleware 2017-12-03 17:28:24 +02:00
Tommi Reiman
e0dc618c4b Compile Schema coercers ahead of time -> 4x perf 2017-12-01 09:32:26 +02:00
Tommi Reiman
85c4a0a8c0 don't test compojure-api, it's compojure all over 2017-11-24 18:58:17 +02:00
Tommi Reiman
e0786b73f0 Remove prefix-tree router as it's broken 2017-11-24 09:45:52 +02:00
Tommi Reiman
8019cebdc7 Segment-router to rule 'em all 2017-11-20 15:17:38 +02:00
Tommi Reiman
2dd91d91d6 BREAKING: route :meta => :data 2017-11-18 12:47:16 +02:00
Tommi Reiman
9c8d25c2cd Polish route tests 2017-11-13 07:25:03 +02:00
Tommi Reiman
127c071fc8 Update docs & perf tests 2017-11-12 22:01:53 +02:00
Tommi Reiman
44867fbcf5 :gen -> :gem-wrap in middleware
* as preparation for support of interceptors
2017-11-11 17:30:17 +02:00
Tommi Reiman
de993abf62 Move tests 2017-11-10 18:12:00 +00:00
Tommi Reiman
5d7786936c prefix-tree-router! 2017-11-10 18:12:00 +00:00
Tommi Reiman
0d63aa1d43 Cleanup arguments 2017-11-10 18:12:00 +00:00
Tommi Reiman
c378d0b5af fix payloads 2017-11-10 18:12:00 +00:00
Tommi Reiman
32a1be1466 Return also route-data 2017-11-10 18:12:00 +00:00
Tommi Reiman
e12bfeabf1 Flattened matching, 1.2ms -> 0.8ms!!! 2017-11-10 18:12:00 +00:00
Tommi Reiman
eeea39ca83 Re-implement using reified protocols
* tree can be optimzied on the fly!
2017-11-10 18:12:00 +00:00
Tommi Reiman
07861f43f9 prefix-tree impl WIP
* opensensors route match, 2.3µs => 1.3µs
* static routes looked first
* fixes pedestal #532
2017-11-10 18:12:00 +00:00
Tommi Reiman
16116d3e58 quickbenck over rest-routes 2017-11-10 18:11:59 +00:00
Tommi Reiman
4163c7c367 Test also composure 2017-11-10 18:11:59 +00:00
Tommi Reiman
1ccd93101c Perf page 2017-11-01 09:28:28 +02:00
Tommi Reiman
f93a452209 Re-package & re-module 2017-10-29 09:31:28 +02:00
Tommi Reiman
303523adf9 Update deps 2017-10-22 17:49:59 +03:00
Tommi Reiman
e9c0639914 Fast-router if only 1 static path.
* 200x faster on basic benchmark than the slowest one
2017-10-02 17:54:37 +03:00
Tommi Reiman
a2b04f0677 Cleanup 2017-10-02 08:05:42 +03:00
Tommi Reiman
2c00b753c3 Fix cljs-tests? 2017-09-08 09:42:37 +03:00
Tommi Reiman
c7c4013f97 README & small fixes 2017-08-30 13:28:49 +03:00
Tommi Reiman
dcd559bf27 Initial Spec request/response coercion (fixes #20) 2017-08-30 08:19:21 +03:00
Tommi Reiman
86acee9098 Polish perf tests 2017-08-30 08:16:21 +03:00
Tommi Reiman
f893be3d00 Transcude names, fix ataraxy routes 2017-08-22 13:10:39 +03:00
Tommi Reiman
3dc1cdfbe2 Welcome :mixed-router (-20% on rest-test) & custom routers 2017-08-22 13:10:39 +03:00
Tommi Reiman
3e3f728c4e reitit/options, reitit/router-type, reified protocols 2017-08-20 21:00:20 +03:00
Tommi Reiman
bbcf0c8350 2x speed with LookupRouter & fast-map on clj 2017-08-20 20:40:50 +03:00
Tommi Reiman
1ea6b55849 Testing LookupRouter perf, +20% with fast-assoc 2017-08-20 19:14:49 +03:00
Tommi Reiman
2d5e92d116 Test also pedestal & ring-routes 2017-08-20 09:52:44 +03:00
Tommi Reiman
40fcf5761e compojure-api routing perf 2017-08-20 08:09:31 +03:00
Tommi Reiman
b780a760ef Initial tests for the opensensors routing 2017-08-19 21:27:25 +03:00
Tommi Reiman
5f1d6a61a6 Cleanup & fix perf test 2017-08-12 17:55:58 +03:00
Tommi Reiman
69ee59cbd2 Update README, more perf-tests, cleanup
* `match` => `match-by-path`
* `by-name` = > `match-by-name`
* `lookup-router` can't be created with wildcard routes
* `match-by-name` initial perf tests
2017-08-11 08:01:34 +03:00
Tommi Reiman
a28bb2e9b6 Lot's of small improvements
* implement by-name (fixes #5)
* match-route => match
* implement routes
* by-name & match return Match-records (more info, faster to use)
* reitit.regex => reitit.impl
2017-08-10 09:47:27 +03:00
Tommi Reiman
faa3c08bf0 Add stuff
* router, partially from Pedestal
* sample perf tests
* kws expand to :name
* fns expand to :handler
2017-08-08 15:31:00 +03:00