gecko-dev/intl/benchmarks
Dan Minor 4e7bbb18ad Bug 1717060 - Create a micro benchmark for Intl.NumberFormat; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D118199
2021-06-24 13:06:26 +00:00
..
.eslintrc.js
README.md
head.js
perftest.ini Bug 1717060 - Create a micro benchmark for Intl.NumberFormat; r=nordzilla 2021-06-24 13:06:26 +00:00
perftest_dateTimeFormat.js
perftest_locale.js
perftest_numberFormat.js Bug 1717060 - Create a micro benchmark for Intl.NumberFormat; r=nordzilla 2021-06-24 13:06:26 +00:00
perftest_pluralRules.js Bug 1717080 - Create a micro benchmark for Intl.PluralRules; r=nordzilla 2021-06-17 19:33:34 +00:00
xpcshell.ini Bug 1717060 - Create a micro benchmark for Intl.NumberFormat; r=nordzilla 2021-06-24 13:06:26 +00:00

README.md

Intl Performance Microbenchmarks

This folder contains micro benchmarks using the [mozperftest][] suite.

mozperftest

Recording profiles for the Firefox Profiler

# Run the perftest as an xpcshell test.
MOZ_PROFILER_STARTUP=1 \
  MOZ_PROFILER_SHUTDOWN=/path/to/perf-profile.json \
  ./mach xpcshell-test intl/benchmarks/perftest_dateTimeFormat.js

# Install the profiler-symbol-server tool.
cargo install profiler-symbol-server

# Open the path to the file.
profiler-symbol-server --open /path/to/perf-profile.json