Some good news and some puzzling news.

With advanced mode, the various forms of non-literal vector creation
clock in around 400msec for 1 million ops on node, which is a 2-to-5x
improvement.

Now, the puzzling bit:

Using time, I get a big fat 0 for certain kinds of operations:

(time (dotimes [x 1000000] (Test. x))) --> big fat 0

Again this is on node, running the script from the command line.

There also seems to be some issue with laziness, where some of my big
list operations are getting a 0 as well.

Is advanced mode somehow optimizing these things away because they
don't get used elsewhere in the program?

Pretty confusing.






On Tue, Nov 5, 2013 at 11:21 PM, David Nolen <dnolen.li...@gmail.com> wrote:
> Yes no benchmarking with anything other than advanced please - lots of
> optimizations kick in only for :advanced, especially around various forms of
> function invocation, :simple + :static-fns true will also give reasonable
> results however it'll mess with REPL interactivity.
>
> David
>
>
> On Tue, Nov 5, 2013 at 11:13 PM, kovas boguta <kovas.bog...@gmail.com>
> wrote:
>>
>> On Tue, Nov 5, 2013 at 11:05 PM, David Nolen <dnolen.li...@gmail.com>
>> wrote:
>>
>> > Also what optimization settings are you using?
>>
>> I guess I should try something other than the browser repl. Will retry
>> with advanced optimizations.
>>
>> --
>> --
>> 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/groups/opt_out.
>
>
> --
> --
> 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/groups/opt_out.

-- 
-- 
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/groups/opt_out.

Reply via email to