sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

FPS metrics

Open bitsandfoxes opened this issue 3 years ago • 1 comments

Test if we can validate fps:

Metric used here:

  • Good frames ( < 20ms )
  • Bad frames ( > 20ms but not yet frozen)
  • Frozen frames

Frozen frame issue: Unity has a limit on how big delta time can get to preserve continuity for the player experience. We could work around that by calculating the delta time ourselves -> MeasureDeltaTime() Things to consider for the metrics:

  • How often did the game get frozen
  • How long was is frozen for

Screenshot 2021-05-05 at 10 37 48 #skip-changelog

bitsandfoxes avatar May 05 '21 08:05 bitsandfoxes

Once we have some transactions being generated (see: https://github.com/getsentry/sentry-unity/issues/235) we can get back to this PR and add some measurements

bruno-garcia avatar Jun 22 '21 20:06 bruno-garcia

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Oct 18 '23 07:10 getsantry[bot]

@bitsandfoxes this one soon will make sense? with the new metrics stuff

bruno-garcia avatar Oct 19 '23 05:10 bruno-garcia

@bitsandfoxes with 4.0.0 you could use this now

bruno-garcia avatar Jan 16 '24 16:01 bruno-garcia

@bitsandfoxes with 4.0.0 you could use this now

I think the name is misleading. Initially, we wanted to have those as mobile vitals.

bitsandfoxes avatar Jan 19 '24 09:01 bitsandfoxes