[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to