You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create some signs with different text on each: /lua local heren = here:round() for x = 0, 8 do for y = 0, 8 do for z = 0, 8 do local p = heren:offset(x,y,z) core.set_node(p, {name="default:sign_wall_wood",param2=2}) core.get_meta(p):set_string("text", p:to_string()..string.rep("\nAAAAAAA",5)) end end end
Rejoin.
Notice how the client freezes. when the sign objects load.
Edit: To measure, show the F5 profiler graphs, and look at "Time non-rendering [us]".
Here's a flamegraph:
The text was updated successfully, but these errors were encountered:
Performance issue.
This issue appears in at least two places:
How to test
[applyfiltersformesh
/imageCleanTransparent
stuff.signs_lib
(https://github.com/mt-mods/signs_lib) and some luacmd fork (https://github.com/Desour/luacmd) in a mtg world./lua local heren = here:round() for x = 0, 8 do for y = 0, 8 do for z = 0, 8 do local p = heren:offset(x,y,z) core.set_node(p, {name="default:sign_wall_wood",param2=2}) core.get_meta(p):set_string("text", p:to_string()..string.rep("\nAAAAAAA",5)) end end end
Edit: To measure, show the F5 profiler graphs, and look at "Time non-rendering [us]".
Here's a flamegraph:
The text was updated successfully, but these errors were encountered: