Skip to content

size increase of core116 #4463

Closed
Closed
@r10s

Description

@r10s

core116 is significantly larger than core112.8 - when building the new android 1.37, we got the following apk sizes (4 arch, all compressed):

android1.36.5 using core112.8:         56.3 mb
android1.37   using core116:           67.9 mb  ->  +11.6 mb compared to android1.36.5

android UI code or dependency itself did not grew significantly (first line shows is compiling new UI with old core) - but compiling 1.37 with --disable jsonrpc makes a difference:

android1.37, core112.8:                56.4 mb
android1.37, core116 without jsonrpc:  61.1 mb

part of the size increase is already detected by @link2xt already as "brotli". compiling with disabling unused brotli features as of #4461 , we get down 5.5 mb:

android1.37, #4461:                    62.4 mb  ->  +6.1 mb compared to android1.36.5
android1.37, #4461 without jsonrpc:    60.6 mb

idk, why the size decrease with --disable jsonrpc is less when using #4461 instead of core112.8.

i double checked that these sizes are not related to android UI code by compiling without jsonrpc with and without throwing out all jsonrpc depencies added at deltachat/deltachat-android#2479

maybe the size increase of then 6.1 mb is acceptable now, esp. as it maybe hard to get to the cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions