On Jun 19, 1:50 pm, Berlin Brown <[email protected]> wrote:
> On Jun 19, 1:04 pm, Four of Seventeen <[email protected]> wrote:
>
> > On Jun 19, 10:12 am, BerlinBrown <[email protected]> wrote:
>
> > > 574 instances of class clojure.lang.DynamicClassLoader
>
> > That is curious. Ordinarily one only needs one instance of any
> > particular classloader, not 574 of them. :) Not that I know much about
> > clojure's internals.
>
> "clojure.lang.DynamicClassLoader "
>
> Could be a misnomer. Not really a classloader in the typical sense.
>
> I think this is my actual code that gets loaded in memory.
> "26625 instances of class clojure.lang.PersistentHashMap$LeafNode "
>
> Next, I think I need some memory performance tips to see where I can
> reduce memory.
I am sorry to bother you guys with this randomness, but what I am
looking at is pretty cool.
Exits
Display sleep() 368
RT classForName(String) 1030
Var deref() 701318
core__init load() 1
core$filter_key__4306 invoke(Object,Object,Object) 196
core$ns_publics__4334$fn__4336 invoke(Object) 145158
RT loadClassForName(String) 44
PersistentHashMap$BitmapIndexedNode$Seq next() 261388
PersistentHashMap$BitmapIndexedNode find(int,Object) 145201
Var get() 695863
PersistentHashMap entryAt(Object) 139095
octane_file_utils$open_file_util__552 invoke(Object,Object) 1
PersistentHashMap$BitmapIndexedNode assoc(int,int,Object,Object,Box)
86140
PersistentHashMap$BitmapIndexedNode$Seq first() 332152
PersistentHashMap$BitmapIndexedNode bitpos(int,int) 247501
Var getThreadBinding() 701870
PersistentHashMap assoc(Object,Object) 56120
RT first(Object) 226620
RT next(Object) 178384
core$refer__4345 doInvoke(Object,Object) 196
core$flush__4156 invoke() 7
RT cons(Object,Object) 174573
Namespace findOrCreate(Symbol) 6751
octane_utils__init load() 1
core$val__3614 invoke(Object) 168802
I easily added jrat to profile the method calls. Here is what I came
up with. Here are the clojure classes and how many times they were
executed.
Here is jrat.
http://jrat.sourceforge.net/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---