Skip to content

WinActivate significantly slower in ahkdll v2 compared to AHK_L #21

@jayquonmarton

Description

@jayquonmarton

While porting some AHK_L scripts to ahkdll v2, I noticed the WinActivate function is 3x slower than AHK_L, which is already rather slow. This is a bit of a pain point for me because I often run scripts in parallel, so almost every ahk input event (mouse click, keyboard button, etc) must be preceded with re-activating the appropriate window.

In AHK_L v1.1.30.00, I measure the time for WinActivate around 1/10 of a second.

In the current ahkdll v2 release, I measure it at 1/3 of a second.

Is it possible to optimize this?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions