Changes between Version 3 and Version 4 of Profiler2


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Profiler2

    v3 v4  
    2525Profiler can give you a very detailed view of the game.[[BR]]
    2626
    27 [[Image(http://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/report-timeline.PNG)]]
     27[[Image(http://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/report-timeline.PNG, 700px, border=2)]]
    2828
    2929The 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]]
     
    4141The 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.
    4242
    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)]]
     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)]]
    4444
    4545
    4646This graph shows you a function which generally takes under 5ms, but about 50% of the time takes 40ms or more.
    4747
    48 [[Image(http://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/analysis-updatrgrid.PNG, 800px)]]
     48[[Image(http://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/analysis-updatrgrid.PNG, 700px, border=2)]]
    4949
    5050The 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.
     
    5555Load 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.
    5656
    57 [[Image(http://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/compare-reports.PNG, 800px)]]
     57[[Image(http://trac.wildfiregames.com/raw-attachment/wiki/Profiler2/compare-reports.PNG, 800px, border=2)]]
    5858
    5959= Choosing what you wish to profile =