#68 CQuery: invalid use ForkJoinPool.commonPool

Stängd
öppnade 4 år sedan av ranides · 1 kommentarer
ranides kommenterad 4 år sedan
  1. some work should be done in caller thread
  2. if we use commonPool, we should split work more than just to number of threads
  3. best option, not use commonPool at all

  4. please note, that manual implementation (even after 1,2 fixes) is two times slower than JDK parallel stream

1. some work should be done in caller thread 2. if we use commonPool, we should split work more than just to number of threads 3. best option, not use commonPool at all 4. please note, that manual implementation (even after 1,2 fixes) is two times slower than JDK parallel stream
ranides kommenterad 4 år sedan
Ägare

Benchmark shows something around 20% slower than builtins, which is acceptable

Benchmark shows something around 20% slower than builtins, which is acceptable
ranides refererade till detta ärende från en incheckning 4 år sedan
ranides refererade till detta ärende från en incheckning 4 år sedan
Logga in för att delta i denna konversation.
Ingen Milsten
Ingen förvärvare
1 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.