Skip to content

Add the ability to pass custom profiler options to profile.start #665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

canova
Copy link

@canova canova commented Jul 23, 2025

This fixes #662. Please see the PR also for more context.

It looks like p.start accepts some profiler options, but it wasn't possible to pass them through profile.start in plenary. It was hard coded, but it would be great if we can also pass our own custom profiler options. That way people who use the profiler can change the settings easily.

The main use case I had was to see the full paths of the Lua modules. I wanted to append F to the settings to make it work. With this option, I will be able to do it.

For example, here's an example output I had with "10,i1,s,m0,F,p,G" as options: https://share.firefox.dev/460Xsdw

Thanks for the project!

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.

Consider adding the ability to pass p arguments to profile.start
1 participant