Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use Intel TBB to reuse created thread #23

Open
yumetodo opened this issue Jul 8, 2017 · 1 comment
Open

use Intel TBB to reuse created thread #23

yumetodo opened this issue Jul 8, 2017 · 1 comment

Comments

@yumetodo
Copy link
Owner

yumetodo commented Jul 8, 2017

The cost of creating/destroying thread is expensive. To pool and reuse created thread, we should use Intel TBB instead of using std::thread

@yumetodo
Copy link
Owner Author

yumetodo commented Jul 8, 2017

decontrast

Y mode

with TBB current
image size 960x720 960x720
convert mode Y Y
midtone 50 50
strength 5 5
N 1,861 2,314
max 2,735,922 33,015,951
min 403,169 1,986,473
avg 518,912.0918861 2,614,866.3962835
stdev 194,652.8996141 1,064,698.0157407
se 4,512.1932440 22,133.2284868
95%CI 8,843.7363193 43,380.3310380
95%CI.max 527,755.8282054 2,658,246.7273215
95%CI.min 510,068.3555668 2,571,486.0652455

RGB mode

with TBB current
image size 960x720 960x720
convert mode RGB RGB
midtone 50 50
strength 5 5
N 2,490 2,101
max 17,504,768 36,662,095
min 6,103,186 7,983,920
avg 6,586,649.7883534 10,152,671.9019515
stdev 567,898.1502624 3,225,259.8054170
se 11,380.7473070 70,364.1876361
95%CI 22,305.8550148 137,911.2746559
95%CI.max 6,608,955.6433682 10,290,583.1766074
95%CI.min 6,564,343.9333386 10,014,760.6272955

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant