webbukkit / dynmap

A set of Minecraft mods that provide a real time web-based map system for various Minecraft server implementations.
https://www.reddit.com/r/Dynmap/
Apache License 2.0
2.05k stars 419 forks source link

[Feature] reduce startup time amount #622

Closed Simanova closed 12 years ago

Simanova commented 12 years ago

=== FEATURE REQUEST ===

It takes up to 7 seconds startup dynmap 0.32-884.

2012-02-22 07:58:34 [INFO] [dynmap] Loading dynmap v0.32-884. 2012-02-22 07:58:34 [INFO] [dynmap] Using Bukkit Permissions (superperms) for access control 2012-02-22 07:58:35 [INFO] [dynmap] Loaded 15 shaders. 2012-02-22 07:58:35 [INFO] [dynmap] Loaded 82 perspectives. 2012-02-22 07:58:35 [INFO] [dynmap] Loaded 12 lightings. 2012-02-22 07:58:41 [INFO] [dynmap] version 0.32-884 is enabled - core version 0.32-83 2012-02-22 07:58:41 [INFO] [dynmap] Loaded 2 maps of world 'w1'. 2012-02-22 07:58:41 [INFO] [dynmap] World 'w1_nether' disabled 2012-02-22 07:58:41 [INFO] [dynmap] World 'w1_the_end' disabled 2012-02-22 07:58:41 [INFO] [dynmap] Loaded 1 maps of world 'cleanroom'. 2012-02-22 07:58:41 [INFO] [dynmap] Enabled

Thats 60% of the whole startup time. 2012-02-22 07:58:29 [INFO] Starting minecraft server version 1.1 2012-02-22 07:58:43 [INFO] Done (12.505s)! For help, type "help" or "?"

requesting >>> performance optimization / fix >>> on startup

mikeprimm commented 12 years ago

Do you have a large pending render backlog? This takes about a second on my server. Look at /dynmap stats to see if you're running with a large update queue.

Simanova commented 12 years ago

-- Updating to 0.33 solved my problem --

2012-02-27 09:34:29 [INFO] [dynmap] Loading dynmap v0.33-932. [...] 2012-02-27 09:34:30 [INFO] [dynmap] Enabled [...] 2012-02-27 09:34:33 [INFO] Done (6.523s) [...]

I rewrote the config file, perhaps a missconfiguration.

mikeprimm commented 12 years ago

Cool - thanks for the feedback!