Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Very long time to open/ show a specific PDF file

Đang mở
#693 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
c, linux
Lĩnh vực
desktop, performance

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện độ trễ với tệp đính kèm Killer_PDF_toom-Anleitung-PDF.pdf trên Linux Mint 21.3 bằng XReader 4.0.2, sau đó so sánh thời gian mở tệp này với các viewer được báo cáo. Issue đề cập đến việc render, mức sử dụng CPU và việc thiếu phản hồi tiến trình, nhưng không nêu tên tệp mã nguồn hay test nào; được xem là hoàn thành nếu có cải thiện đo lường được hoặc phản hồi rõ ràng cho biết hệ thống đang bận.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Distribution

Linux Mint 21.3 Cinnamon

Package version

4.0.2

Frequency

Always

Bug description

A specific PDF file (attached) needs minutes to be shown - is seems to be (very) complex to render.
XReader uses only ONE of EIGHT available Threads of my Intel i7-4702MQ CPU @8GB RAM (Fujitsu Lifebook E744) - so the time could be much shorter using all available resources.
User without looking at CPU load could think XReader hung up.

Steps to reproduce

Just open the attached PDF "Killer_PDF_toom-Anleitung-PDF.pdf"

Expected behavior

Better performance from End-user-point-of-view.
Usage of all free HW resources
Visual information about opening process (progress bar) to show XReader is busy

Benchmark Testing

XReader (4.0.2) needs 150s to open the file, all pages immediately accessible

Brave (142.1.84.141) needs 90s to show first page, but additional time to show new page (even it it was shown already before)

Okular (Flatpak 25.08.2) needs 170s to open the file completely. Before that new pages needs 20s to be shown properly

Firefox (145.0) needs less than 15s, all pages immediately accessible.

Master PDF Editor (5.9.94) needs 15s to open the file, but additional 2s per new page.

Xournal (Flatpak 1.2.8) needs 70s to open the file, all pages immediately accessible.

Firefox performs by far the best.

Killer_PDF_toom-Anleitung-PDF.pdf

Additional information

It seems none of the PDF viewers mentioned above uses more than one CPU thread - so here is potentially big room for improvement.

Ngôn ngữ chính
C
Star
286
Fork
82
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxmint/xreader

Tất cả issue của linuxmint/xreader

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.