Change __wt_time_window_ functions to macros

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.0, 4.4.0-rc7, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • Storage - Ra 2020-05-18
    • 2

      These functions, _wt_time_window_is_empty(), wt_time_window_init(), _wt_time_aggregate_init() showed up in the perf profiling tool, consuming significant CPU for merely initializing and comparing variables. Replacing them with macros improved performance significantly.

      This ticket will further investigate reducing the overhead from these functions.

            Assignee:
            Sulabh Mahajan
            Reporter:
            Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: