Stay updated

News & Insights

Image Benchmark Results

Single-threaded CPU benchmark comparing image augmentation throughput (images/second). All libraries run under identical conditions on the same machine.

50 of 54
transforms where Albumentationsx is fastest
15.4x
average speedup over nearest competitor
across transforms where Albumentationsx leads
274x
fastest speedup (MedianBlur)
vs next fastest library

Speedup Distribution

How many transforms fall into each speedup range (Albumentationsx vs best competitor). 52 transforms with head-to-head comparison.

< 0.5×40.5–1×111–2×112–5×165–10×710–50×3> 50×

Results

Transform
albumentationsx
2.1.0
CPU · macOS arm64
kornia
0.8.2
CPU · macOS arm64
torchvision
0.25.0
CPU · macOS arm64
Speedup
Albx / best other
MedianBlur1610 ± 76 ± 0274x
Elastic437 ± 71 ± 03 ± 0127x
RandomGamma13533 ± 408226 ± 560x
MotionBlur4511 ± 147117 ± 639x
Blur7575 ± 180365 ± 821x
Hue1897 ± 36123 ± 715x
PhotoMetricDistort992 ± 1180 ± 312x
Solarize12744 ± 792262 ± 31117 ± 3511x
ColorJitter1128 ± 9100 ± 388 ± 311x
Saturation1362 ± 33132 ± 410x
Pad43750 ± 28554480 ± 1299.8x
Rotate3046 ± 20330 ± 7319 ± 89.2x
Grayscale20176 ± 22421574 ± 772206 ± 1799.1x
Sharpen2305 ± 7263 ± 14274 ± 98.4x
LongestMaxSize3920 ± 68481 ± 368.2x
SmallestMaxSize2616 ± 58375 ± 107.0x
GaussianBlur2441 ± 37353 ± 13124 ± 176.9x
Contrast13842 ± 10872159 ± 193870 ± 266.4x
HorizontalFlip13434 ± 4571128 ± 422234 ± 276.0x
CLAHE646 ± 10109 ± 25.9x
Snow754 ± 8129 ± 45.8x
Brightness13221 ± 7692276 ± 1691681 ± 215.8x
RandomResizedCrop4439 ± 44579 ± 6789 ± 275.6x
Perspective1200 ± 6170 ± 5217 ± 85.5x
Affine1458 ± 4264 ± 165.5x
Resize3571 ± 44648 ± 15271 ± 45.5x
OpticalDistortion834 ± 4193 ± 44.3x
ChannelDropout11699 ± 8213065 ± 1793.8x
Shear1358 ± 3358 ± 113.8x
Erasing38298 ± 4226776 ± 4510421 ± 6293.7x
AutoContrast1698 ± 21576 ± 18178 ± 23.0x
GaussianNoise333 ± 5121 ± 22.7x
PlasmaBrightness170 ± 376 ± 22.2x
Equalize1291 ± 17310 ± 17588 ± 172.2x
Invert46680 ± 100884412 ± 29322891 ± 24842.0x
PlasmaContrast154 ± 175 ± 62.0x
PlankianJitter3158 ± 291578 ± 1002.0x
ChannelShuffle7922 ± 2311446 ± 1154290 ± 3031.8x
GaussianIllumination712 ± 20428 ± 161.7x
JpegCompression1350 ± 17117 ± 5826 ± 111.6x
ThinPlateSpline94 ± 061 ± 21.5x
SaltAndPepper631 ± 9450 ± 51.4x
Rain2178 ± 281591 ± 611.4x
Normalize1594 ± 291173 ± 39947 ± 331.4x
RGBShift2332 ± 141787 ± 711.3x
CornerIllumination455 ± 5350 ± 41.3x
VerticalFlip28222 ± 34882387 ± 5826928 ± 47991.0x
RandomCrop128117121 ± 16372802 ± 40112838 ± 23841.0x
PlasmaShadow202 ± 2211 ± 51.0x
Posterize13426 ± 363709 ± 2717723 ± 13800.8x
CenterCrop128122809 ± 3985203348 ± 74290.6x
LinearIllumination459 ± 9849 ± 220.5x
CoarseDropout21875 ± 3199
HSV1086 ± 23

Methodology

Test Environment

Platform
macOS arm64 (Apple M-series)
CPU threads
1 (forced single-thread)
Images per run
2000
Runs per transform
5
Last run
March 18, 2026

Library Versions

Albumentationsx
2.1.0
Kornia
0.8.2
Torchvision
0.25.0
NumPy
2.4.3
OpenCV
4.13.0.92

Metric: Median throughput in images/second across 5 runs. Higher is better.

Warmup: Adaptive warmup until variance stabilizes before measurement begins.

Thread control: OMP, OpenBLAS, MKL, and OpenCV threads all forced to 1 to ensure fair single-thread comparison.

Image loading: Each library uses its native format — OpenCV (BGR→RGB) for Albumentationsx, normalized tensors for Kornia, PIL for Torchvision.

Speedup column: Albumentationsx median ÷ highest competitor median. Green = 2× or faster, yellow = 1–2×, red = slower.

Want to verify the results on your own hardware or check that the comparison is fair? The benchmark code is open source on GitHub.