Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having performance issue in keyboard.type API #536

Open
freddy-daniel opened this issue Sep 27, 2023 · 1 comment
Open

Having performance issue in keyboard.type API #536

freddy-daniel opened this issue Sep 27, 2023 · 1 comment

Comments

@freddy-daniel
Copy link

Version
"@nut-tree/nut-js": "^3.1.2"

Short overview
Having Performance issue while passing string characters in keyboard.type API

Detailed description
keyboard.type API now having performance issue while passing strings. But works cool while passing keyCode instead of string.
try to call list of strings and list of keycodes in a loop of 1000 Iteration it we can see the difference.

@s1hofmann
Copy link
Member

Hi @freddy-daniel 👋

Please add the code sample you used for me to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants