Skip to content

Having performance issue in keyboard.type API #536

Open
@freddy-daniel

Description

@freddy-daniel

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.

Activity

s1hofmann

s1hofmann commented on Sep 28, 2023

@s1hofmann
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @s1hofmann@freddy-daniel

        Issue actions

          Having performance issue in keyboard.type API · Issue #536 · nut-tree/nut.js