rustwasm/wee_alloc

Emit statistics / visualizations of heap fragmentation.

Open

#11 opened on Feb 2, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (46 forks)github user discovery
help wanted

Repository metrics

Stars
 (711 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Summary

Emit statistics / visualizations of heap fragmentation. There are edge cases where we can't currently consolidate adjacent free cells into a larger, contiguous free cell. This would let us empirically answer whether that is a problem in practice.

Motivation

Remove "unknown unknowns". Be a better allocator.

Details

  • Maybe use graphviz.

  • At least get some statistics / aggregated numbers on free vs allocated and distribution of free cell sizes in the free list.

Contributor guide