Benchmark for some miscellaneous operations.
This program benchmarks the following operations:
- Scanning of a single linked list,
- Computing factorial using unsigned shorts or unsigned longs.
Name | Time | Ticks |
Empty bench (correction) | 8 us | [17] |
Single linked list init (100 elts) | 2611 us | [5222] |
Scan list 100 elts | 607 us | [1214] |
strlen const string 12 | 8 us | [17] |
strlen 12 | 175 us | [351] |
fact(8) unsigned short (40320) | 526 us | [1053] |
fact(12) unsigned long (479001600) | 2249 us | [4498] |
Source file: bench-misc.c
|