TestEngineering/Performance/Raptor/Browsertime: Difference between revisions

Line 14: Line 14:
* A local mozilla repository clone with a [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions successful Firefox build] completed
* A local mozilla repository clone with a [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions successful Firefox build] completed


==== Setup ===
=== Setup ===
* Run <code>./mach browsertime --setup</code>
* Run <code>./mach browsertime --setup</code>
* To check your setup, run <code>./mach browsertime --check</code>, which will output something like:<br>
* To check your setup, run <code>./mach browsertime --check</code>, which will output something like:<br>
Line 24: Line 24:
SSIM:    OK<br>
SSIM:    OK<br>
</code>
</code>
⚠️ If ffmpeg is listed as FAIL, you might want to try this:
⚠️ If <tt>ffmpeg</tt> is listed as FAIL, you might want to try this:
* <code>cd ~/.mozbuild/browsertime/ffmpeg-4.1.1-macos64-static/bin</code>
* <code>cd ~/.mozbuild/browsertime/ffmpeg-4.1.1-macos64-static/bin</code>
* <code>chmod +x ffmpeg ffplay ffprobe</code>
* <code>chmod +x ffmpeg ffplay ffprobe</code>


Now, try re-running <code>./mach browsertime --check</code>, with <code>ffmpeg</code> hopefully fixed
Now, try re-running <code>./mach browsertime --check</code>, with <code>ffmpeg</code> hopefully fixed
If <tt>convert</tt> and <tt>compare</tt> are also <code>FAIL</code>
Bugs which might further help are [https://bugzilla.mozilla.org/show_bug.cgi?id=1559168 bug 1559168], [https://bugzilla.mozilla.org/show_bug.cgi?id=1559727 bug 1559727], and [https://bugzilla.mozilla.org/show_bug.cgi?id=1574964 bug 1574964], for starters
Bugs which might further help are [https://bugzilla.mozilla.org/show_bug.cgi?id=1559168 bug 1559168], [https://bugzilla.mozilla.org/show_bug.cgi?id=1559727 bug 1559727], and [https://bugzilla.mozilla.org/show_bug.cgi?id=1574964 bug 1574964], for starters
* If you plan on running Browsertime on Android, your Android device must already be set up (see more below in the Android section)
* If you plan on running Browsertime on Android, your Android device must already be set up (see more below in the Android section)
Confirmed users
9,511

edits