I have also tried following:
parser._interp.predictionMode = PredictionMode.SLL
It has some effect on the performance. But still after setting Prediction mode to SLL, the response time is around 3.5 min. Is there any other way to improve performance for python2 parser?