Changes between Version 4 and Version 5 of Profiler2
- Timestamp:
- Aug 4, 2018, 11:18:34 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Profiler2
v4 v5 25 25 Profiler can give you a very detailed view of the game.[[BR]] 26 26 27 [[Image(http ://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/report-timeline.PNG, 700px, border=2)]]27 [[Image(https://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/report-timeline.PNG, 700px, border=2)]] 28 28 29 29 The top timeline shows you the time taken by each frame to complete. The higher and wider, the slower. This allows you to easily notice spikes. The scale is logarithmic.[[BR]] … … 41 41 The images below show profiling of pathfinder functions. As you can see from the sudden rise on the right-side, those function sometimes take much longer than their average case. 42 42 43 [[Image(http ://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/analysis-long.PNG, 400px, border=2)]][[Image(http://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/analysis-short.PNG, 400px, border=2)]]43 [[Image(https://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/analysis-long.PNG, 400px, border=2)]][[Image(https://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/analysis-short.PNG, 400px, border=2)]] 44 44 45 45 46 46 This graph shows you a function which generally takes under 5ms, but about 50% of the time takes 40ms or more. 47 47 48 [[Image(http ://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/analysis-updatrgrid.PNG, 700px, border=2)]]48 [[Image(https://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/analysis-updatrgrid.PNG, 700px, border=2)]] 49 49 50 50 The frame-by-frame graphs shows you how long an event took frame-by-frame, which can be used along with the report timelines to find out precisely what frames are slow and thus what causes the slowness. … … 55 55 Load them up in the interface and click on some of the events. The graphs will then show you the event for all reports, so you can easily compare them. You will also get a table recapitulating some information to help you decide if an optimization is worth it. 56 56 57 [[Image(http ://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/compare-reports.PNG, 800px, border=2)]]57 [[Image(https://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/compare-reports.PNG, 800px, border=2)]] 58 58 59 59 = Choosing what you wish to profile =