Skip to content

Commit 6b9e5ab

Browse files
author
ramdoys
authored
fix: update Stats.yaml
1 parent 4db06a8 commit 6b9e5ab

File tree

1 file changed

+56
-28
lines changed

1 file changed

+56
-28
lines changed

content/en-us/reference/engine/classes/Stats.yaml

Lines changed: 56 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ properties:
5151
In a networked game, DataReceiveKbps describes roughly how many kilobytes
5252
of data are being received by the current instance, per second. If from
5353
the server's perspective, this represents the total amount of data being
54-
received from the clients connected to the server.If from a client's
54+
received from the clients connected to the server. If from a client's
5555
perspective, this represents the total amount of data being received from
5656
the server.
5757
code_samples:
@@ -78,7 +78,7 @@ properties:
7878
In a networked game, DataSendKbps describes roughly how many kilobytes of
7979
data are being sent by the current instance, per second. If from the
8080
server's perspective, this represents the total amount of data being sent
81-
to the clients connected to the server.If from a client's perspective,
81+
to the clients connected to the server. If from a client's perspective,
8282
this represents the total amount of data being sent to the server.
8383
code_samples:
8484
type: float
@@ -97,8 +97,10 @@ properties:
9797
capabilities: []
9898
writeCapabilities: []
9999
- name: Stats.FrameTime
100-
summary: ''
101-
description: ''
100+
summary: |
101+
A measurement of how long it takes for the engine to process all tasks required to render a frame.
102+
description: |
103+
FrameTime is a measurement of how long it takes for the engine to render a frame. This can be used to calculate frames per second (FPS) through dividing 1 by this value. A high frame time value indicates the engine and device struggling to render frames.
102104
code_samples: []
103105
type: float
104106
tags:
@@ -116,8 +118,12 @@ properties:
116118
capabilities: []
117119
writeCapabilities: []
118120
- name: Stats.HeartbeatTime
119-
summary: ''
120-
description: ''
121+
summary: |
122+
A measurement of the total amount of time it takes long it takes for Roblox to update all of its Task Scheduler jobs
123+
description: |
124+
The HeartbeatTimeMs property is a measurement of the total amount of time
125+
it takes long it takes for Roblox to update all of its Task Scheduler
126+
jobs. If this value is high, then it means one of the tasks are hogging up a lot of resources.
121127
code_samples: []
122128
type: float
123129
tags:
@@ -261,8 +267,10 @@ properties:
261267
capabilities: []
262268
writeCapabilities: []
263269
- name: Stats.PhysicsStepTime
264-
summary: ''
265-
description: ''
270+
summary: |
271+
A measurement of how long it takes for the physics engine to update its current state.
272+
description: |
273+
A measurement of how long it takes for the physics engine to update its current state. If this value is high, then it means the game instance is under stress from the physics simulations taking place.
266274
code_samples: []
267275
type: float
268276
tags:
@@ -329,8 +337,10 @@ properties:
329337
capabilities: []
330338
writeCapabilities: []
331339
- name: Stats.RenderCPUFrameTime
332-
summary: ''
333-
description: ''
340+
summary: |
341+
A measurement of how long it takes for the CPU to process all of its tasks required to render a frame.
342+
description: |
343+
The RenderCPUFrameTime property is a measurement of how long it takes for the CPU to process all of its tasks required to render a frame. A high value can indicate that the CPU is taking longer to render a frame, which can lead to performance issues.
334344
code_samples: []
335345
type: float
336346
tags:
@@ -348,8 +358,10 @@ properties:
348358
capabilities: []
349359
writeCapabilities: []
350360
- name: Stats.RenderGPUFrameTime
351-
summary: ''
352-
description: ''
361+
summary: |
362+
A measurement of how long it takes for the GPU to process all of its tasks required to render a frame.
363+
description: |
364+
The RenderGPUFrameTime property is a measurement of how long it takes for the GPU to process all of its tasks required to render a frame. A high value can indicate that the GPU is taking longer to render a frame, which can lead to performance issues.
353365
code_samples: []
354366
type: float
355367
tags:
@@ -367,8 +379,10 @@ properties:
367379
capabilities: []
368380
writeCapabilities: []
369381
- name: Stats.SceneDrawcallCount
370-
summary: ''
371-
description: ''
382+
summary: |
383+
A measurement of the number of draw calls made by the game's current scene.
384+
description: |
385+
The SceneDrawcallCount property is a measurement of the number of draw calls made by the game's current scene. A draw call is a single rendering operation, such as drawing a mesh. A high draw call count could mean a scene is too complex or unoptimized, which can lead to performance issues.
372386
code_samples: []
373387
type: int
374388
tags:
@@ -386,8 +400,10 @@ properties:
386400
capabilities: []
387401
writeCapabilities: []
388402
- name: Stats.SceneTriangleCount
389-
summary: ''
390-
description: ''
403+
summary: |
404+
A measurement of the number of triangles rendered by the game's current scene.
405+
description: |
406+
The SceneTriangleCount property is a measurement of the number of triangles rendered ny the game's current scene. A count of triangles rendered is useful when trying to estimate the complexity and performance of a scene.
391407
code_samples: []
392408
type: int
393409
tags:
@@ -405,8 +421,10 @@ properties:
405421
capabilities: []
406422
writeCapabilities: []
407423
- name: Stats.ShadowsDrawcallCount
408-
summary: ''
409-
description: ''
424+
summary: |
425+
A measurement of the number of draw calls being made for shadows by the game's current scene.
426+
description: |
427+
The ShadowsDrawcallCount property is a measurement of the number of draw calls being made for shadows by the game's current scene. A high count means more shadows are being created by the amount of rendered objects in a scene.
410428
code_samples: []
411429
type: int
412430
tags:
@@ -424,8 +442,10 @@ properties:
424442
capabilities: []
425443
writeCapabilities: []
426444
- name: Stats.ShadowsTriangleCount
427-
summary: ''
428-
description: ''
445+
summary: |
446+
A measurement of the number of traingles rendered as shadows in the game's current scene.
447+
description: |
448+
The ShadowsTriangleCount property is a measurement of the number of triangles rendered as shdows in the game's current scene. A high count means there are a lot of triangles used to cast shadows, which can hinder performance.
429449
code_samples: []
430450
type: int
431451
tags:
@@ -443,8 +463,10 @@ properties:
443463
capabilities: []
444464
writeCapabilities: []
445465
- name: Stats.UI2DDrawcallCount
446-
summary: ''
447-
description: ''
466+
summary: |
467+
A measurement of the number of 2D draw calls made for UI elements in the game's current scene.
468+
description: |
469+
The UI2DDrawcallCount property is a measurement of the number of 2D draw calls made for UI elements in the game's current scene. A high count can mean there are a lot of 2D UI elements being used.
448470
code_samples: []
449471
type: int
450472
tags:
@@ -462,8 +484,10 @@ properties:
462484
capabilities: []
463485
writeCapabilities: []
464486
- name: Stats.UI2DTriangleCount
465-
summary: ''
466-
description: ''
487+
summary: |
488+
A measurement of the number of triangles that are being rendered for 2D UI elements in the game's current scene.
489+
description: |
490+
The UI2DTriangleCount property is a measurement of the number of triangles that are being rendered for 2D UI elements in the game's current scene. A high count can mean there are many or complex 2D UI elements used, which can contribute to performance loss in regards to rendering.
467491
code_samples: []
468492
type: int
469493
tags:
@@ -481,8 +505,10 @@ properties:
481505
capabilities: []
482506
writeCapabilities: []
483507
- name: Stats.UI3DDrawcallCount
484-
summary: ''
485-
description: ''
508+
summary: |
509+
A measurement of the number of 3D draw calls made for UI elements in the game's current scene.
510+
description: |
511+
The UI3DDrawcallCount property is a measurement of the number of 3D draw calls made for UI elements in the game's current scene. A high count could indicate a high amount of 3D objects being used within UI, potentially hurting performance; however, it is very unlikely you would see a significant count since UI elements are typically 2D.
486512
code_samples: []
487513
type: int
488514
tags:
@@ -500,8 +526,10 @@ properties:
500526
capabilities: []
501527
writeCapabilities: []
502528
- name: Stats.UI3DTriangleCount
503-
summary: ''
504-
description: ''
529+
summary: |
530+
A measurement of the number of triangles being rendered for 3D UI elements in the game's current scene.
531+
description: |
532+
The UI3DTriangleCount property is a measurement of the number of triangles being rendered for 3D UI elements in the game's current scene; however, it is very unlikely you would see a significant count since UI elements are typically 2D.
505533
code_samples: []
506534
type: int
507535
tags:

0 commit comments

Comments
 (0)