Skip to content

Commit

Permalink
test: increase memory consumption
Browse files Browse the repository at this point in the history
  • Loading branch information
develop7 committed Nov 27, 2024
1 parent b265b81 commit d821d86
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/memory/memory-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,20 @@ postJsonArrayTest(){
echo "Running memory usage tests.."

jsonKeyTest "1M" "POST" "/rpc/leak?columns=blob" "27M"
jsonKeyTest "1M" "POST" "/leak?columns=blob" "21M"
jsonKeyTest "1M" "PATCH" "/leak?id=eq.1&columns=blob" "21M"
jsonKeyTest "1M" "POST" "/leak?columns=blob" "24M"
jsonKeyTest "1M" "PATCH" "/leak?id=eq.1&columns=blob" "24M"

jsonKeyTest "10M" "POST" "/rpc/leak?columns=blob" "32M"
jsonKeyTest "10M" "POST" "/leak?columns=blob" "32M"
jsonKeyTest "10M" "PATCH" "/leak?id=eq.1&columns=blob" "32M"
jsonKeyTest "10M" "POST" "/rpc/leak?columns=blob" "33M"
jsonKeyTest "10M" "POST" "/leak?columns=blob" "33M"
jsonKeyTest "10M" "PATCH" "/leak?id=eq.1&columns=blob" "33M"

jsonKeyTest "50M" "POST" "/rpc/leak?columns=blob" "72M"
jsonKeyTest "50M" "POST" "/leak?columns=blob" "72M"
jsonKeyTest "50M" "PATCH" "/leak?id=eq.1&columns=blob" "72M"
jsonKeyTest "50M" "POST" "/rpc/leak?columns=blob" "75M"
jsonKeyTest "50M" "POST" "/leak?columns=blob" "75M"
jsonKeyTest "50M" "PATCH" "/leak?id=eq.1&columns=blob" "75M"

postJsonArrayTest "1000" "/perf_articles?columns=id,body" "20M"
postJsonArrayTest "10000" "/perf_articles?columns=id,body" "20M"
postJsonArrayTest "100000" "/perf_articles?columns=id,body" "24M"
postJsonArrayTest "1000" "/perf_articles?columns=id,body" "23M"
postJsonArrayTest "10000" "/perf_articles?columns=id,body" "23M"
postJsonArrayTest "100000" "/perf_articles?columns=id,body" "26M"

trap - int term exit

Expand Down

0 comments on commit d821d86

Please sign in to comment.