svoid benchDrawingImageOnImageWithAlpha() { int w = 1000, h = w; int[] pixels = repIntAsArray(w*h, -1); var img = bufferedImageWithoutAlpha(w, h, pixels); pixels = repIntAsArray(w*h, 0x80000000); var img2 = bufferedImageWithAlpha(w, h, pixels); var g = graphics(img); long nanos = benchFor5("draw " + nPixels(w*h), -> drawImage(g, img2)); print("Fastest result: " + n2(oneBillion()*pixels/nanos) + " pixels/s"); }