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

test and implementation for new 14GB Performance-L dynos

parent b4921004
......@@ -23,7 +23,7 @@ detect_memory() {
256) echo "512";; # Standard-1X
512) echo "1024";; # Standard-2X
16384) echo "2560";; # Performance-M
32768) echo "6144";; # Performance-L
32768) echo "14336";; # Performance-L
*) echo "$default";;
esac
}
......
......@@ -39,10 +39,10 @@ testConcurrencyPerformanceM() {
assertCapturedSuccess
}
testConcurrencyPX() {
LOG_CONCURRENCY=true MEMORY_AVAILABLE=6144 capture $(pwd)/profile/nodejs.sh
assertCaptured "Detected 6144 MB available memory, 512 MB limit per process (WEB_MEMORY)"
assertCaptured "Recommending WEB_CONCURRENCY=12"
testConcurrencyPerformanceL() {
LOG_CONCURRENCY=true MEMORY_AVAILABLE=14336 capture $(pwd)/profile/nodejs.sh
assertCaptured "Detected 14336 MB available memory, 512 MB limit per process (WEB_MEMORY)"
assertCaptured "Recommending WEB_CONCURRENCY=28"
assertCapturedSuccess
}
......
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