Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2709

Improve performance of bootstrap test on every K/V operation

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • library
    • None
    • 1

    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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          There are no comments yet on this issue.

          People

            btburnett3 Brant Burnett
            btburnett3 Brant Burnett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty