[Bug 2545] New: performance on std::map

bugzilla at busybox.net bugzilla at busybox.net
Wed Sep 8 23:57:35 UTC 2010


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

           Summary: performance on std::map
           Product: uClibc++
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
        AssignedTo: unassigned at uclibc.org
        ReportedBy: nunojpg at gmail.com
                CC: uclibc-cvs at uclibc.org
   Estimated Hours: 0.0


I was updating the nmap package for ubuntu on a MIPS machine and I noticed the
performance was unaceptable. I changed to libstdcpp and it improved in the
order of 1000 times(1s vs 1000s).

I narrowed the problem to two calls on a std:map variable:

class std::map<port_spec, service_node> service_table.

line 241: i = service_table.find(ps); takes 50% of the time.
line 274: service_table[ps] = sn; takes 45% of the time.

Can I help in any way to find the problem/is this not a real issue?

Regards

-- 
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