diff --git a/nvm.sh b/nvm.sh index 05a0bd1..5ad3578 100755 --- a/nvm.sh +++ b/nvm.sh @@ -1347,6 +1347,8 @@ nvm() { return 8 fi + # This nvm_ensure_version_installed call can be a performance bottleneck + # on shell startup. Perhaps we can optimize it away or make it faster. nvm_ensure_version_installed "$PROVIDED_VERSION" EXIT_CODE=$? if [ "$EXIT_CODE" != "0" ]; then