Questions tagged [profiling]
The profiling tag has no usage guidance.
37
questions
1
vote
0
answers
33
views
Unity Editor Hiccups
I've just started getting Editor hiccups during Play mode (new project) & unable to find out whats causing it.
Is there a way to find out what calls the editor's making to try & debug this?
...
0
votes
1
answer
62
views
Why might performance of a Rust-sdl2 project be better while profiling?
I'm making a simple SDL2-based Rust game, on an OSX laptop. Graphics mostly involves drawing lots of colored squares to the screen. Performance is really slow for what I'm doing, so I decided to ...
1
vote
0
answers
50
views
How to use Profiler samples to profile Start method?
When I use Profiler.BeginSample("Update Example") and Profiler.EndSample() in ...
0
votes
0
answers
132
views
What do I need to do in order to use RenderDoc to capture a frame in an android app(openglES or vulkan)
I used visualstudio 2022 to create a native activity template project.
This project by default, when running on an Android phone, will keep changing the screen colour. After building it to an Android ...
2
votes
0
answers
132
views
Profiling Loading and Unloading of Addressables
I've recently set up a small helper class to load and unload addressables, it contains the following methods for that purpose
...
0
votes
1
answer
261
views
CPU / GPU usage are both below 100% - what is bottlenecking my game?
I've been developing a C++ OpenGL game for the last couple of months.
A few weeks ago I was profiling the game and I noticed that the GPU usage was almost at 100% (with the framerate uncapped). I ...
1
vote
0
answers
44
views
Unreasonable CPU consumption for server build with nographics
I have built my game in server mode on Mac OS and attached profiler to it. In profiler I can see unreasonable high cpu load.
Other scripts take a lot of cpu time. How can this be optimized?
Vsync ...
1
vote
1
answer
709
views
Unity Profiler - How do I correct Audio (WASAPI) Feeder issues?
I've got the following data after running the Unity Profiler:
If I'm reading this correctly, the thing that's driving me down to ~1 FPS is the CPU Audio. I can't understand what's going on here, ...
0
votes
0
answers
517
views
Occasional lag-spikes in performance in heavily optimized game (profiler screenshots included)
So I've been working on a mobile-based platformer for a few years now. I've spent more than a year optimizing the game for mobile as much as I could. Almost every single one of my meshes are using ...
3
votes
2
answers
808
views
What is the purpose of the Allocation Callstacks button in Unity's Profile window?
I have an idea of what this button does, but I cannot find any specific information in the documentation.
What information does this button add to the profiling data? How can I see this extra ...
1
vote
0
answers
97
views
Instances in the Unity Profiler Timeline
What do Instances mean when you click on an operation in the Timeline section of Unity Profiler?
In this example:
Total: 11.90 ms (10 Instances)
1
vote
1
answer
1k
views
Avoiding GC Allocation in Unity UNet API
I'm trying to profile the game using Unity Profiler, I can see in the Hierarchy tab that there's an 18.3 KB correlated to ...
2
votes
2
answers
13k
views
Have VSync on or off while do a game profiling
I'm trying to profile the game using Unity Profiler in order to catch any potential performance issues. The graphics settings support VSync feature.
However, I am not sure which one is the best ...
9
votes
3
answers
9k
views
OpenGL - How come drawing sprites takes so much performance
I'm wondering how drawing simple geometry with textures can eat up so much performance (below 60fps)? Even my good graphics card (GTX 960) can "only" draw up to 1000 sprites smoothly. The textures I'm ...
0
votes
1
answer
929
views
Unity Profiling - Mesh.Bake PhysX CollisionData Doubling CPU cycles
I have a mob that, when it dies, spawns smaller versions of itself. When this happens there's a huge resource spike. The profiler narrowed it down to baking the meshes of the new objects. I have a ...
5
votes
1
answer
1k
views
Profiling unity games on Android devices
I would like to profile our Unity mobile game on Android devices in a way similar to profiling Unity games on iOS with Instruments.
I am aware of how to do this using Unity's profiler, I would ...
0
votes
0
answers
2k
views
Unity - strange performance impact with moving objects
I'm trying to find the solution for 46 hours now and I'd be really happy if someone knows it!
I'm using a DOTween library for moving the objects. I also use ...
0
votes
2
answers
105
views
DirectX function calls' duration
Today I downloaded Nvidia Nsight in order to profe my game GPU side and I came across some doubts:
I can't find only any resource of what are the average times for the
different DirectX functions (...
0
votes
1
answer
95
views
JVM voxel game engine lag spikes
I'm experiencing short lag spikes after some voxel chunks have been created while not moving the camera around. I profiled the application: the JVM implementation uses a lot more memory, about 2.5 ...
1
vote
1
answer
3k
views
How do I interpret the differences between the "Time" and "Self" columns in Unity's profiler?
I'm not quite understanding how to read the results of the profiler:
A method Pathfinding_NodeAdjuster.CheckSpecificArea() method is using up 94.7% of the ...
0
votes
0
answers
45
views
Why does Intel Graphics Monitor crash after I set a depth stencil state in my Direct3D 11 application?
I'm programming a managed Direct3D 11 application with SlimDX. I want to use Intel Graphics Monitor to capture draw calls for a single frame. When I try to set a depth stencil state my application ...
4
votes
2
answers
2k
views
Profiling LibGDX game with GLProfiler
I am trying to profile my LibGDX game, It runs on 60FPS on PC and 42-45 FPS on MY mobile phone. Either I improve performance and raise it to 60, or lock it at 30 (I don´t want to do this).
I have ...
0
votes
2
answers
2k
views
Accurately measure time between calls to onDrawFrame (Android OpelGL ES 2.0)
I'm trying to sort out some timing issues within my gameloop and I've seen something that I don't understand.
The Nexus 10 is supposed to have (as far as I'm aware) a VSync on 60Hz. So that would be ...
2
votes
1
answer
184
views
How can I estimate the perfomance of graphics cards I don't have? [duplicate]
I'm developing a voxel game with OpenGL and want to optimize the number of rendered faces. How can I estimate how many faces at most a modern graphics card of a certain brand is able to compute, while ...
0
votes
1
answer
4k
views
Need help in tracking down memory leak in Unity standalone game
I'm experiencing a memory leak in my Unity game. If the game sits idly (no new game objects are being created in the scene), Windows Task Manager will show the memory of the .exe slowly rising.
I've ...
11
votes
1
answer
1k
views
How can I profile the speed of my vertex and fragment shaders separately?
I'd like to know how I can check to see if either my vertex or my fragment shader is a bottleneck in my rendering pipeline.
I've read about using glQueryCounter ...
3
votes
1
answer
2k
views
RPG - storing player data
Given the following tree structure, where each player logged in can have data for current and completed levels, quests per level, NPCs per quest, and multiple tasks per NPC... I'm trying to figure out ...
1
vote
2
answers
5k
views
Why is mesh baking causing huge performance spikes?
A couple of seconds into the gameplay on my Android device, I see huge performance spikes caused by "Mesh.Bake Scaled Mesh PhysX CollisionData"
In my game, a whole level is a parent object containing ...
6
votes
1
answer
920
views
How to find the bottleneck in a typical OpenGL game?
I am working on a little game engine. All major features are implemented yet, despite game logic which I assume not to be such a computational effort. The framerate is at least around 40 FPS, most of ...
6
votes
0
answers
319
views
OpenGL profiling with AMD PerfStudio 2 [closed]
I'm rendering just a really small amount of polygons for my UI but however I still tried to increase the FPS. In the end I removed redundant calls which increased the FPS. I really don't want to lose ...
5
votes
2
answers
285
views
Game has noticeable frame drops but when through a profiler it always runs smooth
I'm trying to optimize my PC game but I can find the bottleneck since every time I run it through a profiler (gDEBugger) it runs smooths. When running outside gDEBugger I get these annoying hiccups. ...
3
votes
1
answer
6k
views
How to check battery usage of an iPhone/Android app?
I think the title says Enough. For example Unity can generate you a report how much CPU/GPU power it's using or how fast it's going to drain device battery, but what about the applications developed ...
8
votes
3
answers
656
views
How to do profiling and memory pooling per system?
I have been interesting in profiling and keeping a managed memory pool for each subsystem, so I could get statistic on how much memory was being used in something such as sounds or graphics. However, ...
2
votes
1
answer
2k
views
How are profiling- and tracing -techniques used in Game Development?
I feel that in order to create realistic real-life games, game developers need some ways to monitor the system itself i.e. players' moves, other events and the state of the system itself. I know that ...
3
votes
2
answers
637
views
How to check Early Z efficiency on AMD GPU with Windows 7
I have a game using DirectX 9, and a development station using Win 7 x64. I am still able to get access to another station with Vista x64 / dual booted with WinXP x86.
I wanted to check early Z ...
3
votes
2
answers
376
views
Profiling code with threads and script interpreter
Basically, how I profile a game that have multithreading and script interpreter? (Lua in my case)
I have no idea of where to look for that.
Also it would be nice to be able to profile code that ...
6
votes
4
answers
973
views
Profiling server side game loop in java
I am looking for tips to profile the server side game loop of a Java program for CPU usage. I tried to use the TPTP plugin for Eclipse so far.
The problem I am having is that it is really slow. For ...