Skip to content

Instantly share code, notes, and snippets.

View irensaltali's full-sized avatar
:octocat:
I may be slow to respond.

İren SALTALI irensaltali

:octocat:
I may be slow to respond.
View GitHub Profile
@irensaltali
irensaltali / Function.cs
Created December 7, 2020 14:18
Lambda Container Image Benchmark Funstion
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++)
{
@irensaltali
irensaltali / 1024MB.txt
Last active December 9, 2020 12:40
wrkResults
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 / functionSizes.csv
Created December 9, 2020 20:18
Functions Sizes
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 -