Closed brendan-ward closed 8 years ago
This may be related to the sqlite3 inserts. Try wrapping all your inserts in a transaction: http://stackoverflow.com/questions/3852068/sqlite-insert-very-slow
Thanks for the hint @nikmolnar !! It went from hours to a little over a minute when I changed the transaction / journalling settings on the DB.
TODO: look into using a generator w/ executemany
as per example here
Processing is taking unexpectedly long for a 300 MB file, given that we are mostly just moving bytes around.
Need to profile to determine where we are losing time.