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

Change __wt_time_window_ functions to macros

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

      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@mongodb.com Sulabh Mahajan
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: