--- deliantra/server/ext/map-random.ext 2008/05/02 21:01:53 1.23 +++ deliantra/server/ext/map-random.ext 2008/05/03 15:17:13 1.25 @@ -81,7 +81,7 @@ }; # map generator stresstest, NEVER enable under normal circumstances -if (1) { +if (0) { cf::async { my $seed = 0; while () { @@ -97,6 +97,19 @@ } }; } + +# prefetch test, load some ocean-maps +if (0) { + cf::async { + # 0.58 + Coro::Timer::sleep 2; + for my $x (200..219) { + for my $y (200..219) { + (cf::map::find "/world/world_$x\_$y")->load; + } + } + }; +} 1