gecko-dev/intl/benchmarks
2022-08-03 11:16:20 +00:00
..
head.js
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
perftest.ini Bug 1717060 - Create a micro benchmark for Intl.NumberFormat; r=nordzilla 2021-06-24 13:06:26 +00:00
README.md
xpcshell.ini Bug 1717060 - Create a micro benchmark for Intl.NumberFormat; r=nordzilla 2021-06-24 13:06:26 +00:00

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