OurBigBook
This tends to be better for benchmarking than DEBUG sql:
OURBIGBOOK_LOG_DB=1 npm run dev
which produces output of type:
Executed (default): SELECT 1+1 AS result Elapsed time: 0ms
so we get explicit elapsed time measurements rather than deltas, and without the corresponding Executing marker.
This method uses Sequelize's benchamrk: true option as per: stackoverflow.com/questions/52260934/how-to-measure-query-execution-time-in-seqilize.

Ancestors

  1. Log database queries
  2. OurBigBook Web development
  3. OurBigBook Web
  4. OurBigBook Project