Skip to content

Explain WASM size through Github Action #89

@maxammann

Description

@maxammann

Goal of this task is to give some more insights into the size of the wasm/native binary.

Note: This is a beginner task because it requires no insight into maplibre-rs. But its probably not tivial.

🤔 Expected Behavior

  • We want a cargo profile, which includes debug symbols, but is else identical to a release build. This gives a good estimate of actual sizes and allows to debug the usage.
  • Track wasm size through a custom Github Action. Post diffs in the PR.

😯 Current Behavior

No insights.

💁 Possible Solution

There is https://github.com/orf/cargo-bloat-action/tree/master/src
Sadly this does not support WASM. Also it sends data to some cloudflare service in the US.

🔦 Context

💻 Examples

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions