Closed ryzr closed 9 years ago
Worth noting, adding a micro sleep in the loop usleep(100);
normalized CPU usage to around 10%, for many different sized CSVs. The higher the sleep interval, the lesser the CPU usage.
Hi @ryzr sorry But I fail to reproduce this behavior on my personal laptop or on a remote server must be a configuration problem outside of the package scope
Given the following code:
Memory consumption is fine, achieving everything perfectly. However I see a higher CPU usage when using larger files. In a local environment:
38.8kb CSV -> Apache process reaches ~9% CPU 5.86MB CSV -> Apache process reaches ~45% CPU
Just wanting to know: