I downloaded the drawing and the code.
Haven't looked at the code.
The times shown on the 'reasonably shaped' profiles is faster than I'd expected.
The times for the complex profiles is still pretty good, in my opinion.
Just how fast should these profiles be solved, in your expectation ?
The average breathing rate for healthy humans is between 12 and 20 breaths per minute
At a mean of 16 that is 3,750 milliseconds per breath.
If a program takes 3 breaths is it slow or is the problem data complicated ?
If it performs 7 times in one breath, is the program fast or is the problem data simple ?
If it fails, does the speed matter ?
Regards,