You may want to consider doing a version that outputs a textfile that people can copy/paste... After all, many people don't have webspace where they can post an image for you, plus it would be a lot easier for yourself to compare the results that way.
anyway, here it goes:
80+ WPM typing skills are good for something after all. ;-)
Hmm... surprising to see how much faster my 32bit 2800+ is than Pertubatio's AMD64 3000+ on the readpixel/grabimage tests.
anyway, here it goes:
Empty for loop x 100 149ms = 1.49 each Read pixel fast from backbuffer x 10 1700ms = 170.0 each Read pixel fast from dynamic image x 10 1697ms = 169.7 each Read pixel fast from managed image x 10 131ms = 13.1 each Write pixel fast to backbuffer x 10 157ms = 15.7 each Write pixel fast to dynamic image x 10 145ms = 14.5 each Write pixel fast to managed image x 10 122ms = 12.2 each Drawblock dynamic image to backbuffer x 10 44ms = 4.4 each Drawblock managed image to backbuffer x 10 46ms = 4.6 each Drawblock changed dynamic image to backbuffer x 10 45ms = 4.5 each Drawblock changed managed image to backbuffer x 10 91ms = 9.1 each copyrect dynamic image to backbuffer x 10 45ms = 4.5 each copyrect managed image to backbuffer x 10 45ms = 4.5 each copyrect changed dynamic image to backbuffer x 10 46ms = 4.6 each copyrect changed managed image to backbuffer x 10 95ms = 9.5 each copyrect dynamic image to dynamic image x 10 33ms = 3.3 each copyrect managed image to managed image x 10 46ms = 4.6 each copyrect dynamic image to managed image x 10 1640ms = 164.0 each copyrect managed image to dynamic image x 10 33ms = 3.3 each copyrect changed DI to MI x 10 1645ms = 164.5 each copyrect MI to DI x 10 79ms = 7.9 each Grabimage (dynamic) from backbuffer x 10 32ms = 3.2 each Grabimage (managed) from backbuffer x 10 1674ms = 167.4 each Grabimage (dynamic) from DI x 10 34ms = 3.4 each Grabimage (managed) from MI x 10 46ms = 4.6 each Grabimage (dynamic) from MI x 10 33ms = 3.3 each Grabimage (managed) from DI x 10 1636ms = 163.6 each
80+ WPM typing skills are good for something after all. ;-)
Hmm... surprising to see how much faster my 32bit 2800+ is than Pertubatio's AMD64 3000+ on the readpixel/grabimage tests.