Skip to content

jounathaen/hermit-allocator-json-test

Repository files navigation

Allocator Test - JSON Deserialization

Deserializes a 4MB json file, which results in hundred thousands of allocations for the individual string fields.

git submodule update --init --recursive

./run.sh --host # deserialization on the host
./run.sh # using hermit's default "talc" allocator
./run.sh --bump # use a simple bump allocator
./run.sh --galloc # use good_memory_allocator

This produces the following results on my laptop:

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published