Skip to content

Commit

Permalink
Simplify client transport actions and state representation (#1080)
Browse files Browse the repository at this point in the history
Motivation:

The representation of state and any outcomes as a result of changing
state in 'ClientTransport' is generic over the request and response
types. This turns out to be a non-trivial performance hit.

Modifications:

- Split up state actions into per-function actions
- Move state out of 'ClientTransport'

Result:

- A 5% decrease in instruction for the 'unary_10k_small_requests'
  benchmark (note that this change is client only and yet the benchmark
  includes instructions for client and server).
  • Loading branch information
glbrntt authored Dec 15, 2020
1 parent fccd9fb commit ea9c7c5
Showing 1 changed file with 268 additions and 263 deletions.
Loading

0 comments on commit ea9c7c5

Please sign in to comment.