Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-90604

Improve runtime of IndexCatalogImpl::haveIdIndex()

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Catalog
    • None
    • Catalog and Routing

      Consider improving runtime of IndexCatalogImpl::haveIdIndex() by precomputing the result upon class instance construction and on update of index set. A flag should be enough.
      IndexCatalogImpl::haveIdIndex() consumes 0.2% of cycles in the runtime profile in YCSB 100% read benchmark run. It seems that it is a simple and not risky improvement.

            Assignee:
            Unassigned Unassigned
            Reporter:
            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: