I wrote an application that uses scala parallel collections and akka actors, and I would now like to study its "strong scaling" properties, i.e. how the running time for a given problem instance changes, as a function of the number of cores/threads available.
What would be a proper way of going about this? How can I tell the application to use only up to n cores/threads?