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
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
Last edited by Guilo; 3rd February 2010 at 21:40.
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
Last edited by Guilo; 4th February 2010 at 17:37.
Bookmarks