We try to insert the rows directly from the Rust software. Sadly at a massive
perf cost :(
real 2m14,645s
user 1m1,134s
sys 1m15,060s
We seem to be CPU-bound during the DB generation. I tried disabling the
insert journal *and* the sync pragma. I have several hypothesis
explaining this slowdown:
1. The pragmas are getting incorrectly set.
2. I'm missing some necessary pragmas.
To move forward, I think I should check what kind of pragma the native
CSV sqlite import uses and somehow dump all the active pragmas
somewhere.