Skip to content

HotkeylessAHK Performance Tests not working #21

@sebinside

Description

@sebinside

The current version of the HotkeylessAHK performance test does not work with the register functionality yet. This causes the pendingResult in the server.js to never be resolved, ultimately causing a timeout and no accurate measurements (or no measurements at all). However, as this only affects benchmarking and not the actual functionality and also, the numbers in the README are accurate, fixing these issues has currently no priority.

Workaround, if you really want to benchmark: Add these two lines instead of line 46 in server.js:

- console.error(`Function '${functionName}' not found in any class.`);
+ this.pendingResult.send(command);
+ this.pendingResult = null;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions