ballerina-lang
ballerina-lang copied to clipboard
[Bug]:Load test throughput is lower in 2201.9.0 RC1 compare to test pack
Description
For the below service
import ballerina/http;
import ballerina/lang.value;
service /wso2 on new http:Listener(9092) {
resource function post stringDataDataBind(http:Request req) returns json|error? {
// Get string get xml payload, then to record type and return record value.
string xmlStr = check req.getTextPayload();
record {|json...;|} val = check value:fromJsonStringWithType(xmlStr);
return val;
}
}
Test pack
| Users | 20 | time (sec) | 300 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Label | # Samples | Average | Median | 90% Line | 95% Line | 99% Line | Min | Max | Error % | Throughput | Received KB/sec | Std. Dev. |
| HTTP Request | 278902 | 18 | 3 | 22 | 48 | 252 | 2 | 9214 | 0.00% | 929.7 | 58215.3 | 119.75 |
| TOTAL | 278902 | 18 | 3 | 22 | 48 | 252 | 2 | 9214 | 0.00% | 929.7 | 58215.3 | 119.75 |
RC 1 Pack
| Users | 20 | time (sec) | 300 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Label | # Samples | Average | Median | 90% Line | 95% Line | 99% Line | Min | Max | Error % | Throughput | Received KB/sec | Std. Dev. |
| HTTP Request | 204930 | 24 | 5 | 12 | 26 | 246 | 4 | 46923 | 0.00% | 683.1 | 42773.9 | 349.59 |
| TOTAL | 204930 | 24 | 5 | 12 | 26 | 246 | 4 | 46923 | 0.00% | 683.1 | 42773.9 | 349.59 |
2201.8.6
| Users | 20 | time (sec) | 300 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Label | # Samples | Average | Median | 90% Line | 95% Line | 99% Line | Min | Max | Error % | Throughput | Received KB/sec | Std. Dev. |
| HTTP Request | 131029 | 38 | 9 | 14 | 38 | 193 | 7 | 60010 | 0.01% | 436.8 | 27346.7 | 842.17 |
| TOTAL | 131029 | 38 | 9 | 14 | 38 | 193 | 7 | 60010 | 0.01% | 436.8 | 27346.7 | 842.17 |
JSON Payload : large_data.json
Steps to Reproduce
No response
Affected Version(s)
2201.9.0 RC1
OS, DB, other environment details and versions
No response
Related area
-> Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response