running.rst (950B)
1 Running a performance test 2 ========================== 3 4 Running locally 5 --------------- 6 7 Running a test is as simple as calling it using `mach perftest` in a mozilla-central source 8 checkout:: 9 10 $ ./mach perftest 11 12 The `mach` command will bootstrap the installation of all required tools for the 13 framework to run, and display a selection screen to pick a test. Once the 14 selection is done, the performance test will run locally. 15 16 If you know what test you want to run, you can use its path explicitly:: 17 18 $ ./mach perftest perftest_script.js 19 20 `mach perftest` comes with numerous options, and the test script should provide 21 decent defaults, so you don't need to adjust them. If you need to tweak some 22 options, you can use `./mach perftest --help` to learn about them. 23 24 25 Running in the CI 26 ----------------- 27 28 .. warning:: 29 30 If you are looking for how to run performance tests in CI and ended up here, 31 you should check out :ref:`Mach Try Perf`.