Benchmarks
These benchmarks are similar to the benchmarks used to show the properties of hoard.
ThreadBench-Eq
This benchmark allocates a lot of small, equal sized chunks in each thread and tests the parallel efficiency.
The following table shows the time for the different allocators when running sequentially.
| Sun-malloc | mt-malloc | hoard | ptmalloc | rmalloc |
| 132.2 sec | 219.7 sec | 131.7 sec | 119.8 sec | 115.7 sec |
The speedup wrt. the number of processors is shown in the following figure.
Larson
This benchmarks simulates the allocation behaviour of a typical server application with multiple threads.
The number of allocations per time on one processor is shown in the following table.
| Sun-malloc | mt-malloc | hoard | ptmalloc | rmalloc |
| 579345 | 580463 | 622875 | 577604 | 753322 |
The speedup of the different allocators is shown in the next figure.