Archive for December, 2009

Performance shock while developing

Saturday, December 26th, 2009

Few months ago I improved the performance of Denoise’s algorithm by incorporating a Grand Central technology of Mac OS X 10.6 Snow Leopard. All that in the development version which is coming out soon.

As I already wrote in previous post the improvement is marginal – on dual core Mac denoising images is double as fast as in the current version.

As I’m developing Denoise further this week, I was doing lots of denoising, and noticed that it kinda takes too long. As my test images are pretty small to make testing fast during development, the performance slowdown was not easy to spot, but there was that feeling, you know, that something’s not right.

So I started to test, measure, and compare with the version 1.0.

You can’t image how I felt after I figured out that the new algorithm is only around 5% faster. I tried with various images, and nearly always it was just a little improvement. I didn’t understand it. I stopped believing in myself – in work I’ve done months ago. I thought maybe it’s the Snow Leopard update that slowed down something. I was checking the CPU usage in Activity Monitor application, and could clearly see that old version uses only one CPU’s core, the new one both of them. Why the heck is the improvement in processing time so slow ? What was I smoking in the past when I implemented all this ?

It took me maybe two hours to figure out what’s wrong. I was comparing the release version of version 1.0 with debug version of the new 2.0 version. Debugging versions are half as fast as the release ones. At least in my case.

I was relieved, but I’ll never forget those frightening moments of comparing bulls and cows.

Update

Sunday, December 6th, 2009

I didn’t post any updates to this blog neither to Denoise for a year and half. I had a couple of personal issues causing no time for developing. Despite of that Denoise enjoyed a bunch of sales during that time, and this way I want to thank all the customers, and people who wrote me about trying the software and their experiences with it. Even when not developing Denoise further I was trying to give the best support and help on time.

Around the time of Snow Leopard release I’ve found the time and got back on developing the next version of Denoise. It’s slowly progressing, getting new features. I don’t want to promise any release dates neither the features that are not finished yet, but to wet your appetite I can tell you that denoising is going to be much faster – employing the Grand Central Dispatch technology thus using all the cores of your Macs. On my dual-core Macbook the processing time drops to half, so it is really that efficient. This makes Denoise 2.0 to require Snow Leopard and an Intel Mac.

Not to forget – the update will be free for all existing customers.