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