Is it my code that is slow?
6/18
How does the application perform?
Understand your code, application and execution paths
$ vmstat 1
wa
it is > 10 ➔ IO is the bottleneck.