- Repeating single query
- QSqlQuery: 10000ms
- SOCI: 2500ms
- Prepared statement
- QSqlQuery: 7000ms
- SOCI: 750ms(?!)
A blog from a software developer who didn't get any formal training or education at all. :P
Monday, January 16, 2017
QSqlQuery vs. SOCI: inserting 1000 times
Recently I'm using QtWebApp to develop an application, and I did some performance benchmark to select a database library in the backend. I selected QSqlQuery and SOCI as candidates, and tried to insert 10,000 rows at once. The result is as follows:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment