JDK-8310943 : Comment out printing of vertex array and color array
  • Type: Sub-task
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: internal
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2023-06-27
  • Updated: 2023-06-27
  • Resolved: 2023-06-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
internalFixed
Description
Printing of vertex array and color array is needed only during debug.
This was essential during proof of concepts development.

MTLLog.Debug() calls are used to print this data, but a for loop is used to traverse the data. This is impacting performance if `numVertices` is a huge value.

Comments
Changeset: d8d73ee0 Author: aghaisas <ajitgh@gmail.com> Date: 2023-06-27 16:05:57 +0000 URL: https://git.openjdk.org/jfx-sandbox/commit/d8d73ee03d3f934b438141de75c0c29ff14bff0c
27-06-2023

RenderPerfTest results for 60K objetcs Circle (OGL=17.2 fps, Metal = 2.7 fps, with commenting out printing vertex/color data - Metal = 8 fps) Rectangle (OGL= 17.2 fps, Metal = 2.0fps, with commenting out printing vertex/color data - Metal = 3.38 fps)
27-06-2023