Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make profiler output readable #28

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Make profiler output readable #28

merged 1 commit into from
Oct 15, 2024

Conversation

jpenilla
Copy link
Member

@jpenilla jpenilla commented Sep 17, 2024

old:

Client Frame 100.000% total, 100.000% parent, self 0.340% total, self 0.340% children, avg 1.000 sum 1, 13.238ms raw sum
|+++gameRenderer 54.748% total, 54.748% parent, self 4.189% total, self 7.652% children, avg 1.000 sum 1, 7.247ms raw sum
|---|---gui 26.136% total, 47.739% parent, self 4.150% total, self 15.877% children, avg 1.000 sum 1, 3.460ms raw sum
|+++|+++|+++debug 21.613% total, 82.694% parent, self 21.613% total, self 100.000% children, avg 1.000 sum 1, 2.861ms raw sum
|---|---|---chat 0.359% total, 1.372% parent, self 0.359% total, self 100.000% children, avg 1.000 sum 1, 0.047ms raw sum
|+++|+++|+++selectedItemName 0.015% total, 0.056% parent, self 0.015% total, self 100.000% children, avg 1.000 sum 1, 0.002ms raw sum
|---|---level 24.246% total, 44.287% parent, self 0.566% total, self 2.336% children, avg 1.000 sum 1, 3.210ms raw sum
|+++|+++|+++terrain 6.200% total, 25.571% parent, self 6.163% total, self 99.414% children, avg 1.000 sum 1, 0.821ms raw sum
|---|---|---|---minecraft:after_solid_blocks 0.029% total, 0.473% parent, self 0.029% total, self 100.000% children, avg 1.000 sum 1, 0.004ms raw sum
|+++|+++|+++|+++minecraft:after_cutout_mipped_blocks 0.005% total, 0.077% parent, self 0.005% total, self 100.000% children, avg 1.000 sum 1, 0.001ms raw sum
|---|---|---|---minecraft:after_cutout_blocks 0.002% total, 0.037% parent, self 0.002% total, self 100.000% children, avg 1.000 sum 1, 0.000ms raw sum

new:

Client Frame 100.000% total, 100.000% parent, self 0.147% total, self 0.147% children, avg 1.000 sum 1, 10.679ms raw sum
  ├─gameRenderer 54.883% total, 54.883% parent, self 0.032% total, self 0.059% children, avg 1.000 sum 1, 5.861ms raw sum
  │   ├─level 45.516% total, 82.934% parent, self 0.086% total, self 0.190% children, avg 1.000 sum 1, 4.861ms raw sum
  │   │   ├─terrain_setup 16.912% total, 37.155% parent, self 5.631% total, self 33.296% children, avg 1.000 sum 1, 1.806ms raw sum
  │   │   │   ├─chunk_render_lists 7.725% total, 45.677% parent, self 7.725% total, self 100.000% children, avg 1.000 sum 1, 0.825ms raw sum
  │   │   │   ├─chunk_update 2.031% total, 12.008% parent, self 2.031% total, self 100.000% children, avg 1.000 sum 1, 0.217ms raw sum
  │   │   │   ├─chunk_render_tick 1.247% total, 7.372% parent, self 1.247% total, self 100.000% children, avg 1.000 sum 1, 0.133ms raw sum
  │   │   │   ├─translucent_triggering 0.244% total, 1.441% parent, self 0.244% total, self 100.000% children, avg 1.000 sum 1, 0.026ms raw sum
  │   │   │   ├─camera_setup 0.022% total, 0.133% parent, self 0.022% total, self 100.000% children, avg 1.000 sum 1, 0.002ms raw sum
  │   │   │   └─chunk_upload 0.012% total, 0.073% parent, self 0.012% total, self 100.000% children, avg 1.000 sum 1, 0.001ms raw sum
  │   │   ├─light_updates 15.915% total, 34.966% parent, self 15.915% total, self 100.000% children, avg 1.000 sum 1, 1.700ms raw sum

@jpenilla jpenilla merged commit 1dc3cb5 into master Oct 15, 2024
2 checks passed
@jpenilla jpenilla deleted the profiler-formatting branch October 15, 2024 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant