I am using QWebFrame to parse data in my program. So my prog is continuously loading web pages for a minute or two. And it gives me high cpu usage (50~100%). And thus my interface is slow during this process. How could I solve this ?
Thanks
Printable View
I am using QWebFrame to parse data in my program. So my prog is continuously loading web pages for a minute or two. And it gives me high cpu usage (50~100%). And thus my interface is slow during this process. How could I solve this ?
Thanks
Well, with your provided informations I would say: optimize your parse function or use threads for that. So your application doesn't block.
Parsing is instantaneous. If I remove parsing and only load the pages it gets stuck. I will have a look to the threads.
Thanks