Optimize small Java SVG to PDF converter

I have a small Java utility that is run from the command line and converts a folder of SVGs into a PDF. The utility uses Apache FOP to do the conversion. I am not a Java expert and so hired someone to write this utility for me. It works correctly, but is VERY slow. It takes at least 7-8 seconds to run for a single page, and multi-page PDFs take 15-30 seconds. I have attached the source file as well as an archive representing the "typical" input folder. I am calling the utility as follows:

java -jar /var/www/helper_code/[url removed, login to view] /var/www/helper_code/pdf_staging/73898/10333/master*.svg /var/www/helper_code/pdf_staging/73898/10333/[url removed, login to view]

I am looking for someone that can optimize this utility for me so that it runs more quickly. Ideally I would like it to run in less than 5 seconds.

Habilidades: Java, Linux, Arquitetura de software

Veja mais: svg2pdf, small architecture, java expert, java file utility, apache optimize, html pdf converter library java, file utility java, apache fop java, pdf converter java, java apache, java command, pdf java small project, rtf pdf converter java, java small project pdf, small java, pdf jar converter, pdf converter software, odt pdf converter java, java pdf converter, java jar java converter, java fop, jar java converter, jar converter java, file pdf converter using java php, html pdf converter free java

Acerca do Empregador:
( 16 comentários ) Fullerton, United States

ID do Projeto: #6815152

Concedido a:


I'm an expert in java with over ten years experiences. I also have much experience in file conversion using FOP. I read your code, and I can help you to optimize it.

$200 USD em 1 dia
(4 Comentários)

9 freelancers estão ofertando em média $132 para esse trabalho


I have 7 years experience in JAVA and ready to work on your project. Are you looking for 5 sec which will be for total file or single page?

$111 USD in 3 dias
(99 Comentários)

A proposal has not yet been provided

$150 USD in 3 dias
(46 Comentários)

what kind of machine you are running on? on my machine (2.5G cpu, 8G RAM) the result is <3s.........there is some error but here is the the result: $ time java -jar [login to view URL] 73898/10333/[login to view URL] [login to view URL] Mais

$155 USD in 3 dias
(14 Comentários)

Hi, There's only so much you can do to optimize this code. It just takes a lot of resources to read through and change all the files since it has to make copies of everything as it goes. I can rearrange some of the Mais

$35 USD in 2 dias
(5 Comentários)

Hi, I am software developer and technical support engineer having 5.5 years experience in JAVA, My sql, Sql Server,Ms access application. I am ready to work with you. I am not a new freelancer, Please see m Mais

$35 USD in 3 dias
(2 Comentários)

Hello Sir, Sir i am dam sure i can do this please give me one chance dont need to pay me any thing pay me when u see i am on right path but plz give me one chance to prove my self i am a real proffessional and authent Mais

$263 USD in 3 dias
(0 Comentários)

i have experience. and i created another converter before project. it is working fine. and i will create VERY FAST application. thanks Cheers, Pingo

$208 USD in 3 dias
(0 Comentários)

EDIT: I couldn't get the code to run locally, probably I couldn't find the right version of libraries or something, anyway this meant I had to guess which parts needed optimizing, so here's my best guess: https://dl.d Mais

$30 USD in 2 dias
(0 Comentários)