Uploaded image for project: 'C++ Couchbase Client'
  1. C++ Couchbase Client
  2. CXXCBC-389

Performance: Potential optimisation if avoid always creating error context

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • 1.0.0
    • None
    • transactions
    • None

    Description

      Context

      See short "Explanation" section of CXXCBC-388 for background context, test app, and terms used below.

      Issue

      If I'm reading the code correctly, it looks like make_key_value_error_context is always called, irrespective of whether the command succeeds or fails?  If not and it's only closed on error, then no action needed, please close the ticket.

      But if it is, then the profiler indicates it's a non-trivial (3.66%) amount of the total time when doing bulk operations, is spent here:

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            graham.pople Graham Pople
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes