measure time spent for SQLite.
prepare statement.