This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Framework | Container Size | Function Size | |
---|---|---|---|
.NET Core 2.1 | 360.63 MB | 231.7 kB | |
.NET Core 3.1 | 205.26 MB | 41.8 kB | |
.NET 5 | 144.80 MB | - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running 5m test @ https://XXXXXXXXXX.execute-api.eu-central-1.amazonaws.com/5 | |
2 threads and 10 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 243.41ms 55.26ms 1.73s 96.34% | |
Req/Sec 20.74 8.92 40.00 41.27% | |
Latency Distribution | |
50% 232.85ms | |
75% 256.22ms | |
90% 270.98ms | |
99% 326.13ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public APIGatewayProxyResponse FunctionHandler(APIGatewayProxyRequest input, ILambdaContext context) | |
{ | |
var s = new SortedSet<int>(); | |
for (int n = 0; n < 100_000; n++) | |
{ | |
s.Add(n); | |
} | |
for (int i = 0; i < 10_000_000; i++) | |
{ |