Fork me on GitHub
#funcool
<
2016-08-27
>
niwinz08:08:44

[ann] bide - a simple routing library for clojurescript - https://github.com/funcool/bide (`1.0.0-SNAPSHOT`)

niwinz08:08:15

There some initial benchmarks:

$ node out/benchmarks.js
op=resolve lib=bidi ops=10000
"Elapsed time: 108.318159 msecs"
op=resolve lib=bide ops=10000
"Elapsed time: 53.742332 msecs"
op=match lib=bidi ops=10000
"Elapsed time: 937.541619 msecs"
op=match lib=bide ops=10000
"Elapsed time: 106.668479 msecs"

niwinz08:08:48

bide is practically 9 times faster in match operation and double of fast in resolve than bidi \o/

rm17:08:26

niwinz there is https://github.com/niquola/route-map , looks somewhat similar

niwinz21:08:02

thanks @rm, I know about it, but IMHO it has the same problem that the rest of routing libraries that I know. Too much complexity for something that should be very simple 😄