Revision 7be5108...

Go back to digest for 13th January 2013

Optimization in Development Tools

Milian Wolff committed changes in [kdevelop] /cpp/parser/tests:

Add a benchmark for the rxx_allocator.

This comes in two flavors:

1) A single pool and multiple allocations of 64 bytes. Somewhat
representative for the creation of the big AST tree.

2) Multiple pools with just a few allocations, as done by the

Current results on my machine in RelWithDebInfo mode:

RESULT : TestPool::benchManyPools():
0.039 msecs per iteration (total: 80, iterations: 2048)
RESULT : TestPool::benchManyAllocations():
0.000068 msecs per iteration (total: 72, iterations: 1048576)

File Changes

Modified 2 files
  • /cpp/parser/tests
  •   languages/test_pool.cpp
  •   languages/test_pool.h
2 files changed in total