Page MenuHomeWildfire Games

Improve the "% of better frames" in the Profiler2 report when comparing 2 profiles
AbandonedPublic

Authored by wraitii on May 15 2018, 7:45 PM.

Details

Reviewers
None
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Summary

The current implementation counted as better equal frames, and also counted frames where the currently selected profile category did not trigger, which made little sense.

Test Plan

Review.

To test this:

  1. Start a game
  2. Enable profiler2 and the HTTP server.
  3. Open 0AD/source/tools/profiler2/profiler2.html
  4. Click on the top-most button "save report to file".
  5. Click on "Choose File" below the title, and select [log folder path]/profile.json
  6. Marvel as you have two profile reports open.
  7. In the analysis section, on the Choices tab (which should now list various stuff such as "MakeGoalReachable"), click on one.
  8. In the very bottom, you should see "Report Comparison". It should make sense. Before it didn't make sense.

Diff Detail

Repository
rP 0 A.D. Public Repository
Branch
temp
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 6065
Build 10103: Vulcan BuildJenkins
Build 10102: arc lint + arc unit

Event Timeline

wraitii created this revision.May 15 2018, 7:45 PM
Vulcan added a subscriber: Vulcan.May 15 2018, 7:47 PM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/differential/493/display/redirect

wraitii planned changes to this revision.May 15 2018, 7:48 PM

Inconsistent zeroes.

wraitii edited the test plan for this revision. (Show Details)May 15 2018, 8:00 PM
wraitii abandoned this revision.Jan 27 2019, 3:44 PM