I have a task to crawl 100000 URLs and save data in excel sheet & store images in seprate directories, I have written script using Simple HTML DOM and PHP Excel, it processes 4-URLs in 1 minutes approx but become slow gradually as time passes more & more.
I want to make it more faster. I am using OOP approach and have divided different child process into small functions that also helps me to keep variable free of memory. I am using local resources XAMPP on Windows.
Please let me know how to speedup execution to do more & more in less time.
Thanks.