From f5084e3a913dfa94f83d0c4bcbdca580407c215d Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Tue, 17 Mar 2015 21:04:48 -0700 Subject: [PATCH] added benchmark --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index 29285d9..0f3d08b 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,37 @@ task.Wait(); > NOTE: `DedicatedThreadPool` is marked as `internal` by default, so it can be used opaquely across many dependent projects. +## Benchmark + +Latest benchmark on our build server (2 core Windows Azure A2 medium) + +```xml +[04:01:18][Step 1/1] Comparing Helios.Concurrency.DedicatedThreadPool vs System.Threading.ThreadPool for 10000 items +[04:01:18][Step 1/1] DedicatedThreadFiber.NumThreads: 2 +[04:01:18][Step 1/1] System.Threading.ThreadPool +[04:01:18][Step 1/1] 00:00:00.0060000 +[04:01:18][Step 1/1] Helios.Concurrency.DedicatedThreadPool +[04:01:19][Step 1/1] 00:00:00.0100000 +[04:01:19][Step 1/1] Comparing Helios.Concurrency.DedicatedThreadPool vs System.Threading.ThreadPool for 100000 items +[04:01:19][Step 1/1] DedicatedThreadFiber.NumThreads: 2 +[04:01:19][Step 1/1] System.Threading.ThreadPool +[04:01:19][Step 1/1] 00:00:00.0520000 +[04:01:19][Step 1/1] Helios.Concurrency.DedicatedThreadPool +[04:01:19][Step 1/1] 00:00:00.0420000 +[04:01:19][Step 1/1] Comparing Helios.Concurrency.DedicatedThreadPool vs System.Threading.ThreadPool for 1000000 items +[04:01:19][Step 1/1] DedicatedThreadFiber.NumThreads: 2 +[04:01:19][Step 1/1] System.Threading.ThreadPool +[04:01:23][Step 1/1] 00:00:00.6630000 +[04:01:23][Step 1/1] Helios.Concurrency.DedicatedThreadPool +[04:01:26][Step 1/1] 00:00:00.4290000 +[04:01:26][Step 1/1] Comparing Helios.Concurrency.DedicatedThreadPool vs System.Threading.ThreadPool for 10000000 items +[04:01:26][Step 1/1] DedicatedThreadFiber.NumThreads: 2 +[04:01:26][Step 1/1] System.Threading.ThreadPool +[04:02:14][Step 1/1] 00:00:08.0290000 +[04:02:14][Step 1/1] Helios.Concurrency.DedicatedThreadPool +[04:02:41][Step 1/1] 00:00:04.5240000 +``` + ## License See [LICENSE](LICENSE) for details.