Skip to content

Commit

Permalink
added benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Mar 18, 2015
1 parent cc14527 commit f5084e3
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f5084e3

Please sign in to comment.