Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
9a7c6272
Commit
9a7c6272
authored
Dec 03, 2014
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed uneeded file
parent
15f914f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
99 deletions
+19
-99
results.txt
bench/results.txt
+0
-80
run_all.sh
bench/run_all.sh
+19
-19
No files found.
bench/results.txt
deleted
100644 → 0
View file @
15f914f3
Running benchmakrs (all with 1000,000 writes to the logs folder
boost-bench (single thread)..
real 0m4.779s
user 0m4.256s
sys 0m0.044s
glog-bench (single thread)..
real 0m1.109s
user 0m0.967s
sys 0m0.140s
g2log-bench (single thread)..
Exiting, log location: logs/g2log-bench.g2log.20141124-233419.log
real 0m3.155s
user 0m4.255s
sys 0m0.874s
spdlog-bench (single thread)
real 0m0.947s
user 0m0.914s
sys 0m0.032s
------------------------------------
Multithreaded benchmarks..
------------------------------------
boost-bench-mt (10 threads, single logger)..
real 0m15.151s
user 0m35.555s
sys 0m7.453s
glog-bench-mt (10 threads, single logger)..
real 0m3.546s
user 0m9.836s
sys 0m10.985s
g2log-bench-mt (10 threads, single logger)..
Exiting, log location: logs/g2log-bench-mt.g2log.20141124-233502.log
real 0m3.500s
user 0m7.671s
sys 0m1.646s
spdlog-bench-mt (10 threads, single logger)..
real 0m1.549s
user 0m6.994s
sys 0m2.969s
------------------------------------
Async benchmarks..
------------------------------------
spdlog-bench-async (single thread)..
real 0m1.455s
user 0m2.381s
sys 0m0.417s
spdlog-bench-mt-async (10 threads, single logger)..
real 0m2.040s
user 0m4.076s
sys 0m2.822s
bench/run_all.sh
View file @
9a7c6272
...
...
@@ -2,29 +2,29 @@
echo
"Running benchmakrs (all with 1000,000 writes to the logs folder)"
echo
echo
"boost-bench (single thread).."
time
./boost-bench
rm
logs/
*
for
i
in
{
1..3
}
;
do
time
./boost-bench
;
done
rm
-f
logs/
*
echo
echo
sleep
5
echo
"glog-bench (single thread).."
time
./glog-bench
rm
logs/
*
for
i
in
{
1..3
}
;
do
time
./glog-bench
;
done
rm
-f
logs/
*
echo
echo
sleep
5
echo
"g2log-bench (single thread).."
time
./g2log-bench
rm
logs/
*
for
i
in
{
1..3
}
;
do
time
./g2log-bench
;
done
rm
-f
logs/
*
echo
echo
sleep
5
echo
"spdlog-bench (single thread)"
time
./spdlog-bench
rm
logs/
*
for
i
in
{
1..3
}
;
do
time
./spdlog-bench
;
done
rm
-f
logs/
*
echo
echo
sleep
5
...
...
@@ -32,29 +32,29 @@ echo "------------------------------------"
echo
"Multithreaded benchmarks.."
echo
"------------------------------------"
echo
"boost-bench-mt (10 threads, single logger)"
..
time
./boost-bench-mt
rm
logs/
*
for
i
in
{
1..3
}
;
do
./boost-bench-mt
;
done
rm
-f
logs/
*
echo
echo
sleep
5
echo
"glog-bench-mt (10 threads, single logger)"
..
time
./glog-bench-mt
rm
logs/
*
for
i
in
{
1..3
}
;
do
time
./glog-bench-mt
;
done
rm
-f
logs/
*
echo
echo
sleep
5
echo
"g2log-bench-mt (10 threads, single logger)"
..
time
./g2log-bench-mt
rm
logs/
*
for
i
in
{
1..3
}
;
do
time
./g2log-bench-mt
;
done
rm
-f
logs/
*
echo
echo
sleep
5
echo
"spdlog-bench-mt (10 threads, single logger)"
..
time
./spdlog-bench-mt
rm
logs/
*
for
i
in
{
1..3
}
;
do
time
./spdlog-bench-mt
;
done
rm
-f
logs/
*
echo
echo
sleep
5
...
...
@@ -64,14 +64,14 @@ echo "Async benchmarks.."
echo
"------------------------------------"
echo
"spdlog-bench-async (single thread)"
..
time
./spdlog-bench-async
rm
logs/
*
for
i
in
{
1..3
}
;
do
time
./spdlog-bench-async
;
done
rm
-f
logs/
*
echo
echo
sleep
5
echo
"spdlog-bench-mt-async (10 threads, single logger)"
..
time
./spdlog-bench-mt-async
for
i
in
{
1..3
}
;
do
time
./spdlog-bench-mt-async
;
done
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