Skip to content

Performance is about twenty times slower after upgrading to v10.x #3834

@dsaf

Description

@dsaf

After upgrading to v10.x (and no other code changes) performance of my MonoGame app became much worse when running on a real device Galaxy S9+ Android 9.0 regardless of whether a debugger is attached or Release/Debug build configuration is chosen.

environment.txt contents are commented out so it runs default.
The default 23_x86 emulator performance is not bad, not sure what to make of this.
Based on my observations performance hit appears to be CPU-bound (rather than GPU).

  1. What could be the reason and solution?
  2. How can I roll back to older Xamarin with more stable performance?

Version Information

Microsoft Visual Studio Community 2019 Version 16.3.6
Xamarin 16.3.0.277 (d16-3@c0fcab7)
Xamarin.Android SDK 10.0.3.0 (d16-3/4d45b41)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: mono/mono@5608fe0abb3
Java.Interop: xamarin/java.interop/d16-3@5836f58
LibZipSharp: grendello/LibZipSharp/d16-3@71f4a94
LibZip: nih-at/libzip@b95cf3fd
ProGuard: xamarin/proguard@905836d
SQLite: xamarin/sqlite@8212a2d
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-3@cb41333

Metadata

Metadata

Assignees

Labels

Area: App RuntimeIssues in `libmonodroid.so`.need-infoIssues that need more information from the author.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions