Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
I may be slow to respond.

İren SALTALI irensaltali

:octocat:
I may be slow to respond.
View GitHub Profile
View functionSizes.csv
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 -
View 1024MB.txt
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
@irensaltali
irensaltali / Function.cs
Created Dec 7, 2020
Lambda Container Image Benchmark Funstion
View Function.cs
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++)
{