You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Hydrator reads deeper into the tweet id file it consumes more of the CPU. After doing 3 million or so it uses 50% of the CPU on my MacBook Air (1.8 GHz Intel Core i5).
I think this is because for every API request readTweetIds reads the first n lines of the file to get the next 100. Ideally there would be an open filehandle that would be read from rather than having to constantly open/re-open the file.
The text was updated successfully, but these errors were encountered:
As Hydrator reads deeper into the tweet id file it consumes more of the CPU. After doing 3 million or so it uses 50% of the CPU on my MacBook Air (1.8 GHz Intel Core i5).
I think this is because for every API request readTweetIds reads the first n lines of the file to get the next 100. Ideally there would be an open filehandle that would be read from rather than having to constantly open/re-open the file.
The text was updated successfully, but these errors were encountered: