Mladen Turk wrote:
Just did some quick bench of the current trunk, and the results are not very much encouraging.
Inner loops are even worse.
Calling 10000 x 32 bytes allocations
is more then 10 times slower.
This takes less then a second on my box to finish
with apr 1.4 and 11 seconds with trunk :)
for (i = 0; i < 10000; i++) {
apr_pool_t *p;
apr_pool_create(&p, NULL);
for (j = 0; j < 10000; j++) {
m = apr_palloc(p, 32);
}
apr_pool_destroy(p);
}
Regards
--
^(TM)
