J'ai créé une application console en C# et l'exécuter sur windows/.NET est 5 fois plus rapide que sur linux/mono ou windows/mono. L'application code certains fichiers binaires au format texte (JSON).Comment interpréter les résultats de profileur mono?
Je l'application sur profilé linux/mono en utilisant:
mono --profile=default:stat myconsoleapp.exe
Voici la première partie du résultat:
prof counts: total/unmanaged: 32274/25062
23542 72.95 % mono
459 1.42 % System.Decimal:Divide (System.Decimal,System.Decimal)
457 1.42 % System.Decimal:Round (System.Decimal,int,System.MidpointRounding)
411 1.27 % /lib/libz.so.1
262 0.81 % /lib/tls/i686/cmov/libc.so.6(memmove
253 0.78 % System.Decimal:IsZero()
247 0.77 % System.NumberFormatter:Init (string,double,int)
213 0.66 % System.NumberFormatter:AppendDigits (int,int)
72,95% mono? Les internes mono utilisent-ils les trois quarts du temps d'exécution total?
EDIT: Voici le résultat de "--version mono"
Mono JIT compiler version 2.4.2.3 (Debian 2.4.2.3+dfsg-2)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
Merci. J'ai ajouté la version mono à la question. comment puis-je obtenir un binaire mono avec les symboles inclus? –