Skip to content

Reduce the number of object allocations #4303

Open
@markushi

Description

@markushi

Description

If profiling is enabled, our CPU/Memory info collectors are a big contributor to causing GC calls, as many objects are being allocated, causing a GC calls every 9s (API 34 emulator) even when an app is idle.

Image

As discussed internally we could reduce the frequency when idle and optimize the data structure (shared date, or even primitive one).

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions