Commit 283c52a3 authored by Hunter Loftis's avatar Hunter Loftis

test and implementation for new 14GB Performance-L dynos

parent b4921004
...@@ -20,10 +20,10 @@ detect_memory() { ...@@ -20,10 +20,10 @@ detect_memory() {
local limit=$(ulimit -u) local limit=$(ulimit -u)
case $limit in case $limit in
256) echo "512";; # Standard-1X 256) echo "512";; # Standard-1X
512) echo "1024";; # Standard-2X 512) echo "1024";; # Standard-2X
16384) echo "2560";; # Performance-M 16384) echo "2560";; # Performance-M
32768) echo "6144";; # Performance-L 32768) echo "14336";; # Performance-L
*) echo "$default";; *) echo "$default";;
esac esac
} }
......
...@@ -39,11 +39,11 @@ testConcurrencyPerformanceM() { ...@@ -39,11 +39,11 @@ testConcurrencyPerformanceM() {
assertCapturedSuccess assertCapturedSuccess
} }
testConcurrencyPX() { testConcurrencyPerformanceL() {
LOG_CONCURRENCY=true MEMORY_AVAILABLE=6144 capture $(pwd)/profile/nodejs.sh LOG_CONCURRENCY=true MEMORY_AVAILABLE=14336 capture $(pwd)/profile/nodejs.sh
assertCaptured "Detected 6144 MB available memory, 512 MB limit per process (WEB_MEMORY)" assertCaptured "Detected 14336 MB available memory, 512 MB limit per process (WEB_MEMORY)"
assertCaptured "Recommending WEB_CONCURRENCY=12" assertCaptured "Recommending WEB_CONCURRENCY=28"
assertCapturedSuccess assertCapturedSuccess
} }
testConcurrencyCustomLimit() { testConcurrencyCustomLimit() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment