Description
The current approach to ThrowIfBootStrapFailed has some performance bottlenecks:
- The method call to ThrowIfBootStrapFailed can't be inlined
- The call to IsBootstrapped can't be inlined
- The call to DeferredExceptions.Any() is non-optimal on .NET < 5.0 because it heap allocates an IEnumerator<T> and enumerates it
Attachments
For Gerrit Dashboard: NCBC-2709 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
140236,2 | NCBC-2709: Improve perf of bootstrap test on K/V ops | master | couchbase-net-client | Status: MERGED | +2 | +1 |