node-redis
node-redis copied to clipboard
Reduce lib load
Motivation
Importing redis noticeable affects startup time in node and typechecking performance in vs code. Root cause are all the small command-files that need to be loaded by node and typescript. This can be fixed by bundling all the small command files into one command bundle, both js and d.ts files.
By patching local system I reduced node startup time from 250ms to 150ms and vs-code is responsive again.
Basic Code Example
No response