chrisdutz commented on PR #2382:
URL: https://github.com/apache/plc4x/pull/2382#issuecomment-4242247273
I just took the liberty to run the manual test benchmark in both the old and
the new driver:
Old driver:
```
=== Test Summary ===
Single Item:
Average Read Time: 13,80 ms (15 requests, 207 ms total)
Average Write Time: 12,00 ms (15 requests, 180 ms total)
Average Time: 12,90 ms
Multi Item (each 15 items):
Average Read Time: 11,81 ms (100 requests, 1181 ms total)
Average Write Time: 175,98 ms (100 requests, 17598 ms total)
Average Time: 93,90 ms
======================
Test executed in 21570ms
```
New driver:
```
=== Test Summary ===
Protocol: Modbus TCP (modbus-tcp)
Transport: TCP (tcp)
Single Item:
Average Read Time: 14,60 ms (15 requests, 219 ms total)
Average Write Time: 11,53 ms (15 requests, 173 ms total)
Average Time: 13,07 ms
#Multi Item (each 15 items):
Average Read Time: 16,47 ms (100 requests, 1647 ms total)
Average Write Time: 174,59 ms (100 requests, 17459 ms total)
Average Time: 95,53 ms
======================
Test executed in 19863ms
```
The new connection handling is quite a bit faster than the old Netty
version. However, I see the new driver is in average 1ms/request slower ...
will look into what I could do in order to improve that.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]