I ran pdf2swf manually on the command line to verify the time. The first time I ran it on the command line, it took a similar ~30 seconds to convert. However, I ran the conversion again (with the same parameters) on the command line a few minutes later and it finished almost instantaneously. Now every time I run it, it's speedy and I'm unable to reproduce the 30second runtime.
I assume something is being cached somewhere after the first run. Even if I change the input file name and move to a different directory, it's still runs quickly. Can someone please explain what's going on here?
I observed the same behavior on my desktop (fairly powerful Windows 7 machine) and a virtualized Windows Server 2008 machine.
I'm using pdf2swf v0.9.0
Here's my command.
pdf2swf.exe --fonts --stop --flashversion 10 sched.pdf -o output.swf
Thanks!
Matt