Noticeable Input lag when running particular keyboard shortcuts

I am currently using 4.186 alpha of BTT on a Macbook Pro M2.

For specific keyboard shortcuts, such as a move/resize: sidebar from hyperkey + - r, I see a noticeable input lag - after pressing the keyboard shortcut. It takes up to 2-5 seconds to execute. However, another subset of my keyboard shortcuts work as expected without the lag. I tried rebooting my computer and upgrading to the alpha version, but I didn't see an improvement. I have BTT running on a second Macbook Air M1, and the lag is reproducible with the exact same commands. How can I debug this?

Thank you!

Can you copy/paste the trigger/action here? (select in BTT, cmd+c, then come back here and press cmd+v)

Here are two examples of shortcuts that are delayed. I can provide more if you'd like. They have been working well until a few days ago.

[
  {
    "BTTLastUpdatedAt" : 1692050870.286371,
    "BTTTriggerType" : 0,
    "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
    "BTTPredefinedActionType" : 177,
    "BTTPredefinedActionName" : "Show \/ Hide Specific Application",
    "BTTGenericActionConfig" : "\/Users\/tsingh\/SynologyDrive\/ChromeApps\/ChatGPT.app",
    "BTTGenericActionConfig2" : "{\"BTTShowHideSpecificAppMoveToSpace\":\"BTTShowHideSpecificAppHiddenToCurrentSpace\",\"BTTShowHideSpecificAppOnlyShow\":false,\"BTTShowHideSpecificAppOnlyHide\":false,\"BTTShowHideSpecificAffectedWindow\":\"BTTShowHideSpecificAppAffectLastUsedWindow\",\"BTTShowHideSpecificAppRegex\":\"\",\"BTTShowHideSpecificAppOnlyTreatActiveAsVisible\":true,\"BTTShowHideSpecificAppOnlyIfRunning\":false,\"BTTShowHideSpecificAppCMDN\":false,\"BTTShowHideSpecificAppMoveToCurrentSpace\":false,\"BTTShowHideSpecificAppMoveAllToCurrentSpace\":false}",
    "BTTAppToShowOrHide" : "\/Users\/tsingh\/SynologyDrive\/ChromeApps\/ChatGPT.app",
    "BTTShowHideAppConfig" : "{\"BTTShowHideSpecificAppMoveToSpace\":\"BTTShowHideSpecificAppHiddenToCurrentSpace\",\"BTTShowHideSpecificAppOnlyShow\":false,\"BTTShowHideSpecificAppOnlyHide\":false,\"BTTShowHideSpecificAffectedWindow\":\"BTTShowHideSpecificAppAffectLastUsedWindow\",\"BTTShowHideSpecificAppRegex\":\"\",\"BTTShowHideSpecificAppOnlyTreatActiveAsVisible\":true,\"BTTShowHideSpecificAppOnlyIfRunning\":false,\"BTTShowHideSpecificAppCMDN\":false,\"BTTShowHideSpecificAppMoveToCurrentSpace\":false,\"BTTShowHideSpecificAppMoveAllToCurrentSpace\":false}",
    "BTTAdditionalConfiguration" : "1966123",
    "BTTKeyboardShortcutKeyboardType" : 3431,
    "BTTUUID" : "3A7CEA6A-AB93-4B92-81A1-4393BAF55530",
    "BTTTriggerOnDown" : 1,
    "BTTLayoutIndependentChar" : "o",
    "BTTEnabled" : 1,
    "BTTEnabled2" : 1,
    "BTTShortcutKeyCode" : 31,
    "BTTShortcutModifierKeys" : 1966080,
    "BTTAutoAdaptToKeyboardLayout" : 0
  }
]
[
  {
    "BTTLastUpdatedAt" : 1692059110.2888641,
    "BTTTriggerType" : 0,
    "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
    "BTTLayoutIndependentActionChar" : "l",
    "BTTAutoAdaptActionToKeyboardLayout" : true,
    "BTTShortcutToSend" : "55,37",
    "BTTAdditionalConfiguration" : "1572904",
    "BTTKeyboardShortcutKeyboardType" : 1216,
    "BTTUUID" : "0312DF5C-62A0-4459-872B-326EC5109E99",
    "BTTTriggerOnDown" : 1,
    "BTTLayoutIndependentChar" : "p",
    "BTTEnabled" : 1,
    "BTTEnabled2" : 1,
    "BTTShortcutKeyCode" : 35,
    "BTTShortcutModifierKeys" : 1572864,
    "BTTOrder" : 1,
    "BTTAutoAdaptToKeyboardLayout" : 0,
    "BTTAdditionalActions" : [
      {
        "BTTLastUpdatedAt" : 1692058845.274826,
        "BTTTriggerType" : -1,
        "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
        "BTTPredefinedActionType" : 118,
        "BTTPredefinedActionName" : "Insert \/ Type \/ Paste Custom Text",
        "BTTAdditionalActionData" : {
          "BTTActionTextToPaste" : "BAtzdHJlYW10eXBlZIHoA4QBQISEhA1OU1RleHRTdG9yYWdlAISEGU5TTXV0YWJsZUF0dHJpYnV0ZWRTdHJpbmcAhIQSTlNBdHRyaWJ1dGVkU3RyaW5nAISECE5TT2JqZWN0AIWShISED05TTXV0YWJsZVN0cmluZwGEhAhOU1N0cmluZwGWhAErAUCGhAJpSQEBkoSEhAxOU0RpY3Rpb25hcnkAloQBaQOShJmZB05TQ29sb3KGkoSEhAdOU0NvbG9yAJaEAWMDhAJmZgABhpKEmZkQTlNQYXJhZ3JhcGhTdHlsZYaShISEF05TTXV0YWJsZVBhcmFncmFwaFN0eWxlAISEEE5TUGFyYWdyYXBoU3R5bGUAloQEQ0NAUwAAhQCGkoSZmQZOU0ZvbnSGkoSEhAZOU0ZvbnQelpwwhAVbNDhjXQYAAAAmAAAA__4uAEEAcABwAGwAZQBTAHkAcwB0AGUAbQBVAEkARgBvAG4AdAAAAIQBZgyeAJ4BngCeAIaGhg=="
        },
        "BTTMoveCursorLeftBy" : "0",
        "BTTKeyboardShortcutKeyboardType" : 0,
        "BTTUUID" : "B56E45FF-079D-49A9-BDD5-0B46654E044B",
        "BTTEnabled" : 1,
        "BTTEnabled2" : 1,
        "BTTShortcutKeyCode" : -1,
        "BTTShortcutModifierKeys" : -1,
        "BTTOrder" : 17,
        "BTTAutoAdaptToKeyboardLayout" : 0
      },
      {
        "BTTLastUpdatedAt" : 1692059122.888288,
        "BTTTriggerType" : -1,
        "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
        "BTTLayoutIndependentActionChar" : "TAB",
        "BTTAutoAdaptActionToKeyboardLayout" : true,
        "BTTShortcutToSend" : "48",
        "BTTKeyboardShortcutKeyboardType" : 0,
        "BTTUUID" : "54506248-D77B-4E49-ADE1-CDB0E56977CB",
        "BTTEnabled" : 1,
        "BTTEnabled2" : 1,
        "BTTShortcutKeyCode" : -1,
        "BTTShortcutModifierKeys" : -1,
        "BTTOrder" : 18,
        "BTTAutoAdaptToKeyboardLayout" : 0
      }
    ]
  }
]

Another lagged one. I would say about 50% of the shortcuts are lagging.

[
  {
    "BTTLastUpdatedAt" : 1692018275.380959,
    "BTTTriggerType" : 0,
    "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
    "BTTPredefinedActionType" : 251,
    "BTTPredefinedActionName" : "Custom Move \/ Resize Window",
    "BTTGenericActionConfig" : "{\"BTTOriginDisplay\":0,\"BTTChangeYOriginRelative\":0,\"BTTScreenOrigin\":2,\"BTTDirectionToMove\":0,\"BTTChangeHeightRelative\":1,\"BTTScreensToMove\":0,\"BTTNewYAbsolute\":0,\"BTTNewXRelative\":-20,\"BTTOriginToUse\":2,\"BTTNewWindowWidthRelative\":20,\"BTTChangeWindowWidth\":true,\"BTTNewXAbsolute\":-400,\"BTTChangeYOrigin\":1,\"BTTUseVisibleFrame\":true,\"BTTCareForStageManager\":true,\"BTTChangeXOriginRelative\":0,\"BTTChangeWidthRelative\":1,\"BTTActiveOrHoveredWindow\":0,\"BTTNewWindowHeightRelative\":75,\"BTTChangeWindowHeight\":true,\"BTTNewYRelative\":0,\"BTTChangeXOrigin\":1}",
    "BTTGenericActionConfig2" : "Sidebar",
    "BTTActionMoveResizeConfig" : "{\"BTTOriginDisplay\":0,\"BTTChangeYOriginRelative\":0,\"BTTScreenOrigin\":2,\"BTTDirectionToMove\":0,\"BTTChangeHeightRelative\":1,\"BTTScreensToMove\":0,\"BTTNewYAbsolute\":0,\"BTTNewXRelative\":-20,\"BTTOriginToUse\":2,\"BTTNewWindowWidthRelative\":20,\"BTTChangeWindowWidth\":true,\"BTTNewXAbsolute\":-400,\"BTTChangeYOrigin\":1,\"BTTUseVisibleFrame\":true,\"BTTCareForStageManager\":true,\"BTTChangeXOriginRelative\":0,\"BTTChangeWidthRelative\":1,\"BTTActiveOrHoveredWindow\":0,\"BTTNewWindowHeightRelative\":75,\"BTTChangeWindowHeight\":true,\"BTTNewYRelative\":0,\"BTTChangeXOrigin\":1}",
    "BTTActionMoveResizeName" : "Sidebar",
    "BTTAdditionalConfiguration" : "1966123",
    "BTTKeyboardShortcutKeyboardType" : 3431,
    "BTTUUID" : "6AC8F863-11A6-44FF-B07E-5A73B0857CAA",
    "BTTTriggerOnDown" : 1,
    "BTTLayoutIndependentChar" : "-",
    "BTTEnabled" : 1,
    "BTTEnabled2" : 1,
    "BTTShortcutKeyCode" : 27,
    "BTTShortcutModifierKeys" : 1966080,
    "BTTOrder" : 8,
    "BTTAutoAdaptToKeyboardLayout" : 0
  }
]

Your shortcuts seem to work instantly here.

Any other keyboard related app installed that might conflict with BTT?
Have you already tried to restart your system?

Thank you for your reply.
I restarted my system and still see the lag.
The lag is only observed in specific shortcuts. I don't see a clear pattern as to why some work and some don't.
I tried to kill one app at a time and cannot identify an interacting app that's conflicting with BTT.
I also can replicate the exact delays in my separate Macbook, and I tried rebooting that too.