Added timing for generation and offer SQL queries