Created
July 20, 2017 15:40
-
-
Save LiSongMWO/17f2735d22636cb3a4b275387cabacad to your computer and use it in GitHub Desktop.
Benchmark results for different thread pool types.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
========================================= | |
Benchmark with random task execution time | |
========================================= | |
Single queue thread pool: 2082 ms | |
Multi queue thread pool: 2220 ms | |
Work stealing queue thread pool: 11036 ms | |
Boost asio based thread pool: 2174 ms | |
========================================= | |
Benchmark with empty task | |
========================================= | |
Single queue thread pool: 124 ms | |
Multi queue thread pool: 107 ms | |
Work stealing queue thread pool: 480 ms | |
Boost asio based thread pool: 134 ms | |
========================================= | |
Benchmark with light weight data | |
========================================= | |
Single queue thread pool: 123 ms | |
Multi queue thread pool: 107 ms | |
Work stealing queue thread pool: 494 ms | |
Boost asio based thread pool: 130 ms | |
========================================= | |
Benchmark with heavy data | |
========================================= | |
Single queue thread pool: 131 ms | |
Multi queue thread pool: 107 ms | |
Work stealing queue thread pool: 500 ms | |
Boost asio based thread pool: 134 ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment