Description[sql] Stats gathering for sql/ APIs.
Generate stats for how many SQL statements are executed, how many
results they return, and how many changes they make. Generate timing
values for how long is spent doing all queries, doing updating
operations, doing autocommit updates, and commiting transactions.
The goal of these metrics is to quantify results of decisions like
enabling write-ahead log or memory-mapped I/O.
BUG=489788, 489444
Committed: https://crrev.com/58b8df8572e25ff91b3073213651aed4ebd675b5
Cr-Commit-Position: refs/heads/master@{#332503}
Patch Set 1 #Patch Set 2 : Fix build breaks. BUILD.gn needs to follow sql.gyp, tracker had histogram tag set after open, EVEN… #
Total comments: 22
Patch Set 3 : in-memory for timing, fix int mismatch for windows #
Total comments: 3
Patch Set 4 : GetMediumTimeHistogram() helper, Record prefix for helpers, comment tweaks, StepInternal(), only ti… #Patch Set 5 : Add mockable time source. Then mock it mercilessly. #
Total comments: 4
Patch Set 6 : Break up tests into smaller bits. #
Total comments: 6
Patch Set 7 : asvitkine nits. #
Messages
Total messages: 22 (6 generated)
|