1
0
Fork 0
firefox/toolkit/components/url-classifier/tests/performance
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00
..
head.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
perftest.toml Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
perftest_exceptionListLookup.js Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
README.md Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
xpcshell.toml Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00

Url-Classifier 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 toolkit/components/url-classifier/tests/performance/perftest_exceptionListLookup.js

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

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