Skip to content

With a lot of defined steps, the editor has lags on every key stroke #54

@theo-h

Description

@theo-h

first: thanks for the great plugin!

Having a project with a lot of steps (~250 real steps and ~150 aliases), there is a noticeable lag on every keystroke within a story file.

Even small stories, like:

Narrative:
In order to demonstrate the lags on every input
As a jbehave user
I want to create a rather long story file

Scenario: 1

Given the page Report Definition is initialized
When the user clicks on the Remove icon for the report Report1
And the user clicks on the Create button
And the user activates the checkbox checkbox2
Then the spreadsheet selection shows the message this is the message ...!!!´´´

result in lag of about 0.3 seconds on every key stroke.
Having more complex stories (using more steps), the length of the lags grow up to several seconds.

I've enabled the loggers on "TRACE"-level, and it seemed to me, that the whole structure of the story file is evaluated on every key stroke.
It would be nice, to have the opportunity, to perform these lookups/checks/formattings only after a linefeed.

best regards,
Theo

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