I have method which looks like this:
[HttpPost]
public async Task<ActionResult> ConvertWav(int id)
{
using (var c = new DbEntities())
{
var converter = new FFMpegConverter();
//code which converting some files from the path which the take from the DB
//and put it in the local directory
}
}
It's simple ASP.NET web application, which converting files by id from the table in DB. The table also has "dest_path" and "input_path" fields. Table contains just a path to local files. For example D:/example/file.mp3
But when it start converting, % of CPU time which converter using is very tiny. Less that 0,1% of all capability. When I starting a few converter operations (sending a few requests), it becomes even less.
I tried using Web Garden but had the same result. How can I increase CPU usage for my requests? Full code: https://codeshare.io/7XMec