@Karl,

Indeed this seems to be the case. However changing to arary maps did
improve performance. Safari still presents the biggest difference but
it's considerably smaller this time:
http://jsperf.com/lodash-deep-cloning-vs-mori/2


@David,

The point of the benchmark is exactly to see how mori performs in the
small. I'm using it to build some test data that is, at this stage,
small and was curious as to how well it performed. I'm impressed by
how well it copes with small data structures - what really caught my
attention was the bigger difference presented in Safari. Hence the
message. I'm certain larger data structures will most definitely
out-perform lodash.

Cheers,
Leonardo Borges
www.leonardoborges.com


On Thu, Mar 13, 2014 at 1:27 AM, David Nolen <[email protected]> wrote:
> This is not an interesting benchmark for Mori. We try our best for small
> data structures but different engines have different characteristics - but
> overall we perform quite well in the small case.
>
> Now wry some medium to large data structures, Mori will absolutely demolish
> Lo-dash.
>
> David
>
>
> On Wed, Mar 12, 2014 at 5:14 AM, Leonardo Borges
> <[email protected]> wrote:
>>
>> Hi all,
>>
>> Is there a mori mailing list? I'm happy to post this there if it does.
>>
>> I was doing some benchmarking on my Mac of a few simple operations
>> using lodah's cloneDeep function and mori.
>>
>> The results in Chrome were great. mori is only marginally slower than
>> the lowdash equivalent.
>>
>> When running the benchmark on Safari however things were *very*
>> difference.
>>
>> First, for some reason, Safari is *way* faster than Chrome in my machine.
>> Secondly, mori's performance seems so be much worse in Safari.
>>
>> I might be missing something here but I was surprised by the results.
>> The benchmark is on jsperf:
>> http://jsperf.com/lodash-deep-cloning-vs-mori
>>
>> Any thoughts?
>>
>> Cheers,
>> Leonardo Borges
>> www.leonardoborges.com
>>
>> --
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "ClojureScript" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/clojurescript.
>
>
> --
> Note that posts from new members are moderated - please be patient with your
> first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to