Firefox OS/Performance/Bisecting Regressions: Difference between revisions

Jump to navigation Jump to search
Line 177: Line 177:


<pre>
<pre>
$ git bisect start
$ cd gaia
$ git bisect start 9da1b9c d4655e7
Bisecting: 33 revisions left to test after this (roughly 5 steps)
[9e90675d3486ad7494e7333fcf2871c8510e4736] Merge pull request #15833 from gitmai/bug-965512-costcontrol-jshint-fix
$ cd ..
</pre>
 
Git has chosen revision 9e90675 as the next revision of Gaia to test.  It is roughly halfway between the regression range revisions.  So now, we need to make a build and test it:
 
<pre>
$ ENABLE_MARIONETTE=1 ./build.sh -j
$ ENABLE_MARIONETTE=1 ./flash.sh
$ adb forward tcp:2828 tcp:2828
$ b2gperf --delay=10 --iterations=30 Contacts
.
.
.
2014-04-16 22:27:23,370 B2GPerfRunner INFO    | Results for Contacts, cold_load_time: median:1315, mean:1332, std: 88, max:1792, min:1262,
all:1342,1792,1309,1293,1303,1302,1291,1290,1298,1311,1313,1331,1319,1316,1346,1354,1315,1320,1341,1324,1361,1318,1350,1262,1326,1300,1310,1296,1308,1321
</pre>
 
The median of 1315 means that this revision is bad.  Let's tell git that by running git bisect bad:
 
<pre>
$ cd gaia
$ git bisect bad
Bisecting: 15 revisions left to test after this (roughly 4 steps)
[f7700e69a1bc2fbbabb80bf3aebcc77498a5647a] Bug 951670 - Contacts list edit mode: Update layout
$ cd ..
</pre>
 
Now we test the next revision, f7700e6:
 
<pre>
$ ENABLE_MARIONETTE=1 ./build.sh -j
$ ENABLE_MARIONETTE=1 ./flash.sh
$ adb forward tcp:2828 tcp:2828
$ b2gperf --delay=10 --iterations=30 Contacts
.
.
.
</pre>
canmove, Confirmed users
225

edits

Navigation menu