Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

[Performance] Figure out how to benchmark with "Mono Ahead of Time" #38

Open
twop opened this issue Jan 6, 2022 · 1 comment
Open

Comments

@twop
Copy link
Collaborator

twop commented Jan 6, 2022

Currently we benchmark with .NET 6 JIT, while it is awesome to have something going, we probably want a closer to Fabulous actual use case: mobile AoT compilation with Mono.

We use https://benchmarkdotnet.org that can support it, I just haven't had enough energy to figure out how. Note that I have Apple M1 chip which can run arm code natively (thus the closest that we can get)

Here is a snippet how to setup Mono https://benchmarkdotnet.org/articles/configs/toolchains.html#monoaotllvm

Alternatively we can have a test mobile project (not even XF) with a simple functionality of Run and Report/See results that we manually deploy to a device.

Note for the benchmark app above we would still use TestUI framework vs Xamarin binding to have a stable reference and "apples to apples" comparison

@TimLariviere
Copy link
Owner

Not sure it still applies now we're targeting .NET 6.0 by default.
I believe AoT still is a thing, but we need to find how to test

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants