Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare coldstart times and function size #247

Open
reconbot opened this issue Jun 7, 2017 · 5 comments
Open

Compare coldstart times and function size #247

reconbot opened this issue Jun 7, 2017 · 5 comments

Comments

@reconbot
Copy link
Contributor

reconbot commented Jun 7, 2017

Let's see how much of an issue this currently is. If we're lucky there's a lower bound of 1-100 mb where it doesn't matter anymore.

@reconbot
Copy link
Contributor Author

reconbot commented Jun 7, 2017

Also maybe do load tests, what's a cold start look like at 100 events/second?

@reconbot reconbot changed the title Compare coldstart times and on function size Compare coldstart times and function size Jun 7, 2017
@chris-olszewski
Copy link
Contributor

chris-olszewski commented Jun 30, 2017

Just some initial results of performing 10 requests spread over the course of 2 min.

Bundle size Min Avg Max
223 B 0 1 2
223 B 2 6 12
1.74 MB 0 25 110
2.95 MB 1 40 71
2.95 MB 1 51 97
5.57 MB 14 4952 10k
5.57 MB 7371 7716 9522

@reconbot
Copy link
Contributor Author

reconbot commented Jul 5, 2017 via email

@chris-olszewski
Copy link
Contributor

chris-olszewski commented Jul 5, 2017

Some tests regarding package size, no additional loading of code, but just adding bytes to lambda packages.

Package (unzipped) size Min Avg Max
2.8 KB 0 2 11
51 MB 0 7 50
104 MB 0 10 40
247 MB 0 14 37
247 MB* 0 16 79
  • Indicates load test of 200+

Bundle sizes were increased with very basic functions. No funky stuff going on during code loading. All of these tests were done with 100 function invocations

Bundle size Min Avg Max
5 MB 0 11 94
8 MB 0 7 51
18 MB 0 22 99

@reconbot
Copy link
Contributor Author

reconbot commented Jul 5, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants