This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-09
Channels
- # adventofcode (93)
- # announcements (11)
- # babashka (7)
- # babashka-sci-dev (17)
- # beginners (73)
- # biff (7)
- # calva (3)
- # cider (1)
- # clj-kondo (160)
- # clj-together (12)
- # clojure (44)
- # clojure-art (2)
- # clojure-europe (12)
- # clojure-losangeles (1)
- # clojure-nl (3)
- # clojure-norway (22)
- # clojure-uk (2)
- # clojurescript (8)
- # clr (1)
- # cursive (6)
- # data-science (1)
- # datomic (1)
- # emacs (6)
- # events (1)
- # exercism (1)
- # fulcro (6)
- # graphql (2)
- # introduce-yourself (1)
- # lsp (18)
- # nrepl (7)
- # off-topic (45)
- # polylith (25)
- # portal (25)
- # practicalli (3)
- # re-frame (14)
- # reagent (28)
- # reitit (2)
- # releases (2)
- # shadow-cljs (73)
- # sql (11)
- # tools-deps (12)
- # transit (4)
- # xtdb (4)
Hello. We discovered with a work project recently that sending edn for a particular http response (at least), was significantly faster than sending transit-json. I previously expected the opposite. To avoid repeating the conversation, here’s a link to it: https://clojurians.slack.com/archives/C0E1SN0NM/p1670456849355409. You can see we ran some tests to verify this. The conclusion (a guess) is that for certain kinds of data or data types, edn is faster than transit, OR there is just something we are misunderstanding, or an assumption we’ve made about this that isn’t true. Any idea why edn is faster for us?
It would be nice to have a proper test-case, where you measure all times separately - serialization, sending, deserialization (in a browser, not in CLJ; or maybe in CLJ in addition to in a browser).