perf: add dynamic thread pool to continuous benchmark