Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6173

Change __wt_time_window_ functions to macros

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.0, 4.4.0-rc7, 4.7.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: