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

JFR JSON report's bytesPerSecond is incorrectly calculated

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 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
    • 22w03a
    • None
    • Community Consensus
    • Debug, Performance
    • Normal

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              CHK: