Mojira Archive
MCM-730

Command performance is quite bad compared to java edition

Partner Rank: 4

Verification builds: 1.11, 1.12, 1.13, etc
Regression builds: Not really a regression, just a general issue

Summary: Commands affect performance much more harshly in bedrock than java, causing greater tick slowdowns with fewer commands being run

Impact: General performance of all projects is worse than it could be

Repro Steps:

  1. Download and open the attached bedrock world: bedrock.mcworld
    There are 256 pigs in a chunk loaded thousands of blocks away.
    Observe the redstone clock ticking at a consistent fast rate.
  2. Power the leftmost command block with a redstone block.
    This block has each pig run a function that applies speed to itself 100 times.
  3. Observe the redstone clock slowing down significantly.
  4. Depower the left command block and power the right one.
    This block runs a function directly that applies speed to all pigs 100 times.
  5. Observe the redstone clock slowing down significantly again.
  6. Download and open the attached java world: java.zip
    There are also 256 pigs in a distant chunk in this world.
    The command blocks run 1.13-equivalent commands.
  7. Press Alt+F3 and look at the TPS graph (right), and watch the redstone clock.
  8. Perform the command block tests again.
  9. Observe the clock only slowing down slightly, or continuing to run at full speed.

Expected Results: Equal if not better performance in bedrock edition.

Observed Results: Significantly worse performance in bedrock edition.

Screenshots/Videos attached: Yes

Done

[Mod] tryashtar

2019-07-09, 07:32 AM

2020-08-18, 09:32 PM

2020-08-18, 09:32 PM

0

0

Future Release

-