Archive for the ‘C++’ Category

Announcement: cppbench released!

While working on the sqlite benchmarks, I ended up writing a lightweight C++ benchmark framework to make the task easier.  I thought other people might find it useful too.  Then to prepare it for other people to use I wrote documentation and did some cleanup. Some of the features include: Simplified BSD License High fidelity […]

Posted on December 22, 2010 at 10:30 am by Joe · Permalink · One Comment
In: Announcement, C++ · Tagged with: , ,

Some SQLite 3.7 Benchmarks

Since I wrote the benchmarks for insertions in my last post, SQLite 3.7 has been released. I figured it’d be interesting to see if 3.7 changed the situation at all. Prepared Statements The specific versions compared here are and 3.7.3.  I ran the prepared statements benchmark as is without changing any source code.  Both […]

Posted on October 14, 2010 at 9:00 am by Joe · Permalink · 4 Comments
In: C++ · Tagged with: ,

Fast Bulk Inserts into SQLite

Background Sometimes it’s necessary to get information into a database quickly. SQLite is a light weight database engine that can be easily embedded in applications. This will cover the process of optimizing bulk inserts into an SQLite database. While this article focuses on SQLite some of the techniques shown here will apply to other databases. […]

Posted on August 10, 2010 at 10:11 am by Joe · Permalink · 17 Comments
In: C++ · Tagged with: , ,