Improve performance of WiredTigerRecoveryUnit::setTimestamp

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-02-07, Execution Team 2022-02-21
    • 135
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The performance of setTimestamp can be improved by using a stack buffer and simple formatting (like snprintf).

      Rationale: setTimestamp sometimes pops up in performance critical paths (see HELP-28951).  In WT-8365, we improved the performance of the WT API used, and observed that simple changes on the caller side would improve performance more. See WT-8365 for discussion and benchmarks.

            Assignee:
            Jordi Olivares Provencio
            Reporter:
            Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: