On Thu, Dec 19, 2013 at 4:25 PM, Thomas Heller <[email protected]> wrote:

> Hey David,
>
> looks really interesting although I have to be a little critical of your
> benchmarks. Add a download of 200 todos via xhr and then do the render, you
> will most certainly lose to other JS Framework out there (especially if you
> choose EDN over JSON) cause of the extra overhead associated with going
> from mutable->persistent.
>

Absolutely not. The benchmarks include serialization to localStorage, it
doesn't add significantly to the time. Deserializing EDN would be
completely dwarfed by network transport and DOM changes.

Of course, the CLJS reader needs some work, but I think with further
tuning, it will be highly unlikely to be the bottleneck.


> I quite like react/om and will certainly play with it although I have some
> worries concerning deeply nested data, since Clojure isn't exactly
> performant in that situation. Happy to be proven wrong though.
>
> Anyways, nice work. Curious to see/hear more.
>

I ran some simple nested data benchmarks - all the time is spent ... in
React.

I think if people think a bit more about how Om works, you will see that
it's an optimal design and highly unlikely for traditional approaches to be
able to compete.

David

-- 
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