Changes between Version 2 and Version 3 of Profiler2


Ignore:
Timestamp:
Jun 22, 2016, 4:22:29 PM (8 years ago)
Author:
wraitii
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Profiler2

    v2 v3  
    2424== The Report interface ==
    2525Profiler can give you a very detailed view of the game.[[BR]]
    26 [[Image(http://trac.wildfiregames.com/attachment/wiki/Profiler2/report-timeline.PNG)]]
     26
     27[[Image(http://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/report-timeline.PNG)]]
     28
    2729The 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]]
    2830Clicking anywhere on the frame timeline will show you the events around that point.
     
    3941The 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.
    4042
    41 [[Image(http://trac.wildfiregames.com/attachment/wiki/Profiler2/analysis-long.PNG)]][[Image(http://trac.wildfiregames.com/attachment/wiki/Profiler2/analysis-short.PNG)]]
     43[[Image(http://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/analysis-long.PNG, 400px)]][[Image(http://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/analysis-short.PNG, 400px)]]
    4244
    4345
    4446This graph shows you a function which generally takes under 5ms, but about 50% of the time takes 40ms or more.
    4547
    46 [[Image(http://trac.wildfiregames.com/attachment/wiki/Profiler2/analysis-updatrgrid.PNG)]]
     48[[Image(http://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/analysis-updatrgrid.PNG, 800px)]]
    4749
    4850The 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.
     
    5355Load 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.
    5456
    55 [[Image(http://trac.wildfiregames.com/attachment/wiki/Profiler2/compare-reports.PNG)]]
     57[[Image(http://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/compare-reports.PNG, 800px)]]
    5658
    5759= Choosing what you wish to profile =