Skip to content

Performance issue #3

@tbabm93

Description

@tbabm93

Hi, I tested the memory pool, and I found that the performance of this memory pool is not good as allocating memory from heap, so the code is only for beginner to learn, right?

Allocate memory from memory pool: 0.304s
Allocate memory form heap: 0.0608

for(int i = 0; i < 200000; ++i) {
v = new TestMemoryPool();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions