This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-22
Channels
- # announcements (1)
- # babashka (28)
- # beginners (120)
- # braveandtrue (6)
- # calva (59)
- # cider (10)
- # clj-kondo (10)
- # cljfx (2)
- # clojure (66)
- # clojure-europe (20)
- # clojure-germany (1)
- # clojure-italy (3)
- # clojure-nl (4)
- # clojure-norway (1)
- # clojure-serbia (17)
- # clojure-spain (1)
- # clojure-uk (17)
- # clojurescript (120)
- # clojureverse-ops (4)
- # core-async (5)
- # cursive (18)
- # data-oriented-programming (1)
- # datomic (4)
- # deps-new (8)
- # emacs (14)
- # fulcro (16)
- # funcool (2)
- # kaocha (4)
- # lambdaisland (5)
- # luminus (1)
- # malli (47)
- # membrane (9)
- # mid-cities-meetup (2)
- # music (1)
- # off-topic (44)
- # pathom (13)
- # practicalli (2)
- # re-frame (15)
- # reagent (34)
- # reveal (25)
- # ring (56)
- # rum (1)
- # shadow-cljs (23)
- # sql (14)
- # startup-in-a-month (1)
- # tools-deps (10)
- # vim (9)
- # vscode (3)
- # xtdb (9)
Does shadow offer any conveniences for benchmarking and possibly across JS VM’s by any chance?
Time for an adventure then I guess haha
I did some benchmarks recently using the js-framework-benchmark https://github.com/thheller/js-framework-shadow-grove
some older benchmarks I used the npm benchmark package https://github.com/thheller/shadow-experiments/blob/master/src/test/shadow/experiments/grove/bench_db.cljs
Yea there is a cascade of dependencies and system requirement 😅
Do you know if this is the right way to go for testing libraries @U05224H0W? Or am I going down the wrong path here? https://clojurescript.org/community/running-tests
I’m trying to figure out the best way to benchmark Datahike across different JS VM’s. I also guess this would not work with IndexedDB and only work for in-memory so I would need to actually have the headless browsers. So perhaps I am going down the wrong path.
what are different JS VMs for you? you mean just different browsers or actually different lower level JS VMs without being hooked up to a browser, so jsc directly instead of safari?
We do intend to offer node support etc. Despite the value prop in our opinion not being that high compared to using it on JVM. So I was investigating the most general testing and then going to work to more specific. From my basic tests at the REPL the in-memory is pretty similar to IndexedDB so I was thinking that this would give us the best view into our performance. We could then more accurately identify where the performance problems are.
Arguably some people might want to do some IOT stuff using Datahike from JS.
Or even Cljs
Is there any equivalent for deps.edn https://github.com/shadow-cljs/lein-template ?
Currently I manually touch a shadow-cljs.edn and add stuff according to the user manual. Dunno if it is the normal flow to go.
I use the create-cljs-project
described here https://github.com/thheller/shadow-cljs#quick-start