Skip to content

Poor single-threaded allocation performance #1968

@jounathaen

Description

@jounathaen

The current memory allocator seems to have a performance issue:

I've created a test with a 3MiB Json serialization that illustrates the issue:
https://github.com/jounathaen/hermit-allocator-json-test

Allocator average runtime
host 8.00ms
talc 4748.54ms
bump 28.57ms
galloc 29.98ms

(talc is more than 150x slower than galloc in this scenario)

The alternative allocators are implemented here:

Metadata

Metadata

Assignees

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