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

Will this world creation cause tps to drop? #3

Closed
RedCarl opened this issue May 13, 2024 · 6 comments
Closed

Will this world creation cause tps to drop? #3

RedCarl opened this issue May 13, 2024 · 6 comments

Comments

@RedCarl
Copy link

RedCarl commented May 13, 2024

Will this world creation cause tps to drop?

@NonSwag
Copy link
Member

NonSwag commented May 14, 2024

World creation is handled on the main thread and only takes on average about 30ms in my experience
The world generation is handled async by paper therefore the TPS won't suffer

@RedCarl
Copy link
Author

RedCarl commented May 18, 2024

world create test
[15:44:49 INFO]: Preparing start region for dimension worlds:test
[15:44:50 INFO]: [WorldGuard] Default configuration file written: config_world.yml
[15:44:50 INFO]: [WorldGuard] Default configuration file written: blacklist.txt
[15:44:50 INFO]: [WorldGuard] (test) TNT ignition is PERMITTED.
[15:44:50 INFO]: [WorldGuard] (test) Lighters are PERMITTED.
[15:44:50 INFO]: [WorldGuard] (test) Lava fire is PERMITTED.
[15:44:50 INFO]: [WorldGuard] (test) Fire spread is UNRESTRICTED.
[15:44:50 INFO]: [WorldGuard] Loaded configuration for world 'test'
[15:44:50 INFO]: Time elapsed: 1593 ms
[15:44:50 INFO]: Worlds » Successfully created the world test

@RedCarl
Copy link
Author

RedCarl commented May 18, 2024

It's not what you said, it took 1593 ms.

@RedCarl
Copy link
Author

RedCarl commented May 18, 2024

[15:46:39 INFO]: [⚡] TPS from last 5s, 10s, 1m, 5m, 15m:
[15:46:39 INFO]: [⚡] 14.43, 16.76, 19.38, 19.69, 19.9
[15:46:39 INFO]: [⚡]
[15:46:39 INFO]: [⚡] Tick durations (min/med/95%ile/max ms) from last 10s, 1m:
[15:46:39 INFO]: [⚡] 0.1/0.2/4.2/2837.1; 0.1/0.1/1.7/2837.1
[15:46:39 INFO]: [⚡]
[15:46:39 INFO]: [⚡] CPU usage from last 10s, 1m, 15m:
[15:46:39 INFO]: [⚡] 7%, 2%, 2% (system)
[15:46:39 INFO]: [⚡] 6%, 1%, 1% (process)

@NonSwag
Copy link
Member

NonSwag commented May 18, 2024

sorry for the mixup
the 30ms average is for world loading not creation
but it really depends on your setup
if you try without worldguard you will see that it is much faster
image

@NonSwag
Copy link
Member

NonSwag commented May 18, 2024

[15:46:39 INFO]: [⚡] TPS from last 5s, 10s, 1m, 5m, 15m: [15:46:39 INFO]: [⚡] 14.43, 16.76, 19.38, 19.69, 19.9 [15:46:39 INFO]: [⚡] [15:46:39 INFO]: [⚡] Tick durations (min/med/95%ile/max ms) from last 10s, 1m: [15:46:39 INFO]: [⚡] 0.1/0.2/4.2/2837.1; 0.1/0.1/1.7/2837.1 [15:46:39 INFO]: [⚡] [15:46:39 INFO]: [⚡] CPU usage from last 10s, 1m, 15m: [15:46:39 INFO]: [⚡] 7%, 2%, 2% (system) [15:46:39 INFO]: [⚡] 6%, 1%, 1% (process)

i dont think this is caused only by the world creation
it may be a factor but not the main cause

@NonSwag NonSwag closed this as completed Jun 28, 2024
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