lifadev / archive_aws-lambda-go-shim

Author your AWS Lambda functions in Go, effectively.
https://github.com/eawsy/aws-lambda-go-shim
Apache License 2.0
789 stars 66 forks source link

How the shim performs regarding to the official Go runtime? #53

Open immesys opened 6 years ago

immesys commented 6 years ago

I am interested in knowing the speed difference between this (which I have been using) and the new "official" lambda go SDK.

fsenart commented 6 years ago

For sure. Will publish it in the coming days ;)

lion3ls commented 6 years ago

Hi there,

Here are the actual performance of the official runtime:

128mb go
========
Min         0.49
10th pct    0.76
50th pct    10.56
90th pct    17.292
95th pct    18.511
99th pct    19.95
Max         811.83
Mean        11.39076
Std Dev     35.8591147022

512mb go
========
Min         0.47
10th pct    0.7
50th pct    0.81
90th pct    0.93
95th pct    0.97
99th pct    1.1201
Max         184.94
Mean        1.21575
Std Dev     8.22770380103

Without surprise the official Go runtime is faster than our shim :wink:

immesys commented 6 years ago

Thanks!