I filled the bug for profiling.
https://bugzilla.xamarin.com/show_bug.cgi?id=16785

About benchmarking: 
I did exactly the same test, but with smaller string (14 chars length). I've
got your snippet and run it. Results are same with --llvm and without. What
am I missing?

//copied your code to test2.cs
dmcs -optimize+ test2.cs 

//then run it
$ /usr/bin/mono-sgen ./test2.exe
It took 3259ms
$ /usr/bin/mono-sgen ./test2.exe
It took 3237ms
$ /usr/bin/mono-sgen --llvm ./test2.exe
It took 3236ms
$ /usr/bin/mono-sgen --llvm ./test2.exe
It took 3248ms


Mono Runtime Engine version 3.2.7 (master/01b7a50 Sat Dec 14 01:48:49 NOVT
2013)
Copyright (C) 2002-2013 Novell, Inc, Xamarin Inc and Contributors.
www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none
        Misc:          softdebug 
        LLVM:          yes(3.4svn-mono-mono/e656cac)
        GC:            sgen

OS: Ubuntu linux 32 bit.

llvm configured with these options: 
./configure --prefix=/usr --enable-optimized --enable-targets="x86"



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Mono-with-llvm-and-profiler-tp4661504p4661539.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to