| test program | user time spent | Description |
|---|---|---|
| sprintf-glibc | 5.20 | vanilla glibc call |
| sprintf-linux | 3.16 | sprintf implementation from the Linux kernel, version 2.6.20.4 |
| sprintf-linux-new | 3.04 | sprintf implementation from the Linux kernel, version 2.6.23-rc9 |
| sprintf-gcc | 0.82 | normal call to sprintf, but compiled with latest GCC trunk with the above patch applied |
| sprintf-linux-nop | 1.04 | sprintf implementation from Linux 2.6.23-rc9, but the call to "number" subfunction commented out. Note that this produces wrong results. The purpose this test is to demonstrate the overhead of just parsing the format string. |
TODO: