Hi Anirudhh,
You can choose the format of the data the curve?
returns. If you set it to return 1 byte per point in an integer format then it should be fast (depends on your connection of course), other modes like ASCII and floating point can take significantly longer.
If you configure it properly it should not take anywhere close to 1 minute for 1Mpts.