-
Notifications
You must be signed in to change notification settings - Fork 65
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
Feature Request: Ignore specific methods / Add Call-Log Threshold #51
Comments
Sure thing! It's a problem I predicted, but nobody ever reported, so I thought perhaps it wasn't very common. :) fondue will not instrument a file containing It's slightly tricky because the arguments are captured at the call site as well as inside that function (in case the function isn't instrumented, like |
I tried that but it didn't work, even with difference space-styles (start, end).
Does that mean you're going to implement that change? Cheers |
Yeah, sorry I was unclear. I'm proposing to make |
Alright, that would be a great help! What about the recording limit, is that too much work? Maybe I can help if |
That'd be great! General project documentation for working on Theseus is here: https://github.com/adobe-research/theseus/wiki/Theseus-Development You'd be working in tracer.js in fondue. Probably what you would do is modify
|
Hi @alltom, thanks for the brainstorming! |
Oh, I think I misunderstood your original problem then. I had assumed that if Brackets was using too much RAM, fondue (which runs in Chrome on the debugged web page) was probably also using too much RAM, since the information in Brackets is always a subset of what's in fondue. However, if the problem is actually that the DOM for the log panel is growing too large, that's different! The fix you just proposed makes sense then. The functions you'll need to modify are
But I guess you'll see! :) |
Sounds good, I'll try to get something together! |
Hey, I really tried to get this to work but I couldn't. |
It's just me, but I'll see what I can do. I don't have terribly much time for Theseus these days, though. :( |
I thought it's under the umbrella from adobe, isn't it? |
Yes, but I'm the team at the moment, though the Brackets team also sends some excellent pull requests. :) |
When I create a game library, I usually have a game-loop function.
Because Theseus logs every object for each call, my RAM runs low very quickly in these cases.
As you can see, the RAM increases to 600MB and was still growing. Luckily I have 16GB RAM.
Usually Brackets uses 172-200MB.
Could we get a possibility to ignore certain methods? Maybe via a comment or something.
Or maybe Theseus could get a threshold to hold only the last 20/50/100 calls (but still increase the counter)?
Thanks
The text was updated successfully, but these errors were encountered: