You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[jnimarshalmethod-gen] Use ReaderParameters.InMemory=true (dotnet#369)
Set `ReaderParameters.InMemory=true` so that assemblies are loaded
into memory for processing, instead of reading their contents lazily
from disk. This helps to process the assembly faster
Times when processing `Mono.Android.dll`:
Before:
All 37.34 real 37.29 user 2.04 sys
Limited 7.02 real 6.54 user 1.17 sys
After:
All 33.84 real 34.99 user 1.01 sys
Limited 4.41 real 4.76 user 0.36 sys
Where *All* has `jnimarshalmethod-gen.exe` processing *all* types in
the assembly, while *Limited* means to use
`jnimarshalmethod-gen.exe --types=FILE` where `FILE` contains the
following listed types:
# XA template startup, Mono.Android
#
Android.Runtime.UncaughtExceptionHandler
Java.Interop.TypeManager\+JavaTypeManager
Android.Views.View\+IOnClickListenerImplementor
# XForms template, Mono.Android
#
Android.Animation.ValueAnimator\+IAnimatorUpdateListenerImplementor
Java.Lang.Thread\+RunnableImplementor
0 commit comments