Skip to content

Commit 3fccfb8

Browse files
authored
Update benchmark table formatting in README
1 parent 690c9c7 commit 3fccfb8

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -216,26 +216,26 @@ in the following tables.
216216

217217
**Optimized build (-O3)**
218218

219-
| Method | Compile Time, s | Executable size, KiB | Stripped size, KiB |
220-
|---------------|-----------------|----------------------|--------------------|
221-
| printf | 1.6 | 54 | 50 |
222-
| IOStreams | 28.4 | 98 | 84 |
223-
| fmt 1122268 | 5.0 | 54 | 50 |
224-
| tinyformat | 32.6 | 164 | 136 |
225-
| Boost Format | 55.0 | 530 | 317 |
219+
| Method | Compile Time, s | Executable size, KiB | Stripped size, KiB |
220+
|-----------------|-----------------|----------------------|--------------------|
221+
| printf | 1.6 | 54 | 50 |
222+
| IOStreams | 28.4 | 98 | 84 |
223+
| {fmt} `1122268` | 5.0 | 54 | 50 |
224+
| tinyformat | 32.6 | 164 | 136 |
225+
| Boost Format | 55.0 | 530 | 317 |
226226

227227
{fmt} is fast to compile and is comparable to `printf` in terms of per-call
228228
binary size (within a rounding error on this system).
229229

230230
**Non-optimized build**
231231

232-
| Method | Compile Time, s | Executable size, KiB | Stripped size, KiB |
233-
|---------------|-----------------|----------------------|--------------------|
234-
| printf | 1.4 | 54 | 50 |
235-
| IOStreams | 27.0 | 88 | 68 |
236-
| {fmt} 1122268 | 4.7 | 87 | 84 |
237-
| tinyformat | 28.1 | 185 | 145 |
238-
| Boost Format | 38.9 | 678 | 381 |
232+
| Method | Compile Time, s | Executable size, KiB | Stripped size, KiB |
233+
|-----------------|-----------------|----------------------|--------------------|
234+
| printf | 1.4 | 54 | 50 |
235+
| IOStreams | 27.0 | 88 | 68 |
236+
| {fmt} `1122268` | 4.7 | 87 | 84 |
237+
| tinyformat | 28.1 | 185 | 145 |
238+
| Boost Format | 38.9 | 678 | 381 |
239239

240240
`libc`, `lib(std)c++`, and `libfmt` are all linked as shared libraries
241241
to compare formatting function overhead only. Boost Format is a

0 commit comments

Comments
 (0)