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

JFR JSON report's bytesPerSecond is incorrectly calculated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w03a
    • 21w44a, 1.18 Pre-release 2, 1.18 Pre-release 3, 1.18 Pre-release 4, 1.18 Release Candidate 1, 1.18 Release Candidate 2, 1.18, 1.18.1 Release Candidate 2
    • None
    • Community Consensus
    • Debug, Performance
    • Normal

      JFR JSON report's bytesPerSecond in network section is incorrectly calculated and always equals countPerSecond when it should not.

      JFR JSON report includes bytesPerSecond key and countPerSecond key to indicate how many packets/how much bytes were sent/received. However, when calculating bytes per second, it reads totalCount record value instead of totalSize.

            billy.sjoberg [Mojang] Billy Sjöberg
            apple502j apple502j
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: