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

Debug profiler results confuses miliseconds and nanoseconds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 19w14a
    • Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43c
    • None
    • Windows 10
    • Confirmed
    • (Unassigned)

      When using /debug the game prints a message in chat and it also saves profiler results to a file. The "Time span" value in the file is supposedly measured in milliseconds and the value printed in chat is measured in seconds. You notice that the value in the file is 10e9 times larger than the one in chat. So it should write ns (nanoseconds) instead of ms (milliseconds).

      Example comparison:
      Profiler results (text file): Time span: 16968367420 ms
      Game chat: Stopped debug profiling after 16.97 seconds

            Unassigned Unassigned
            Misoloo [Helper] Misode
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: