SQLite Forum

SQLIGHT performance
Your bottleneck might be at the storage level. Does your process write to external SDcard? You could try to run it on 'internal'/system storage if there's such, usually it's faster.

I'd try to do the whole thing on a normal PC system, to rule out possible side-effects of mobile target environment. You get better tooling too for further diagnostics.