Answering this question given the setup is rather hard, as you are both using different dependencies and different node versions, you are also not describing what kind of performance issue you are facing.
To answer, you will need to 1) compare both clients under the same node version, e.g. use both with node 18 or 20 and 2) describe what kind of performance issue you are facing.