DioxusLabs / DioxusLabs/anyrender

Investigate memory usage of backends

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
106
Forks
31
Avg merge
2h 8m
Merged PRs (30d)
11

Description

With the `winit` example in this repo (and the default 800x600 logical size (with 2x scale factor)) get:

- `61792` bytes using a new `null` backend (which doesn't do any rendering at all and has a memory usage of 1 byte)
- `85728` bytes using the `vello_cpu`+`pixels` backend
- `95920` bytes using the `vello_cpu`+`softbuffer` backend
- `86544` bytes using the `vello` backend

In all cases (except the null backend) memory usage jumps up quite a bit if the window is resized bigger. To ~100mb for `vello` and ~120mb for `vello_cpu`+`pixels` with a fullscreen window on my MacBook Pro 14".

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.