<< Back to previous view

[CLJS-499] Reassess ObjectMap vs. PersistentArrayMap Created: 25/Apr/13  Updated: 27/Jul/13  Resolved: 20/May/13

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Major
Reporter: David Nolen Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: None


Here are some benchmarks after performance improvements have been applied to PersistentArrayMap in master:

For the smallest sizes PAMs are nearly identical in performance to OMs, as we start nearing the PHM threshold PAMs are nearly 2X faster on WebKit Nightly, and nearly 3X faster on the latest Chrome. Only Firefox Nightly lags behind for lookup times at larger sizes.

Again we see nearly identical (or much better) performance at small sizes and much better performance for PAMs as we approach the PHM threshold.

Comment by Tyler Tallman [ 07/May/13 12:11 PM ]

When I try to run the jsprefs I get "ReferenceError: cljs_perf is not defined."

Comment by David Nolen [ 20/May/13 7:59 AM ]

fixed, http://github.com/clojure/clojurescript/commit/08489f39060be1097fa23abc8d5042c86e68dd4d

Generated at Thu Oct 19 13:27:10 CDT 2017 using JIRA 4.4#649-r158309.