HotkeylessAHK icon indicating copy to clipboard operation
HotkeylessAHK copied to clipboard

HotkeylessAHK Performance Tests not working

Open sebinside opened this issue 9 months ago • 0 comments

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;

sebinside avatar Apr 12 '25 14:04 sebinside