-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Optimizing parsing .bru files while program starts #3686
Comments
Thanks for reporting, adding it to our development pipeline. |
Hi @SPIRIT-00 , we have a beta build for this issue. Please check it out and let me know how it goes. Thanks! |
Hi there, i downloaded portable version. Loading became much slowly. Fully loaded after ~20mins. On start loading interface still freezes but fast unfreeze. Requests loading fully randomly? Mean many folders have several unloaded reqs. |
I had a similar experience, my biggest collection has around 1K requests Before
Now
|
Hi, thanks for checking it out and providing feedback. We're working on reducing time to full load, will post updates when a test build is available. |
@SPIRIT-00 @tlaloc911 can you try running this pr on your systems and let me know if you notice any difference in perf ? |
Hi @lohxt1 It worked well with a 200 requests collection It didnt work with the biggest one. Starting the app and waiting without doing anything else Electron's memory starts growing until 4 GB and then it crashes without a trace. Just this:
I notice that at some moment request count grew until 1143 but there are only 986 bru files in folder
I also tried moving around the app while the loading happens, and it also crashes, with some more info
|
thanks for testing the pr @tlaloc911 in the below code
located at could you try setting a higher number ~500 ? instead of 100 |
and would it be possible to share the collection if you're okay with that ? here, or send it to my email lohit@usebruno.com |
It loaded setting it to 500 👍 : still it showed a total of 1143 requests, and the loaded requests count also reached that 1143 ![]() but when loading finished it adjusted to the correct 965 ![]() Total time of 3 mins an a half was better than the previous version but still slower with no worker's version. Ill test with other WORKER_QUEUE_MAX_LENGTH values EDIT: 350 ![]() 250 ![]() 200 ![]() 150 ![]() |
I'm afraid I can't share the original collection, but can prepare a dummy one with the same characteristics. Ill send it during the weekend. |
yeah sure, i just wanted to get an idea of the request file size distribution in your collection, i have tested the pr with collections containing 300, 1000 and 3000 requests with the file sizes varying between 1KB and 10KB each
were you able to interact with the requests that were fully loaded while the others were still loading ? and did you notice any sort of improvement in the app's responsiveness with the worker's version ? |
This is the distribution of bru files in the collection
The general feeling is good, now starting is fast and it was possible to interact with loaded request. I perceive slowness / unresponsiveness while loading two collections at the same time. Also at executing runner while loading, may be it is convenient to lock runner while loading is happening. Thanks @lohxt1 for your efforts, this change is possitive for UX |
thanks for the stats, i will try creating a collection based on this and perform more tests.
![]() currently, there is only a warning text indicating that the collection requests are loading. disabling the runner based on the collection/folder request load status could be a valid option |
I'm hoping this will prioritize the bru files that I want to open first. If I select a folder, will it jump to the top of the loading queue? |
Nope, still not loading faster then it's was before. And it have infinity load animation on top level folder. Same with 1.39 version. I may send my reqs if needed, just need to delete some sensitive info. |
Hi, we've a build out for the slow load issue. Please check it out and let me know how it goes. Thanks! |
Interface freezes a bit longer and totally stuck, but after unfreeze it loaded all folders faster. |
I have checked the following:
Describe the feature you want to add
I've large collections, about 3,8k files. And each start of program be like: "launch Bruno and go away...". In many cases i need just a few specific
reqs
, not all collection.I suggest:
*Top level folders means one step after collection level:
Probably be solved by this pr #3618
Mockups or Images of the feature
The text was updated successfully, but these errors were encountered: