Log in

View Full Version : Will stopping or slowing besweet's output speed up transcoding?


whocares26
30th June 2006, 08:00
First and foremost, thanks for Besweet...

I've searched around, and I don't see a switch that will cut down or stop the "[00:01:17:192] transcoding ..." output that is displayed during transcoding. In my experience, removing or slowing such output (e.g. display it every 15 seconds or once a minute) is a simple way to enhance an applications performance. Is there a way to do it? If not, has DSPGuru or anyone experimented with commenting the output out in the code?

I tried redirecting it to NUL under cmd.exe (Windows XP Pro), but that had no effect on performance. Any other ideas would be greatly appreciated.

Thanks in advance...

whocares26
7th July 2006, 04:26
I wrote a simple test program to help clarify my post. The test program consists of a simple loop which allocates 64KB of memory, initializes the memory 1 byte at a time, frees the memory, and then prints the loop iteration count to the console. It iterates through the loop 1,048,575 times.

On average, it takes 127 seconds for the program to complete. That's running in a Windows XP Pro cmd.exe console window.

By simply removing the console output, and leaving the rest of the loop unchanged, the average run time is reduced to 93 seconds, which is roughly a 27% improvement in performance.

My theory is that Besweet's performance could be improved by removing or atleast slowing it's console output.

I've seen reference to "BeSweet plugins", but haven't found much in the way of technical specs. Would it be possible to curtail the output with a plugin?

Any help or information would be greatly appreciated!

Thanks.