Skip to content

Parser Taking much longer on 2.12.1/2.12.0 #8129

@3add

Description

@3add

Skript/Server Version

[11:59:57 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[11:59:57 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[11:59:57 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[11:59:57 INFO]: [Skript] Server Version: 1.21.4-232-12d8fe0 (MC: 1.21.4)
[11:59:57 INFO]: [Skript] Skript Version: 2.12.1 (skriptlang-github)
[11:59:57 INFO]: [Skript] Installed Skript Addons: 
[11:59:57 INFO]: [Skript]  - skript-reflect v2.6 (https://github.com/SkriptLang/skript-reflect)
[11:59:57 INFO]: [Skript]  - SkBriggy v1.5.1 (https://github.com/ShaneBeee/SkBriggy)
[11:59:57 INFO]: [Skript]  - SkBee v3.11.2 (https://github.com/ShaneBeee/SkBee)
[11:59:57 INFO]: [Skript]  - DiSky v4.23.0
[11:59:57 INFO]: [Skript] Installed dependencies: 
[11:59:57 INFO]: [Skript]  - Vault v1.7.3-b131
[11:59:57 INFO]: [Skript]  - WorldGuard v7.0.13+82fdc65

Bug Description

When the skripts are loaded at runtime or at server startup; the parser takes way longer in the newer versions

Expected Behavior

For the parser to be as fast or even faster as Skript 2.11.2.

Steps to Reproduce

Startup a paper server on skript 2.12.1 or 2.12.0

Errors or Screenshots

Skript 1.12.1/1.12.0

[11:58:47 INFO]: [Skript] All scripts loaded without errors.
[11:58:47 INFO]: [Skript] Loaded 123 scripts with a total of 353 structures in 16.43 seconds
[11:58:47 INFO]: [Skript] Finished loading.
[11:58:47 INFO]: [DiSky] Registered 142 custom arguments (including 69 enums and 4 custom ones)
[11:58:47 INFO]: Done (26.358s)! For help, type "help"

Skript 1.12.1

[12:06:54 INFO]: [Skript] All scripts loaded without errors.
[12:06:54 INFO]: [Skript] Loaded 123 scripts with a total of 353 structures in 5.64 seconds
[12:06:54 INFO]: [Skript] Finished loading.
[12:06:54 INFO]: [DiSky] Registered 140 custom arguments (including 68 enums and 4 custom ones)
[12:06:54 INFO]: Done (15.956s)! For help, type "help"

(Exactly the same server just with swapped jar files)

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

Metadata

Metadata

Labels

bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions