Uh oh!
There was an error while loading. Please reload this page.
sqlite: expose prepared statement statistics - #64541
Conversation
nodejs-github-bot
commented
Jul 16, 2026
Review requested:
|
f5e8fcb to
2195e97Comparebakkot
commented
Jul 16, 2026
I'm a little uncomfortable with getters that create an object every time they're read. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #64541 +/- ##
==========================================
- Coverage 90.30% 90.30% -0.01%
==========================================
Files 751 751 Lines 249116 249152 +36 Branches 47043 47065 +22 ==========================================
+ Hits 224974 224986 +12 - Misses 15509 15556 +47 + Partials 8633 8610 -23
🚀 New features to boost your workflow:
|
bbbbeec to
bef2511CompareUh oh!
There was an error while loading. Please reload this page.
bef2511 to
fd5654cComparegeeksilva97
commented
Jul 23, 2026
Please @nodejs/sqlite , share your thoughts |
araujogui
left a comment
There was a problem hiding this comment.
Another method to reset stats would be nice to have
| {"reprepare", SQLITE_STMTSTATUS_REPREPARE}, | ||
| {"run", SQLITE_STMTSTATUS_RUN}, | ||
| {"filterMiss", SQLITE_STMTSTATUS_FILTER_MISS}, | ||
| {"filterHit", SQLITE_STMTSTATUS_FILTER_HIT}, |
There was a problem hiding this comment.
SQLITE_STMTSTATUS_FILTER_MISS and SQLITE_STMTSTATUS_FILTER_HIT was introduced in SQLite 3.38.0.
3.37.2: https://github.com/sqlite/sqlite/blob/version-3.37.2/src/sqlite.h.in
3.38.0: https://github.com/sqlite/sqlite/blob/version-3.38.0/src/sqlite.h.in
There was a problem hiding this comment.
So maybe we need to enforce a minimum SQLite version on --shared-sqlite
There was a problem hiding this comment.
What do u suggest? A CHECK or something?
There was a problem hiding this comment.
I added some ifdefs. Let's see what the team says
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fd5654c to
b0a266eComparegeeksilva97
commented
Aug 11, 2026
Please @araujogui . Let me know if you have any other concerns |
trivikr
left a comment
There was a problem hiding this comment.
Verified against a rebuilt PR head. One issue is a reproducible native crash; the other comments correct the documented SQLite semantics.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: geeksilva97 <edigleyssonsilva@gmail.com>
Signed-off-by: geeksilva97 <edigleyssonsilva@gmail.com>
Signed-off-by: geeksilva97 <edigleyssonsilva@gmail.com>
Signed-off-by: geeksilva97 <edigleyssonsilva@gmail.com>
Signed-off-by: geeksilva97 <edigleyssonsilva@gmail.com>
Signed-off-by: geeksilva97 <edigleyssonsilva@gmail.com>
Signed-off-by: geeksilva97 <edigleyssonsilva@gmail.com>
46d8994 to
7d21604Comparenodejs-github-bot
commented
Aug 13, 2026
nodejs-github-bot
commented
Aug 13, 2026
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Aug 13, 2026
Landed in f46e96f |
Signed-off-by: geeksilva97 <edigleyssonsilva@gmail.com> PR-URL: #64541 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Signed-off-by: geeksilva97 <edigleyssonsilva@gmail.com> PR-URL: #64541 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Closes#64540