You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, @grpc/grpc-js always emits 'cancelled' event on 'close', which results in AbortController.abort being called each request. This, in turn, creates new DomException, which leads to stack trace capture and is extremely slow. One way to avoid it is to pass optional reason straight from the grpc. This should give a substantial boost in performance (I'm seeing about 10-15% throughput increase depending on the hardware)
The text was updated successfully, but these errors were encountered:
Hi, @grpc/grpc-js always emits 'cancelled' event on 'close', which results in AbortController.abort being called each request. This, in turn, creates new DomException, which leads to stack trace capture and is extremely slow. One way to avoid it is to pass optional
reason
straight from the grpc. This should give a substantial boost in performance (I'm seeing about 10-15% throughput increase depending on the hardware)The text was updated successfully, but these errors were encountered: