mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 08:35:53 +03:00
[GH-ISSUE #1553] Application hangs (not responding) when adding filters on macOS 13.1 #1546
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1546
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rubenrdias-twipe on GitHub (Feb 21, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1553
Description
When some logs are available (not many are required, e.g. ~50+), and I try to add a filter (very basic, e.g. All + Contains + "some filter"), the app hangs (not responding) with the macOS default loading cursor for many seconds. I've experienced 20+ seconds of hang time and it varies, usually takes more than 10s to unblock, and this seems dependent on the number of logs available.
Steps to Reproduce
Current Behavior
App hangs (not responding) for several seconds. After the hanging is resolved, changing the filter re-triggers the issue.
Expected Behavior
Filtering does not cause the app to hang (not responding). Maybe 1-2 would be acceptable, but not 20+ seconds.
Environment
@NghiaTranUIT commented on GitHub (Feb 21, 2023):
Hey @rubenrdias-twipe I guess the "All" is the problem since it tries to search on the Header, URL, Query, Status Code, and the Body of the Request/Response.
It can be slow if there is a large JSON Body.
If you know where the data is (maybe it's in the header, URL, or Query), you should narrow the scope down. It might fix the issues.
@NghiaTranUIT commented on GitHub (Feb 21, 2023):
Meanwhile, I will try to improve the performance of the ALL filter. Maybe move the heavy searching operation off the main thread to avoid the app's unresponsiveness.
@rubenrdias-twipe commented on GitHub (Feb 21, 2023):
Thanks for the quick feedback! Changing the filters from "All" to e.g. "URL" eliminates the waiting time, and searches are instantaneous. The app is no longer non-responsive!
It would be great indeed to have the "All" filter be more performant, but this already pretty good.
Thanks!