Page 1 of 1

profiler graph question

PostPosted: Thu Oct 24, 2013 21:44
by Element
what does the profiler gragh even do are mean

PostPosted: Fri Oct 25, 2013 06:42
by Wuzzy
This is a very good question. I would like to know this, too. Apparently the graphs are made for developers and show how well Minetest performs and how fast it does things. But I don’t know what they exactly mean.

When there is a detailed answer to this question I would like to add this information to the wiki.

PostPosted: Fri Oct 25, 2013 12:49
by Element
when i turn them on, there are four graphs but sometimes there are five but the top one come and goes
and why are they different colors

and for players that havent seen it before, press F5 twice

PostPosted: Fri Oct 25, 2013 14:49
by sfan5
Element wrote:and why are they different colors

Because you can distinguish them easier

PostPosted: Fri Oct 25, 2013 15:09
by Element
i thought thats what the colors were for but what do the graphs do and mean

PostPosted: Fri Oct 25, 2013 17:00
by sfan5
Element wrote:i thought thats what the colors were for but what do the graphs do and mean

There is a description above every graph

PostPosted: Fri Oct 25, 2013 19:24
by jojoa1997
I think what Element means is what does main loop time mean and the such.

PostPosted: Mon Oct 28, 2013 04:36
by Element
yea...thats it

PostPosted: Thu Oct 31, 2013 18:52
by celeron55
num_processed_meshes: The engine generates geometric meshes from MapBlock data for drawing. This is the number of those meshes that finished generating in each frame.

mainloop_sleep: If the game runs at a faster rate than wanted_fps, a sleep is inserted into each frame after drawing in order to not consume excess resources; this is that sleep time in seconds.

mainloop_other: Time spent in each frame for everything else than drawing.

mainloop_dtime: Total time spent per frame (mainloop_other + mainloop_draw + mainloop_sleep); FPS = 1/this averaged.

mainloop_draw: Time spent in each frame for drawing (rendering).

client_received_packets: Number of received high-level protocol packets in each frame.

PostPosted: Thu Oct 31, 2013 21:49
by Wuzzy
Thanks!
While this answer is accurate, it is of course way too technical for the community wiki.
I guess this fits better into the dev wiki (but I don’t contribute to it because I’m not a Minetest developer!).

PostPosted: Thu Oct 31, 2013 23:45
by paramat
Thanks for explaining in detail.

Re: profiler graph question

PostPosted: Fri Jul 15, 2016 08:17
by burli
Finally I found this explanation. Maybe someone can add "packets_lost", "rupd_jitter" and "rupd_rtt"?

Re: profiler graph question

PostPosted: Fri Jul 15, 2016 13:18
by azekill_DIABLO
packet lost is self explaining

the other idk

Re: profiler graph question

PostPosted: Tue Jul 19, 2016 09:13
by Tomas Brod
rtt is round trip time. The time for a packet to got from client to server and back, like a ping.
rupd is update (upd) of something (r),
jitter is how much the value jumps around,
packets_lost is how bad is your internet connection.
Important fields are the RTT(ping) and FPS.