[Bug 2545] performance on std::map

bugzilla at busybox.net bugzilla at busybox.net
Sat Jun 4 14:39:26 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=2545

--- Comment #5 from Oliver Metz <oliver.metz at gmx.de>  ---
(In reply to comment #4)
> As said, please provide a small, self contained testcase with real world data
> and we'll see what we can do.
Attached is a small testcase for the function find. I did not try if add/insert
is as bad too.

The times were meassured on a 360 MHz mipsel embedded system. The binaries were
compiled static without optimization flags.

root at fritz:/var/mod/root# time ./map_test.uClibcxx  < data
You typed 'spoon' 5 time(s)
real    0m 0.73s
user    0m 0.69s
sys     0m 0.05s
root at fritz:/var/mod/root# time ./map_test.libstdcxx < data
You typed 'spoon' 5 time(s)
real    0m 0.02s
user    0m 0.02s
sys     0m 0.01s

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list