Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
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
spdlog
Commits
dc198a5e
Commit
dc198a5e
authored
Nov 23, 2014
by
gabime
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/gabime/spdlog
parents
05fcfcda
a0673a4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
18 deletions
+5
-18
README.md
README.md
+5
-18
No files found.
README.md
View file @
dc198a5e
...
@@ -35,26 +35,13 @@ Just copy the files to your build tree and use a C++11 compiler
...
@@ -35,26 +35,13 @@ Just copy the files to your build tree and use a C++11 compiler
## Benchmarks
## Benchmarks
Here are some
[
benchmarks
](
bench
)
comparing spdlog vs boost log(1.56.0) on Ubuntu 64 bits, Intel i7-4770 CPU @ 3.40GHz.
Below are some
[
benchmarks
](
benchmarks
)
under Ubuntu 64 bit, Intel i7-4770 CPU @ 3.40GHz:
The bench writes 1,000,000 log lines to a rotating log file (using shared synchronous logger object):
|library|log lines|single thread|10 threads
#### spdlog vs. boost - single thread
|library|log lines|threads|elapsed|
|-------|:-------:|:-----:|------:|
|
*boost*
|1,000,000|1|
**4.207s**
|
|
*spdlog*
|1,000,000|1|
**0.975s**
|
#### spdlog vs. boost - 10 threads
|library|log lines|threads|elapsed|
|-------|:-------:|:-----:|------:|
|-------|:-------:|:-----:|------:|
|
*boost*
|1,000,000|10|
**6.592s**
|
|
*boost log v1.56*
|1,000,000|
**4.207s**
|
**6.592s**
|
|
*spdlog*
|1,000,000|10|
**0.961s**
|
|
*glog v0.3.3*
|1,000,000|
**1.077s**
|
**1.678s**
|
|
*spdlog*
|1,000,000|
**0.975s**
|
**0.961s**
|
## Usage Example
## Usage Example
```
c++
```
c++
...
...
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