### Deploy Cold Start Lambda Functions Source: https://github.com/aws/aws-sdk-net/blob/main/sdk/test/Performance/LambdaBenchmarks/README.md Use this PowerShell script to deploy the necessary Lambda functions for cold start benchmarks. Ensure you are in the LambdaBenchmarks directory. ```powershell # From the LambdaBenchmarks directory . \Deploy-LambdaColdStart.ps1 -Region us-east-1 ``` -------------------------------- ### Run Cold Start Benchmarks Source: https://github.com/aws/aws-sdk-net/blob/main/sdk/test/Performance/LambdaBenchmarks/README.md Execute cold start benchmarks using the dotnet CLI. The --filter argument limits the run to benchmarks containing 'ColdStart'. ```bash # Run only cold start benchmarks dotnet run -c Release --project LambdaBenchmarksRunner/LambdaBenchmarksRunner.csproj -- --filter *ColdStart* ``` -------------------------------- ### ElastiCache Code Examples Source: https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md Adds new code examples for ElastiCache. ```text Adds new code examples. ``` -------------------------------- ### Manual Resource Setup Scripts Source: https://github.com/aws/aws-sdk-net/blob/main/sdk/test/Performance/EC2PerformanceBenchmarks/README.md Optional PowerShell scripts to manually create and clean up DynamoDB tables and S3 Express One Zone buckets for benchmarks. These are useful if you prefer to manage resources outside the automated benchmark setup. ```powershell # Create resources manually (optional) .\Setup-DynamoDBTable.ps1 -TableName my-table -Region us-east-1 .\Setup-S3ExpressBucket.ps1 -BucketName my-team-benchmark--use1-az4--x-s3 -Region us-east-1 # Cleanup (optional, only needed if using pre-created resources) .\Cleanup-DynamoDBTable.ps1 -TableName my-table -Region us-east-1 .\Cleanup-S3ExpressBucket.ps1 -BucketName my-team-benchmark--use1-az4--x-s3 -Region us-east-1 ``` -------------------------------- ### Build and Run Benchmarks Source: https://github.com/aws/aws-sdk-net/blob/main/sdk/test/Performance/CborPerformanceBenchmarks/README.md After preparing the services, navigate to the benchmark runner directory, build the project in release configuration, and then run the benchmarks using the dotnet CLI. ```bash cd CborPerformanceBenchmarksRunner/ dotnet build --configuration Release dotnet run -c Release ``` -------------------------------- ### Build and Run Tests Source: https://github.com/aws/aws-sdk-net/blob/main/sdk/test/CompatibilityTests/README.md Build the project to automatically download necessary DLLs if they are missing, then run the tests. ```bash # Build (will auto-download DLLs if needed) dotnet build # Run tests dotnet test ```