Skip to content
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

Performance Lag When Selecting Elements in "Create List" on Maoyan Leaderboard Page #271

Open
sunyuan1111 opened this issue Dec 19, 2024 · 4 comments
Labels
Status: In Review This PR is being reviewed Type: Bug Something isn't working

Comments

@sunyuan1111
Copy link

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:

  1. Navigate to https://www.maoyan.com/board/4.
  2. In Maxun, click on "Create List."
  3. 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!

@amhsirak
Copy link
Member

Thanks for reporting. Can you tell us:

  1. Your operating system
  2. System specs (RAM etc.)

It will help us understand the issue better and roll out a fix. @sunyuan1111

@sunyuan1111
Copy link
Author

Thanks for reporting. Can you tell us:

  1. Your operating system
  2. 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:

  1. Operating System: Windows 11 Home Edition (Version 23H2)
  2. 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:

  1. When attempting to scrape the Maoyan leaderboard page, after selecting an element, the interface becomes sluggish, making it difficult to select multiple elements consecutively.
  2. The logs indicate that the remote browser is frequently retrieved from the pool, but it seems there’s no resource release happening.

Questions:

  1. Does the complexity of the page significantly affect Maxun's performance? Are there any optimization suggestions for dynamic pages?
  2. 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!
QQ_1734663746799
QQ_1734663782964

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

@amhsirak
Copy link
Member

@sunyuan1111 Thanks for such a detailed response. We are looking into this and will get back as soon as possible.

@amhsirak amhsirak added Type: Bug Something isn't working Status: In Review This PR is being reviewed labels Dec 20, 2024
@amhsirak
Copy link
Member

@sunyuan1111 we have identified the problem. Improvements will be available from v0.0.6. We are actively working on this. Thank you!

@amhsirak amhsirak added the Priority: High Needs to be resolved ASAP label Dec 22, 2024
@amhsirak amhsirak moved this to In Progress in Maxun Roadmap 🚀 Dec 26, 2024
@amhsirak amhsirak removed the Priority: High Needs to be resolved ASAP label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In Review This PR is being reviewed Type: Bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

2 participants