lambda-perf icon indicating copy to clipboard operation
lambda-perf copied to clipboard

AWSLabs PowerShell Custom Runtime

Open sean-r-williams opened this issue 6 months ago • 1 comments

It would be great if AWSLabs' PowerShell Custom Runtime were added to the performance comparisons.

PowerShell in Lambda has two options:

  • The .NET runtime (via the AWSLambdaPSCore module), which has no cold-start support (only single-file handler scripts)
  • The PowerShell Custom Runtime, linked above, which implements the Lambda Runtime event-loop itself using a full build of the PowerShell runtime for Linux.

I'd be happy to submit a PR with a little more guidance on how to contribute new runtime variants. Some specific areas of uncertainty I had are:

  • For all build types, what portions of this repo need to be updated? The only areas I noticed were:
    • s3-uploader/runtimes, which appears to have folders per variant with build scripts
    • manifest.json, which references the runtime definition above
  • For layer/ZIPped Lambdas, how are layers being built/deployed? The only layer function I see is one for Bun - it's not clear if this runtime is being built/deployed outside the scope of what's in this repo.

sean-r-williams avatar Aug 28 '24 09:08 sean-r-williams