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

openPDF performance decrease 40%, compared version 1.3.29 and 1.3.43 #1254

Open
missFuture opened this issue Dec 28, 2024 · 1 comment
Open
Labels

Comments

@missFuture
Copy link

PLEASE FILL THIS TEMPLATE AS MUCH AS POSSIBLE. REMOVE IRRELEVANT PARTS.

Describe the bug

After the OpenPDF version is upgraded from 1.3.29 to 1.3.43, the efficiency of writing files decreases significantly. The minimum time increases from 350 ms to 600 ms, and the maximum time increases from 600 ms to 950 ms. We tested 50,000 data records, and the time increases from 42 seconds to 70 seconds.
We also tested version 1.3.36 and did not have this problem. We suspect that version changes between 1.3.36 and 1.3.43 are affecting the performance of openPDF.

To Reproduce

Code to reproduce the issue

  1. Sample Code
  2. Unit-Test
    we use arthas monitor writing process

Expected behavior

same performance

Screenshots

If applicable, add screenshots to help explain your problem.
image

image

image

System

(please complete the following information)

  • OS: [e.g. iOS]
  • Linux szvphis6070115 4.18.0-147.5.2.15.h1109.eulerosv2r10.x86_64 change group ID in pom.xml #1 SMP Thu Dec 8 04:08:54 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • Used font:
  • OpenPDF version:1.3.43, 1.3.36(no problem),1.3.29(no problem)

Your real name

lixulong, my email is [email protected]

Additional context

we download jar from https://repo1.maven.org/maven2/com/github/librepdf/openpdf/1.3.43/
https://repo1.maven.org/maven2/com/github/librepdf/openpdf/1.3.29/
https://repo1.maven.org/maven2/com/github/librepdf/openpdf/1.3.36/

@missFuture missFuture added the bug label Dec 28, 2024
@missFuture missFuture changed the title openPDF performance decrease 40%, compared version 1.3.29 and 1.3.4 openPDF performance decrease 40%, compared version 1.3.29 and 1.3.43 Dec 30, 2024
@andreasrosdal
Copy link
Contributor

andreasrosdal commented Jan 8, 2025

Can you please help find out which specific version of OpenPDF that this problem began, specifically which version between 1.3.36 and 1.3.43 that it began.

Thank you for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants