Why is SQLAlchemy insert with sqlite 25 times slower than using sqlite3 directly?
Why is this simple test case inserting 100,000 rows 25 times slower with SQLAlchemy than it is using the sqlite3 driver directly? I have seen similar slowdowns in real-world applications. Am I doing something wrong?