benglerpebbles/kcuts — Issue #7: SQL benchmarking
Author: MrTime
Created: 2012-01-18 15:39:06+00:00
State: open

As I understand we will use ActiveRecord for SQL benchmarking

Do we need benchmark executing SQL queries with ActiveRecord work or without?

we need

Benchmark.measure { connection.execure("select *......") }

or

Benchmark.measure { ActiveRecord::Base.find_by_sql("select ....") }