Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-170483

Versions from 1.13-1.15.2 have much lower preformance than 1.12.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Invalid
    • Affects Version/s: 1.15.2
    • Fix Version/s: None
    • Labels:
    • Environment:
    • Confirmation Status:
      Unconfirmed
    • Category:
      Performance

      Description

      Backstory :[ I discovered this way back when 1.13 came out when i had a 1.12.2 world with 2000 villagers in a village being chased by zombies. When i converted the world to 1.13 the game was only able to support 900 entities with the lowest settings possible and allowing the game to use the max amount of memory using the JVM use memory arg. ]:

       

      Note: There could be similar bug reports however none were on 1.15.2 or 1.15 and did not cover the same issues but rather different but similar ones. Sure 1.15.2 performs better than 1.14 but the difference between 1.12.2 and 1.15.2 are too big to say that the issue is solved.

       

      1.15.2 (the newest version) which performs better than 1.13 and 1.14 still has performance issues both with FPS and TPS and seems to still use more memory than 1.12.2. This issues seems to affect both singleplayer and multiplayer.

      Also there are huge differences between 1.12.2 chunk loading and 1.15.2 chunk loading. 1.12.2 had it chunks load almost as fast as in the bedrock edition of minecraft. But 1.15.2 had its chunks load much slower than 1.12.2 . Also 1.15.2 had lower FPS and TPS when loading those chunks opposed to 1.12.2.

      Sidenote: I remember when i had a potato laptop with horrible specs (temporary computer) had huge issues running minecraft 1.12 with the lowest settings possible so I'd imagine that 1.15.2 WOULD NOT RUN AT ALL on that machine. This is could be a serious issue to lower end devices and could make them unable to play minecraft.

       

      So i decided to run some stress tests with both 1.12.2 and 1.15.2 with the F3 menu and graphs open to observe the difference. Both versions used the same installation profile in the launcher and the same settings.

      Here are the JVM Args of the profile : [-Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M]  (The JVM args are the default ones which the launcher automaticly set)

      In the first test i tried 1000 bats on both versions and i did optimize the world for the newer version to not have any world conversion lag. 1.15.2 performed much worse than 1.12.2 in every way. The images showing this are in the files part of the report. I also added the debug files from the tests but the 1.12.2 debug profile does not contain the .zip dump.

      In the second test i tried chunk loading while flying with a 12 chunk render distance in a superflat world. And the 1.12.2 world loaded chunks even when i was flying really fast on spectator mode. But on 1.15.2 the chunks didn't load as fast as in the other version. This difference grows even bigger on non superflat worlds as there are more entities and blocks. The side by side comparison is in the files part of the report as well. (Thing.mp4)

        Attachments

        1. 1.12 Perfomance.png
          132 kB
          Hadys3
        2. 1.15.2 Performance.png
          192 kB
          Hadys3
        3. profile-results-2020-01-28_14.49.02.txt
          56 kB
          Hadys3
        4. profile-results-2020-01-28_15.10.21 (1.12.2 Test).txt
          5 kB
          Hadys3
        5. Thing.mp4
          3.31 MB
          Hadys3

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Hadys3 Hadys3
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: