lagonapp / lagon

Deploy Serverless Functions at the Edge. Current status: Alpha
https://lagon.app
GNU Affero General Public License v3.0
1.33k stars 62 forks source link

perf(serverless): reduce `clone()`ing #977

Closed QuiiBz closed 1 year ago

QuiiBz commented 1 year ago

About

Reduce clone()ing inside serverless' request handler and replace the handle_response signature with a FnOnce (instead of Fn)

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 9cfe005d944c4f973a2d38d732de24faf94fecfb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------- | ----- | | @lagon/serverless | Patch |

Not sure what this means? Click here to learn what changesets are.

[Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/lagonapp/lagon/new/perf/serverless-less-cloning?filename=.changeset/eighty-kings-hunt.md&value=---%0A%22%40lagon%2Fcli%22%3A%20patch%0A%22%40lagon%2Fruntime%22%3A%20patch%0A%22%40lagon%2Fserverless%22%3A%20patch%0A%22%40lagon%2Fruntime-utils%22%3A%20patch%0A---%0A%0Aperf(serverless)%3A%20reduce%20%60clone()%60ing%0A)

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dashboard ✅ Ready (Inspect) Visit Preview Jun 20, 2023 3:57pm
docs ✅ Ready (Inspect) Visit Preview Jun 20, 2023 3:57pm
storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2023 3:57pm
www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2023 3:57pm