Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
The following code runs roughly 10x slower when "use shared runtime" is disabled:
float foo = 12345;
for (int i = 0; i < 1000000; i++)
bar = foo;
Notably, the slowdown does not happen when foo and bar are ints or doubles. To test this, we inserted the above code into the OnRenderFrame() function in the OpenGL template project, wrapped with a Stopwatch.
This causes a horrendous slowdown (10x or greater) in our game in release builds, which makes it unshippable.
The runtime which is compiled into the app is probably built for soft-float.
Go to Project Properties and add the armeabi-v7a architecture to your application. It is included in the shared runtime, but you need to opt into it for your application, since it will add about 1 MB to your release .apk.
Amazing! Everything runs perfectly now - thanks so much!