You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (Jira)" <ji...@apache.org> on 2021/11/21 17:36:00 UTC
[jira] [Commented] (PDFBOX-5329) Add Benchmark Package
[ https://issues.apache.org/jira/browse/PDFBOX-5329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447072#comment-17447072 ]
Maruan Sahyoun commented on PDFBOX-5329:
----------------------------------------
To generate/run the benchmarks
{noformat}
mvn clean install
# list all available benchmarks
java -jar target/benchmarks.jar -l
# run an individual benchmark one time
java -jar target/benchmarks.jar -bm SingleShotTime org.apache.pdfbox.benchmark.LoadAndSave.loadLargeFile
# run an individual benchmark one time and gather profiling data (using JavaFlightRecorder)
java -jar target/benchmarks.jar -prof jfr -bm SingleShotTime org.apache.pdfbox.benchmark.LoadAndSave.loadLargeFile
# run all LoadAndSave benchmarks
java -jar target/benchmarks.jar -bm SingleShotTime org.apache.pdfbox.benchmark.LoadAndSave {noformat}
> Add Benchmark Package
> ---------------------
>
> Key: PDFBOX-5329
> URL: https://issues.apache.org/jira/browse/PDFBOX-5329
> Project: PDFBox
> Issue Type: New Feature
> Components: Utilities
> Affects Versions: 3.0.0 PDFBox
> Reporter: Maruan Sahyoun
> Priority: Minor
> Attachments: benchmark.zip
>
>
> As part of PDFBOX-5068, PDFBOX-5263 and PDFBOX-5286 a small set of benchmarks has been used utilizing JMH. I'm attaching the code as a potential new module for review.
> The benchmarks are for
> - loading and saving
> - text extraction
> - rendering
> All files used are downloaded except the Ghent PDF Output Suite as one needs to accept a disclaimer in order to do so.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org