no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / intl / benchmarks / README.md
blob386cd1f182aa2762142eac28e4b4d57b9ee403ce
1 # Intl Performance Microbenchmarks
3 This folder contains micro benchmarks using the [mozperftest][] suite.
5 [mozperftest](https://firefox-source-docs.mozilla.org/testing/perfdocs/mozperftest.html)
7 ## Recording profiles for the Firefox Profiler
9 ```sh
10 # Run the perftest as an xpcshell test.
11 MOZ_PROFILER_STARTUP=1 \
12   MOZ_PROFILER_SHUTDOWN=/path/to/perf-profile.json \
13   ./mach xpcshell-test intl/benchmarks/perftest_dateTimeFormat.js
15 # Install the profiler-symbol-server tool.
16 cargo install profiler-symbol-server
18 # Open the path to the file.
19 profiler-symbol-server --open /path/to/perf-profile.json
20 ```