Execution times of strlen, malloc, memcpy and strdup compared

Intel P4 at 3.2GHz with 0.5MB L2 Cache (Northwood), gcc3.3.3 Slackware glibc 2.3.3, -O2


The logfile of the test can be found here.
GNUPlot rc-file: strdup-test2.northwood.rc

Intel Xeon 2.83GHz 1MB L2 cache gcc 3.2.3 RHEL3-AS (glibc-2.3.2-95.39), -O2


The logfile of the test can be found here.
GNUPlot rc-file: strdup-test2.xeon.rc

Intel P3 (Coppermine) 800MHz 256KB L2 Cache, -O2 Debian libc6-i686 2.3.6-15


The logfile of the test can be found here.
GNUPlot rc-file: strdup-test2.coppermine.rc




feedback