dotnet / dotnet/performance

wish: native code size metric for Mono Scenarios

Open
#2,042 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
F#
Stars
773
Forks
301
Avg merge
6d 9h
Merged PRs (30d)
15

Description

The `MonoScenarios` dashboard in PowerBI can show "Package Size" which is the total size of an ios .app (or an android .apk), and it can show the file breakdown - which looks like it is the `.dll`, `libSystem.*` native PAL libraries, and `icu*` which is the ICU data.

It would be great if we had a synthetic benchmark which was `{total package size} - {sum of *.dll, libSystem*, icu*}` that will leave: the size of the native statically linked .app binary (which is not present in the file breakdown at all today) which includes the code produced by the AOT compiler plus libmono (statically linked into the app) and the app glue code (which is essentially constant) and the .aotdata files from the package.

Essentially that difference is all of the native runtime code plus all the native code produced by the AOT compiler.

As a synthetic benchmark it will allow us to detect either increases in the size of the native runtime, or increases in the AOT compiler output, which are both important for the runtime team to be aware of.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.