Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
07b690a6
Unverified
Commit
07b690a6
authored
Jul 07, 2018
by
Victor Zverovich
Committed by
GitHub
Jul 07, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.rst
parent
f9e9bf02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
README.rst
README.rst
+15
-15
No files found.
README.rst
View file @
07b690a6
...
...
@@ -369,18 +369,18 @@ macOS Sierra, best of three) is shown in the following tables.
============= =============== ==================== ==================
Method Compile Time, s Executable size, KiB Stripped size, KiB
============= =============== ==================== ==================
printf 2.
7
29 26
printf+string 1
8
.4 29 26
IOStreams 3
4.6
59 55
fmt
22
.0 37 34
tinyformat
51.8
103 97
Boost Format
120.5 762 739
Folly Format 1
58.7 102 87
printf 2.
6
29 26
printf+string 1
6
.4 29 26
IOStreams 3
1.1
59 55
fmt
19
.0 37 34
tinyformat
44.0
103 97
Boost Format
91.9 226 203
Folly Format 1
15.7 101 88
============= =============== ==================== ==================
As you can see, fmt has 60% less overhead in terms of resulting binary code
size compared to IOStreams and comes pretty close to ``printf``. Boost Format
has by far
the largest overheads.
and Folly Format have
the largest overheads.
``printf+string`` is the same as ``printf`` but with extra ``<string>``
include to measure the overhead of the latter.
...
...
@@ -390,13 +390,13 @@ include to measure the overhead of the latter.
============= =============== ==================== ==================
Method Compile Time, s Executable size, KiB Stripped size, KiB
============= =============== ==================== ==================
printf 2.
4
33 30
printf+string 1
8.5
33 30
IOStreams
31.9
56 52
fmt
20.9 56 51
tinyformat 3
8.9
88 82
Boost Format
64.8 366 304
Folly Format
113.5 442 428
printf 2.
2
33 30
printf+string 1
6.0
33 30
IOStreams
28.3
56 52
fmt
18.2 59 50
tinyformat 3
2.6
88 82
Boost Format
54.1 365 303
Folly Format
79.9 445 430
============= =============== ==================== ==================
``libc``, ``lib(std)c++`` and ``libfmt`` are all linked as shared
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment