From c6f772bb7358d574932d73dbd8410765801b1dde Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 20 Dec 2014 22:27:13 +0200 Subject: [PATCH 1/9] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f3ea9fc0..e8156aa8 100644 --- a/README.md +++ b/README.md @@ -43,12 +43,12 @@ Below are some [benchmarks](bench) comparing the time needed to log 1,000,000 li |100| 15.008 |1.139s |4.512s :|0.497s| -### ASynchronous mode +### Asynchronous mode |threads|g2log |spdlogasync mode| -|:-------|----- :|:-------------------------:| -|1| 1.850s |0.216s -|10| 0.943s |0.173s -|100| 0.959s |0.202 +|:-------|:-----:|-------------------------:| +|1| 1.850s |0.216s | +|10| 0.943s |0.173s| +|100| 0.959s |0.202| From 18a434f59c7e7735117cd65189cf97053b779691 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 20 Dec 2014 22:29:52 +0200 Subject: [PATCH 2/9] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e8156aa8..0eb57852 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ Below are some [benchmarks](bench) comparing the time needed to log 1,000,000 li ### Asynchronous mode +Time needed to log 1,000,000 lines under async mode, i.e. the time takes tp put the messages in the async queue (the best of 3 runs): + |threads|g2log |spdlogasync mode| |:-------|:-----:|-------------------------:| |1| 1.850s |0.216s | From c325c3977da14db7590fe5717d47a716ea5e6c90 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 20 Dec 2014 22:32:03 +0200 Subject: [PATCH 3/9] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0eb57852..285b722e 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,10 @@ Just copy the files to your build tree and use a C++11 compiler ## Benchmarks -Below are some [benchmarks](bench) comparing the time needed to log 1,000,000 lines to file under Ubuntu 64 bit, Intel i7-4770 CPU @ 3.40GHz (the best of 3 runs for each logger): +Below are some [benchmarks](bench) comparing popular log libraries under Ubuntu 64 bit, Intel i7-4770 CPU @ 3.40GHz ### Synchronous mode +Time needed to log 1,000,000 lines under synchronous mode (the best of 3 runs): |threads|boost log|glog |easylogging |spdlog| |-------|:-------:|:-----:|----------:|------:| |1| 4.169s |1.066s |0.975s :|0.302s| @@ -44,7 +45,7 @@ Below are some [benchmarks](bench) comparing the time needed to log 1,000,000 li ### Asynchronous mode -Time needed to log 1,000,000 lines under async mode, i.e. the time takes tp put the messages in the async queue (the best of 3 runs): +Time needed to log 1,000,000 lines under asynchronous mode, i.e. the time it takes to put the messages in the async queue (the best of 3 runs): |threads|g2log |spdlogasync mode| |:-------|:-----:|-------------------------:| From b56fddb52f9127480e2952bf1f0cfb7d48538579 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 20 Dec 2014 22:32:50 +0200 Subject: [PATCH 4/9] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 285b722e..9f2eb8a5 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ Below are some [benchmarks](bench) comparing popular log libraries under Ubuntu ### Synchronous mode Time needed to log 1,000,000 lines under synchronous mode (the best of 3 runs): + |threads|boost log|glog |easylogging |spdlog| |-------|:-------:|:-----:|----------:|------:| |1| 4.169s |1.066s |0.975s :|0.302s| From aa67db309093153b5ad8f591a828e5e2738e5ee3 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 20 Dec 2014 22:33:17 +0200 Subject: [PATCH 5/9] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9f2eb8a5..50997ac5 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Just copy the files to your build tree and use a C++11 compiler Below are some [benchmarks](bench) comparing popular log libraries under Ubuntu 64 bit, Intel i7-4770 CPU @ 3.40GHz -### Synchronous mode +#### Synchronous mode Time needed to log 1,000,000 lines under synchronous mode (the best of 3 runs): |threads|boost log|glog |easylogging |spdlog| @@ -45,7 +45,7 @@ Time needed to log 1,000,000 lines under synchronous mode (the best of 3 runs): |100| 15.008 |1.139s |4.512s :|0.497s| -### Asynchronous mode +#### Asynchronous mode Time needed to log 1,000,000 lines under asynchronous mode, i.e. the time it takes to put the messages in the async queue (the best of 3 runs): |threads|g2log |spdlogasync mode| From 0dbc0b724d9edea8a05262ceb6bab6be479aa235 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 20 Dec 2014 22:34:21 +0200 Subject: [PATCH 6/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 50997ac5..062b6f69 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Time needed to log 1,000,000 lines under synchronous mode (the best of 3 runs): #### Asynchronous mode -Time needed to log 1,000,000 lines under asynchronous mode, i.e. the time it takes to put the messages in the async queue (the best of 3 runs): +Time needed to log 1,000,000 lines under asynchronous mode, i.e. the time it takes to put them in the async queue (the best of 3 runs): |threads|g2log |spdlogasync mode| |:-------|:-----:|-------------------------:| From 55c26a4a72d78f96f2cd12e0fc22035212b1a05f Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 20 Dec 2014 22:35:10 +0200 Subject: [PATCH 7/9] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 062b6f69..23e7ac51 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,9 @@ Time needed to log 1,000,000 lines under synchronous mode (the best of 3 runs): |threads|boost log|glog |easylogging |spdlog| |-------|:-------:|:-----:|----------:|------:| -|1| 4.169s |1.066s |0.975s :|0.302s| -|10| 16.029 |3.032s |2.857 :|0.968s| -|100| 15.008 |1.139s |4.512s :|0.497s| +|1| 4.169s |1.066s |0.975s |0.302s| +|10| 16.029 |3.032s |2.857 |0.968s| +|100| 15.008 |1.139s |4.512s |0.497s| #### Asynchronous mode From 60c6f77a0ce52a59fbe0774fafd85a4ca8ecaa39 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 20 Dec 2014 22:35:58 +0200 Subject: [PATCH 8/9] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 23e7ac51..a5e15097 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Time needed to log 1,000,000 lines under synchronous mode (the best of 3 runs): |threads|boost log|glog |easylogging |spdlog| |-------|:-------:|:-----:|----------:|------:| |1| 4.169s |1.066s |0.975s |0.302s| -|10| 16.029 |3.032s |2.857 |0.968s| +|10| 16.029 |3.032s |2.857s |0.968s| |100| 15.008 |1.139s |4.512s |0.497s| @@ -52,7 +52,7 @@ Time needed to log 1,000,000 lines under asynchronous mode, i.e. the time it tak |:-------|:-----:|-------------------------:| |1| 1.850s |0.216s | |10| 0.943s |0.173s| -|100| 0.959s |0.202| +|100| 0.959s |0.202s| From 0392418347a7427a88713f3f0bae268562a3517c Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sat, 20 Dec 2014 22:36:42 +0200 Subject: [PATCH 9/9] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a5e15097..d0b0ae97 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Just copy the files to your build tree and use a C++11 compiler Below are some [benchmarks](bench) comparing popular log libraries under Ubuntu 64 bit, Intel i7-4770 CPU @ 3.40GHz #### Synchronous mode -Time needed to log 1,000,000 lines under synchronous mode (the best of 3 runs): +Time needed to log 1,000,000 lines under synchronous mode (in seconds, the best of 3 runs): |threads|boost log|glog |easylogging |spdlog| |-------|:-------:|:-----:|----------:|------:| @@ -46,7 +46,7 @@ Time needed to log 1,000,000 lines under synchronous mode (the best of 3 runs): #### Asynchronous mode -Time needed to log 1,000,000 lines under asynchronous mode, i.e. the time it takes to put them in the async queue (the best of 3 runs): +Time needed to log 1,000,000 lines under asynchronous mode, i.e. the time it takes to put them in the async queue (in seconds, the best of 3 runs): |threads|g2log |spdlogasync mode| |:-------|:-----:|-------------------------:|