-
-
Notifications
You must be signed in to change notification settings - Fork 375
Closed
Labels
Description
I am experiencing a significant performance issue with the AWS SDK for PHP when running on Bref PHP 8.1 and subsequent versions. Specifically, I have observed that accessing AWS with the SDK is approximately three times slower as compared to Bref PHP 8.0.
To further analyze this, I conducted the same processes on an EC2 instance and found no noticeable performance difference between them. The version of the AWS SDK for PHP I am using is 3.269.9.
Moreover, I conducted a test measuring the time it took to execute 100 queries on DynamoDB. Here are the results:
| Environment | Specification | Elapsed |
|---|---|---|
| EC2 PHP 8.0.28 | c5.large | 7.5 sec |
| EC2 PHP 8.1.18 | c5.large | 7.5 sec |
| EC2 PHP 8.2.5 | c5.large | 7.5 sec |
| Bref PHP 8.0.28 (php-80:44) | Memory: 1024 MB | 4 sec |
| Bref PHP 8.1.18 (php-81:43) | Memory: 1024 MB | 11 sec |
| Bref PHP 8.2.5 (php-82:33) | Memory: 1024 MB | 11 sec |
Reactions are currently unavailable