Skip to content

How do I "call Profile.init() with a larger buffer and/or larger delay"? #228

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

Closed
matthewelmer opened this issue May 13, 2024 · 1 comment

Comments

@matthewelmer
Copy link

Thanks for this nifty package! I just have a question about a warning I'm getting.

┌ Warning: The profile data buffer is full; profiling probably terminated
│ before your program finished. To profile for longer runs, call
│ `Profile.init()` with a larger buffer and/or larger delay.
└ @ Profile ~/.julia/juliaup/julia-1.10.3+0.x64.linux.gnu/share/julia/stdlib/v1.10/Profile/src/Profile.jl:609

Unfortunately, there is precisely zero documentation on the init function. How do I "call Profile.init() with a larger buffer and/or larger delay"?

@matthewelmer
Copy link
Author

Aha! Turns out that this package uses Profile.jl under the hood -- I didn't realize that this warning was coming from a dependency. Everything I need to know can be found here!

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

No branches or pull requests

1 participant