hmm, interesting
somehow fixed-thread-executor
is not working as expected
i.e. as java.util.concurrent.Executors/newFixedThreadPool
@hansen-pansen try (e/fixed-thread-executor num {:control-period 100})
your test duration coincided with the default control period of the executor
that’s how often the instrumented executor will adjust the number of workers in the pool
there’s also :initial-thread-count
parameter
Thank you very much! I'll give it a try and will also check with a snapshot build of manifold
, in case this has been fixed.
@dm3 Again, thank you very much! Both :control-period
and :initial-thread-count
showed the expected behavior. I settled for :initial-thread-count
, as this is more consistent of what I would expect from a fixed thread pool.
As a side note, [manifold "0.1.7-alpha5"]
behaves like 0.1.6.
I don’t think it should be fixed
you might create a PR with enhanced docs though
although
maybe fixed
executor should have initial thread = num-threads from the start
hia
Im having trouble using d/zip
with `d/chain