Skript Timings!
Pre-release
Pre-release
- Fixed functions not always working as expected with "allow function calls before definations" config option
- Added (experimental) Skript timings
Timings?
You can now log how much time your scripts take when using events. Use /sk timings start
to start the timing, then /sk timing stop
to stop it. You'll get timings-X.log
file in Skript's directory root.
As said, it might not work in all cases. For example, it takes some RAM while in use and probably crashes the server if you don't have enough. Also, parsing big enough timing report will take some time, which might freeze your server...
Please report any bugs you find :) This was not easy feature to create, but I think it will be worth it. Now when this is over, I'll probably try to fix some reported bugs...
Edit: Memory leak found. Be careful with timings...