[Mono-list] Mono with llvm and profiler

Rodrigo Kumpera kumpera at gmail.com
Fri Dec 13 16:52:12 UTC 2013


Can you file a bug on profiling with llvm enabled? It's supposed to work.


On Wed, Dec 11, 2013 at 8:47 AM, xplicit <svg at ngs.ru> wrote:

> Is there a way to run mono profiler when mono compiled with llvm support?
> When I run
> mono --profile=log
> mono says that it can't find mono-profiler-log in libraries (because there
> is no libmono-profiler-log.* in /usr/lib) nor in executable. If I compile
> mono without llvm support profiler starts as expected. My platform is linux
> 32 bit, mono from master branch.
>
> Also where can I look into code samples, which definitely execute faster on
> mono with --llvm option? I tried two tests - web server (runs 30% slower
> with llvm), String.GetHashCode() and String.GetCaseInsensitiveHashCode() -
> same speed with llvm and without llvm. Would like to know what types of
> code
> I can use with llvm to increase performance.
>

Are you comparing wallclock time of the whole execution or only after
warmup? LLVM is
an order of magnitude slower at compiling code than the default JIT, so you
must
account for that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20131213/88653e6c/attachment.html>


More information about the Mono-list mailing list