Performance Lag When Selecting Elements in "Create List" on Maoyan Leaderboard Page
Hello,
I'm experiencing performance issues with Maxun when attempting to scrape the Maoyan movie leaderboard page (https://www.maoyan.com/board/4).
Steps to Reproduce:
- Navigate to https://www.maoyan.com/board/4.
- In Maxun, click on "Create List."
- Attempt to select multiple elements on the page for data extraction.
Observed Behavior: After selecting an element, the interface becomes sluggish, making it difficult to select multiple elements consecutively.
Is there a solution to this issue? Thank you for your assistance!
Thanks for reporting. Can you tell us:
- Your operating system
- System specs (RAM etc.)
It will help us understand the issue better and roll out a fix. @sunyuan1111
Thanks for reporting. Can you tell us:
- Your operating system
- System specs (RAM etc.)
It will help us understand the issue better and roll out a fix. @sunyuan1111
Response:
Hello, thank you for your response!
Here is my system information:
- Operating System: Windows 11 Home Edition (Version 23H2)
- System Specifications:
- Device Name: sunyuan
- Processor: AMD Ryzen 5 5600H with Radeon Graphics, 3.30 GHz
- Memory (RAM): 16.0 GB (15.9 GB usable)
- System Type: 64-bit operating system, x64-based processor
- Additional Information:
- Installation Date: 2023/9/21
- OS Build: 22631.4602
- Windows Feature Experience Pack: 1000.22700.1055.0
While using Maxun, I noticed the following issues:
- When attempting to scrape the Maoyan leaderboard page, after selecting an element, the interface becomes sluggish, making it difficult to select multiple elements consecutively.
- The logs indicate that the remote browser is frequently retrieved from the pool, but it seems there’s no resource release happening.
Questions:
- Does the complexity of the page significantly affect Maxun's performance? Are there any optimization suggestions for dynamic pages?
- Is it possible to adjust Maxun's resource scheduling mechanism or optimize the selector engine to resolve the sluggish behavior?
If needed, I can provide more detailed logs or configuration information. Looking forward to your guidance!
Thank you!
backend-1 | 2024-12-20T03:03:17.472Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:17.505Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:17.568Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:17.602Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:17.645Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:17.674Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:18.009Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:18.040Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:18.085Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:18.132Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:18.178Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:18.214Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:18.263Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:18.291Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:18.334Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool backend-1 | 2024-12-20T03:03:18.365Z debug: Remote browser with id: 650a8bb4-2aa9-47de-afe2-7f3a29afb66d retrieved from the pool
@sunyuan1111 Thanks for such a detailed response. We are looking into this and will get back as soon as possible.
@sunyuan1111 we have identified the problem. Improvements will be available from v0.0.6. We are actively working on this. Thank you!