Content-Length: 256091 | pFad | https://redirect.github.com/nodejs/node/commit/d77c7073b7

35 sqlite: disable memstatus APIs at build time · nodejs/node@d77c707 · GitHub
Skip to content

Commit d77c707

Browse files
cjihrigaduh95
authored andcommitted
sqlite: disable memstatus APIs at build time
This commit defines SQLITE_DEFAULT_MEMSTATUS=0 for the SQLite build. This setting disables several currently unused C APIs in SQLite, which can yield noticeable performance improvements. This setting is also used by better-sqlite, and is one of the recommended compile-time options in the SQLite docs. The disabled APIs are used to report statistics about SQLite's memory usage. The drawback to this change is that those APIs could possibly be useful one day. Refs: https://sqlite.org/compile.html PR-URL: #56541 Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent ed1785d commit d77c707

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deps/sqlite/sqlite.gyp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
1414
},
1515
'defines': [
16+
'SQLITE_DEFAULT_MEMSTATUS=0',
1617
'SQLITE_ENABLE_MATH_FUNCTIONS',
1718
'SQLITE_ENABLE_SESSION',
1819
'SQLITE_ENABLE_PREUPDATE_HOOK'

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://redirect.github.com/nodejs/node/commit/d77c7073b7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy