Skip to content

Conversation

@mstange
Copy link
Contributor

@mstange mstange commented Nov 6, 2025

Sometimes I've wanted to inspect profiles from the command line, without loading them in the web UI.

Here's an experiment I've been working on, which creates a pq tool ("profile query"). To test, clone this branch and run yarn build-profile-query-cli - this creates a ./dist/pq.js artifact. Then somehow make it accessible via your path, for example by putting a shell script with the contents node ~/code/profiler/dist/pq.js $@ into a bin directory in your path.

pq load 'https://share.firefox.dev/hash' or pq load profile.json.gz start a session.

Only tested on macOS so far. It uses unix domain sockets so it probably doesn't work on Windows atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant