I've been implementing custom persistent map  and its transient counterpart 
<https://github.com/JvJ/cross-map/blob/master/src/cross_map/core.cljc> 
*(currently 
incomplete, but it won't be for long).*
I would like to test how they perform compared to the default PersistentMap 
and TransientMap implementations.
So far, to do this, I've been using a benchmarking library called Criterium 
<https://github.com/hugoduncan/criterium>.  Criterium is great, but it has 
one major disadvantage as far as my project is concerned: It's 
JVM-specific, where as my project is cross-platform JVM and JS.

What I want to know is this:  Will the JVM benchmarking numbers reflect how 
the JS implementation performs?

I understand that JVM and JS are different platforms with different 
capabilities, and that in general JS is slower than JVM.  What I really 
want to know is whether or not the ratios will hold up.

For instance:  If running a set of operations my custom map takes on 
average 2.5 times longer than the same set of operations on a normal 
PersistentHashMap, will that "2.5 times" figure still approximately hold up 
across platforms?

Thanks


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to