This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-12
Channels
- # admin-announcements (8)
- # alda (11)
- # announcements (53)
- # architecture (2)
- # aws (10)
- # beginners (69)
- # boot (403)
- # braid-chat (160)
- # cider (10)
- # cljs-dev (14)
- # cljsjs (26)
- # cljsrn (34)
- # clojure (223)
- # clojure-art (1)
- # clojure-brasil (4)
- # clojure-dev (10)
- # clojure-france (1)
- # clojure-gamedev (1)
- # clojure-nl (14)
- # clojure-russia (20)
- # clojure-seattle (8)
- # clojure-sg (1)
- # clojurebridge (2)
- # clojurescript (156)
- # code-reviews (2)
- # community-development (305)
- # cursive (5)
- # datavis (33)
- # datomic (38)
- # devcards (4)
- # dirac (39)
- # dunaj (3)
- # emacs (5)
- # events (2)
- # funcool (45)
- # hoplon (3)
- # instaparse (24)
- # jobs (2)
- # ldnclj (77)
- # lein-figwheel (4)
- # leiningen (1)
- # mount (49)
- # nyc (14)
- # off-topic (52)
- # om (125)
- # omnext (4)
- # onyx (13)
- # other-lisps (1)
- # overtone (8)
- # parinfer (31)
- # plastic (6)
- # portland-or (3)
- # quil (4)
- # re-frame (6)
- # reading-clojure (16)
- # reagent (212)
- # ring-swagger (11)
- # robots (5)
- # spacemacs (4)
- # specter (1)
- # yada (26)
yay, map merge performance improved greatly. > Map Sizes = 1000 197us => 117us > Map Sizes = 64 10.95us => 6.6us > Map Sizes = 3 628ns => 671ns slight regression
just looked at those sizes... further improvements possible. I switched from testing merge
to testing conj
, because that's a change I made in the code... Results:
BEFORE
benching bigmap merge
Evaluation count : 323520 in 60 samples of 5392 calls.
Execution time mean : 187.027055 µs
benching medium merge
Evaluation count : 5668320 in 60 samples of 94472 calls.
Execution time mean : 10.659091 µs
benching small merge
Evaluation count : 148000560 in 60 samples of 2466676 calls.
Execution time mean : 396.300486 ns
AFTER
benching bigmap merge
Evaluation count : 389940 in 60 samples of 6499 calls.
Execution time mean : 157.765536 µs
benching medium merge
Evaluation count : 7740120 in 60 samples of 129002 calls.
Execution time mean : 7.775295 µs
benching small merge
Evaluation count : 110361780 in 60 samples of 1839363 calls.
Execution time mean : 537.015274 ns