Benchmark for some string operations.

Description | Download | Table of Contents | Modules | Compound List | File List | Functions


Overview
Compiler
Documentation
Examples
Misc
Help
IDE & Tools

Download
Install

Links
Projects






This program benchmarks the following operations:

  • strcpy,
  • strlen,
  • strcat,
  • strcmp,
  • strrchr,
  • memcpy,
  • memcmp,
  • strstr.

Source file: bench-string.c
NameTimeTicks
Empty bench (correction) 8 us[17]
Float mul (9) 4080 us[8161]
Float add (19) 3159 us[6319]
Float neg (-19) 1848 us[3696]
Float div (-197) 27360 us[54720]
Float to long (-195) 1271 us[2542]
Long to float (-193) 1916 us[3832]
Double mul (9) 10250 us[20500]
Double add (19) 5209 us[10418]
Double neg (-19) 3566 us[7133]
Double div (-197) 17346 us[34692]
Double to long (-194) 1655 us[3310]
Long to double (-192) 5370 us[10740]

Description | Download | Table of Contents | Modules | Compound List | File List | Functions

    Last modified,
    Apr 16, 2001
[ Copying ]     [ Feedback to Stephane.Carrez@worldnet.fr ]