On Feb 4, 10:12 am, "Remco van 't Veer" <rwvtv...@gmail.com> wrote:
> Caching Reflector.getMethods, as described below, works pretty well.
> Performance seems acceptable for now.  Startup time is still dramatic,
> need to investigate.  Considering releasing changes as a fork on
> github is anybody is interested.
>

I would also be interested in running Clojure on the Android. I tried
running a "Hello world" application on the emulator but the startup
time od 15 seconds put me off. There is definitely room for
improvement. I don't have much experience in Java (zero would be the
best description) so I don't really know where to start with
profiling.

I've run the application through the Instrumentation mechanism and the
trace shows me that much of the time is spent in a huge amount of
calls to some character compare methods (something like 200000 calls)
(I don't have the trace with me right now so I don't have the exact
numbers and I don't know the exact method name).

I find this curious when I know that all code is compiled ahead of
time. When I get the chance I will recreate that call graph an upload
it to the files section.

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

Reply via email to