Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-185792

Using development_resource_packs folder dramatically increases game loading time

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21.20, 1.21.30.23 Preview, 1.21.21 Hotfix
    • None
    • Unconfirmed
    • Multiple

      Having resource packs in the development_resource_packs folder dramatically increases the amount of time the game takes to reach the main menu. My computer has all its storage on NVMe SSDs, so the hardware is not the issue.

      Here are some comparisons I timed of using packs in the development_resource_packs folder:

      Loading Time Number of Packs in Folder Total Size of Packs in Folder Total Number of Files in Folder
      20.74 seconds 0 0 MB 0
      21.46 seconds 1 1.29 MB 361
      46.86 seconds 2 50.3 MB 7590
      50.62 seconds 3 224 MB 8335
      80.99 seconds 4 453 MB 16921

      The loading time seems most correlated with the Total Number of Files in Folder:

       

      Methodology:

      1. Configure development_resource_packs folder as specified in the table above.
      2. Restart computer.
      3. Log in.
      4. Select Minecraft Bedrock icon and start a timer. The above tests were performed on 1.21.21.
      5. Once the start screen is visible, stop the timer.

      Assume a ±1 second margin of error as I was not perfect on the timer.

      This bug may also affect the development_behavior_packs folder, but it was not tested.

      Expected Result

      The development_resource_packs folder has little-to-no bearing on the time Minecraft takes to load the main menu.

      Observed Result

      The development_resource_packs folder dramatically impacts the time Minecraft takes to load the main menu.

       

        1. image-2024-08-19-14-27-42-994.png
          49 kB
          AgentMindStorm2
        2. image-2024-08-19-14-29-03-520.png
          50 kB
          AgentMindStorm2
        3. image-2024-08-19-14-30-22-005.png
          45 kB
          AgentMindStorm2
        4. Loading Time Graphs.xlsx
          22 kB
          AgentMindStorm2

          Loading...
          Uploaded image for project: 'Minecraft (Bedrock codebase)'
          1. Minecraft (Bedrock codebase)
          2. MCPE-185792

          Using development_resource_packs folder dramatically increases game loading time

            • Icon: Bug Bug
            • Resolution: Duplicate
            • None
            • 1.21.20, 1.21.30.23 Preview, 1.21.21 Hotfix
            • None
            • Unconfirmed
            • Multiple

              Having resource packs in the development_resource_packs folder dramatically increases the amount of time the game takes to reach the main menu. My computer has all its storage on NVMe SSDs, so the hardware is not the issue.

              Here are some comparisons I timed of using packs in the development_resource_packs folder:

              Loading Time Number of Packs in Folder Total Size of Packs in Folder Total Number of Files in Folder
              20.74 seconds 0 0 MB 0
              21.46 seconds 1 1.29 MB 361
              46.86 seconds 2 50.3 MB 7590
              50.62 seconds 3 224 MB 8335
              80.99 seconds 4 453 MB 16921

              The loading time seems most correlated with the Total Number of Files in Folder:

               

              Methodology:

              1. Configure development_resource_packs folder as specified in the table above.
              2. Restart computer.
              3. Log in.
              4. Select Minecraft Bedrock icon and start a timer. The above tests were performed on 1.21.21.
              5. Once the start screen is visible, stop the timer.

              Assume a ±1 second margin of error as I was not perfect on the timer.

              This bug may also affect the development_behavior_packs folder, but it was not tested.

              Expected Result

              The development_resource_packs folder has little-to-no bearing on the time Minecraft takes to load the main menu.

              Observed Result

              The development_resource_packs folder dramatically impacts the time Minecraft takes to load the main menu.

               

                1. image-2024-08-19-14-27-42-994.png
                  49 kB
                  AgentMindStorm2
                2. image-2024-08-19-14-29-03-520.png
                  50 kB
                  AgentMindStorm2
                3. image-2024-08-19-14-30-22-005.png
                  45 kB
                  AgentMindStorm2
                4. Loading Time Graphs.xlsx
                  22 kB
                  AgentMindStorm2

                    AgentMindStorm2 AgentMindStorm2
                    Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                      Created:
                      Updated:
                      Resolved:

                        AgentMindStorm2 AgentMindStorm2
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        0 Start watching this issue

                          Created:
                          Updated:
                          Resolved: