core: run perf on worker threads using Spate for the application

Link: https://github.com/GeneAssembly/biosal/issues/730
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>