AlbumentationsX vs Legacy Albumentations

Direct comparison against the latest benchmark artifact for the legacy albumentations package. Speedup values are shown as ranges derived from throughput error bars (median +/- std).

Top-line Summary

Generated automatically on every benchmark refresh; values below use median speedup midpoint and IQR.

RGB

Wins: 51 / 92 · Median: 1.02x · IQR: 0.96x-1.09x

9-channel

Wins: 62 / 67 · Median: 1.45x · IQR: 1.21x-3.66x

Video

Wins: 73 / 92 · Median: 1.20x · IQR: 1.03x-1.79x

RGB Benchmarks

59 of 101
AlbumentationsX wins
4.71x
Average speedup midpoint when AlbumentationsX leads
183.0x
Max midpoint speedup (PiecewiseAffine)

Speedup Distribution

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

1< 0.5×400.5–1×501–2×2–5×5–10×10–50×1> 50×
Transform
albumentationsx
2.1.1
CPU · macOS arm64
albumentations
N/A
CPU · macOS arm64
Speedup
Albx / best other (range)
PiecewiseAffine173 ± 71 ± 0174-192x
UnsharpMask383 ± 16201 ± 41.8-2.0x
GridDistortion1309 ± 38796 ± 501.5-1.8x
MultiplicativeNoise4955 ± 1093202 ± 771.5-1.6x
Invert33252 ± 318526181 ± 92290.8-2.1x
RGBShift4736 ± 1233436 ± 261.3-1.4x
Elastic425 ± 8316 ± 61.3-1.4x
Erasing26700 ± 300223703 ± 76110.8-1.8x
OpticalDistortion774 ± 13601 ± 71.3-1.3x
LinearIllumination568 ± 5454 ± 281.2-1.3x
RandomShadow507 ± 8418 ± 71.2-1.3x
Morphological17026 ± 124214215 ± 9361.0-1.4x
RandomGamma14281 ± 114212076 ± 8551.0-1.4x
ColorJitter1199 ± 251012 ± 121.1-1.2x
Solarize13474 ± 91911616 ± 8071.0-1.3x
PhotoMetricDistort1070 ± 8917 ± 201.1-1.2x
RandomGridShuffle10619 ± 729290 ± 4371.1-1.2x
GaussianIllumination765 ± 11685 ± 511.0-1.2x
Saturation1307 ± 381169 ± 401.0-1.2x
Rain2174 ± 371946 ± 261.1-1.2x
SmallestMaxSize2728 ± 242483 ± 391.1-1.1x
CornerIllumination500 ± 3457 ± 211.0-1.2x
PlasmaBrightness186 ± 1169 ± 31.1-1.1x
Hue2001 ± 91837 ± 181.1-1.1x
AdditiveNoise267 ± 12246 ± 21.0-1.1x
ThinPlateSpline84 ± 578 ± 21.0-1.2x
ShotNoise45 ± 141 ± 01.1-1.1x
PlasmaShadow205 ± 7191 ± 71.0-1.1x
ShiftScaleRotate1362 ± 181269 ± 151.0-1.1x
ISONoise178 ± 3167 ± 41.0-1.1x
ZoomBlur197 ± 12186 ± 100.9-1.2x
FancyPCA111 ± 2105 ± 51.0-1.1x
AdvancedBlur1256 ± 491192 ± 421.0-1.1x
LongestMaxSize3908 ± 473705 ± 621.0-1.1x
RandomScale3300 ± 443140 ± 551.0-1.1x
HSV1140 ± 131086 ± 271.0-1.1x
Transpose1580 ± 201513 ± 201.0-1.1x
RandomSunFlare347 ± 2334 ± 31.0-1.1x
SafeRotate1346 ± 41293 ± 121.0-1.1x
SaltAndPepper599 ± 15578 ± 91.0-1.1x
GridDropout82 ± 380 ± 50.9-1.1x
Downscale5351 ± 685203 ± 1081.0-1.1x
PlankianJitter3215 ± 253132 ± 631.0-1.1x
PixelDropout403 ± 9393 ± 101.0-1.1x
CLAHE652 ± 2640 ± 121.0-1.0x
RandomToneCurve10725 ± 37710625 ± 7970.9-1.1x
Defocus131 ± 1129 ± 01.0-1.0x
Shear1266 ± 101257 ± 131.0-1.0x
Emboss2707 ± 272695 ± 791.0-1.0x
JpegCompression1353 ± 11351 ± 201.0-1.0x
ChannelDropout11932 ± 44112059 ± 10670.9-1.1x
Equalize1273 ± 61274 ± 131.0-1.0x
Normalize1621 ± 101630 ± 1080.9-1.1x
Posterize13288 ± 66713473 ± 12170.9-1.1x
RandomRotate901866 ± 471876 ± 530.9-1.0x
RandomFog9 ± 09 ± 01.0-1.0x
ChromaticAberration496 ± 13500 ± 120.9-1.0x
AutoContrast1670 ± 151684 ± 531.0-1.0x
Rotate2914 ± 212938 ± 291.0-1.0x
Affine1423 ± 71438 ± 151.0-1.0x
MedianBlur1550 ± 191569 ± 141.0-1.0x
SquareSymmetry2052 ± 462080 ± 590.9-1.0x
Grayscale17827 ± 110118109 ± 5200.9-1.1x
Resize3477 ± 303535 ± 111.0-1.0x
Spatter108 ± 3111 ± 20.9-1.0x
GlassBlur36 ± 137 ± 10.9-1.0x
Perspective1167 ± 141197 ± 131.0-1.0x
RingingOvershoot151 ± 3156 ± 10.9-1.0x
RandomResizedCrop4226 ± 174379 ± 121.0-1.0x
Blur7402 ± 2347699 ± 3480.9-1.0x
ChannelShuffle7779 ± 528076 ± 2350.9-1.0x
GaussianNoise319 ± 8335 ± 130.9-1.0x
Sharpen2226 ± 442337 ± 110.9-1.0x
MotionBlur4265 ± 484484 ± 650.9-1.0x
CoarseDropout18413 ± 135620042 ± 29990.7-1.2x
GaussianBlur2344 ± 462474 ± 230.9-1.0x
Superpixels18 ± 019 ± 00.9-1.0x
RandomGravel1299 ± 111376 ± 100.9-1.0x
Snow707 ± 11758 ± 110.9-1.0x
RandomSizedCrop3676 ± 663954 ± 230.9-1.0x
CropAndPad2763 ± 493019 ± 490.9-0.9x
HorizontalFlip12908 ± 42214182 ± 3180.9-1.0x
PlasmaContrast134 ± 4148 ± 40.9-1.0x
ToSepia6866 ± 2147672 ± 4630.8-1.0x
Brightness9963 ± 33911407 ± 9920.8-1.0x
PadIfNeeded16014 ± 37019659 ± 45600.6-1.1x
VerticalFlip26665 ± 185131529 ± 5190.8-0.9x
Contrast9695 ± 27611873 ± 9540.7-0.9x
Pad38630 ± 67348440 ± 5190.8-0.8x
RandomCrop12864659 ± 1175113738 ± 21620.5-0.6x
CenterCrop12865127 ± 1358118961 ± 40000.5-0.6x
ConstrainedCoarseDropout108398 ± 1116380677 ± 44760.3-0.3x
AtmosphericFog349 ± 15
ChannelSwap7363 ± 76
Dithering6 ± 0
FilmGrain272 ± 1
GridMask15684 ± 535
Halftone26 ± 1
LensFlare263 ± 10
Vignetting589 ± 16
WaterRefraction124 ± 5

9-channel Benchmarks

62 of 67
AlbumentationsX wins
6.97x
Average speedup midpoint when AlbumentationsX leads
186.8x
Max midpoint speedup (PiecewiseAffine)

Speedup Distribution

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

1< 0.5×40.5–1×341–2×212–5×35–10×210–50×2> 50×
Transform
albumentationsx
2.1.1
CPU · macOS arm64
albumentations
N/A
CPU · macOS arm64
Speedup
Albx / best other (range)
PiecewiseAffine189 ± 31 ± 0183-191x
PadIfNeeded8504 ± 352122 ± 167-73x
Pad9499 ± 1173321 ± 825-34x
Blur3165 ± 31312 ± 69.9-10x
Rotate2833 ± 141293 ± 69.0-10x
MotionBlur1978 ± 126296 ± 36.2-7.2x
CropAndPad868 ± 10167 ± 05.1-5.3x
Emboss1205 ± 14262 ± 14.5-4.7x
SafeRotate983 ± 76232 ± 13.9-4.6x
AdvancedBlur818 ± 305199 ± 32.5-5.7x
Shear931 ± 19230 ± 13.9-4.1x
ShiftScaleRotate926 ± 44231 ± 13.8-4.2x
GaussianBlur981 ± 19248 ± 83.8-4.2x
Sharpen969 ± 17249 ± 03.8-4.0x
GridDistortion810 ± 9212 ± 13.8-3.9x
Perspective788 ± 10212 ± 23.6-3.8x
Affine880 ± 20237 ± 23.6-3.8x
OpticalDistortion653 ± 14181 ± 63.4-3.8x
ElasticTransform418 ± 7139 ± 32.9-3.1x
UnsharpMask143 ± 548 ± 12.8-3.2x
Resize802 ± 14289 ± 42.7-2.9x
RandomScale882 ± 32319 ± 82.6-2.9x
LongestMaxSize879 ± 12329 ± 62.6-2.8x
MultiplicativeNoise2089 ± 71805 ± 52.5-2.7x
MedianBlur546 ± 15212 ± 12.5-2.7x
RandomResizedCrop969 ± 109387 ± 52.2-2.8x
SmallestMaxSize585 ± 5249 ± 22.3-2.4x
RandomSizedCrop828 ± 37378 ± 42.1-2.3x
SquareSymmetry2325 ± 10801491 ± 250.8-2.3x
ThinPlateSpline97 ± 162 ± 11.5-1.6x
LinearIllumination247 ± 5160 ± 21.5-1.6x
CenterCrop12874581 ± 1200851105 ± 10261.2-1.7x
RandomRotate902137 ± 12771484 ± 270.6-2.3x
RandomGamma6328 ± 724359 ± 421.4-1.5x
Transpose2081 ± 881459 ± 331.3-1.5x
Downscale3916 ± 1362746 ± 811.3-1.5x
AutoContrast662 ± 19472 ± 31.4-1.5x
Solarize5822 ± 7804217 ± 391.2-1.6x
PlasmaBrightness126 ± 294 ± 01.3-1.4x
RingingOvershoot61 ± 3246 ± 00.6-2.1x
Brightness5682 ± 1384268 ± 391.3-1.4x
Contrast5576 ± 6314257 ± 691.1-1.5x
Defocus52 ± 040 ± 01.3-1.3x
AdditiveNoise112 ± 187 ± 11.3-1.3x
PlasmaShadow177 ± 4139 ± 21.2-1.3x
Posterize5500 ± 4854341 ± 761.1-1.4x
JpegCompression205 ± 3162 ± 01.2-1.3x
RandomCrop12862467 ± 773449737 ± 6911.1-1.4x
CornerIllumination275 ± 9223 ± 21.2-1.3x
PixelDropout371 ± 7305 ± 11.2-1.2x
SaltAndPepper530 ± 9438 ± 91.2-1.3x
Grayscale515 ± 4431 ± 21.2-1.2x
HorizontalFlip3155 ± 712650 ± 1331.1-1.3x
ChannelShuffle3117 ± 2122619 ± 141.1-1.3x
PlasmaContrast89 ± 175 ± 11.2-1.2x
GaussianNoise131 ± 7111 ± 11.1-1.2x
VerticalFlip11827 ± 142710223 ± 691.0-1.3x
Morphological6610 ± 4295724 ± 681.1-1.2x
GaussianIllumination296 ± 11263 ± 41.1-1.2x
GridDropout81 ± 7880 ± 40.0-2.1x
Erasing10944 ± 36810476 ± 4171.0-1.1x
CoarseDropout9047 ± 3398698 ± 2591.0-1.1x
Normalize477 ± 46487 ± 90.9-1.1x
RandomGridShuffle4668 ± 6575037 ± 1960.8-1.1x
ChannelDropout6556 ± 8307176 ± 2210.8-1.1x
Invert9115 ± 144110552 ± 4970.7-1.0x
ConstrainedCoarseDropout119167 ± 26242387459 ± 37010.2-0.4x

Video Benchmarks

82 of 101
AlbumentationsX wins
3.04x
Average speedup midpoint when AlbumentationsX leads
38.9x
Max midpoint speedup (ConstrainedCoarseDropout)

Speedup Distribution

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

1< 0.5×180.5–1×501–2×162–5×35–10×410–50×> 50×
Transform
albumentationsx
2.1.1
CPU · macOS arm64
albumentations
N/A
CPU · macOS arm64
Speedup
Albx / best other (range)
ConstrainedCoarseDropout112591 ± 29612896 ± 1238-40x
SmallestMaxSize18 ± 01 ± 017-21x
PiecewiseAffine25 ± 02 ± 016-17x
LongestMaxSize28 ± 02 ± 012-12x
GridDistortion28 ± 05 ± 05.5-5.9x
Elastic26 ± 05 ± 05.4-5.8x
OpticalDistortion26 ± 05 ± 05.1-5.5x
Shear23 ± 05 ± 04.9-5.1x
ThinPlateSpline23 ± 05 ± 04.8-5.2x
Affine25 ± 05 ± 04.8-4.9x
SafeRotate24 ± 05 ± 04.6-4.7x
ShiftScaleRotate24 ± 05 ± 04.6-4.7x
Perspective22 ± 05 ± 04.2-4.7x
RandomToneCurve239 ± 158 ± 43.9-4.4x
Solarize249 ± 972 ± 03.3-3.6x
SquareSymmetry37 ± 311 ± 03.0-3.7x
Posterize240 ± 877 ± 13.0-3.3x
ISONoise9 ± 03 ± 03.0-3.1x
Morphological219 ± 282 ± 12.6-2.7x
ChannelDropout205 ± 184 ± 12.4-2.5x
UnsharpMask8 ± 03 ± 02.1-2.2x
PlankianJitter59 ± 028 ± 21.9-2.2x
ToSepia135 ± 065 ± 12.0-2.1x
Saturation19 ± 111 ± 01.6-1.8x
HSV15 ± 19 ± 01.5-1.9x
LinearIllumination10 ± 06 ± 01.6-1.7x
Blur110 ± 167 ± 01.6-1.7x
RandomShadow8 ± 15 ± 01.4-1.8x
Downscale83 ± 152 ± 21.5-1.7x
PixelDropout76 ± 047 ± 11.6-1.6x
CornerIllumination10 ± 06 ± 01.5-1.6x
Hue26 ± 217 ± 11.4-1.7x
AdvancedBlur24 ± 116 ± 31.2-1.9x
MotionBlur80 ± 253 ± 21.4-1.6x
RandomRotate9041 ± 428 ± 21.2-1.8x
Rotate49 ± 034 ± 11.4-1.5x
ColorJitter19 ± 113 ± 11.3-1.6x
Emboss47 ± 134 ± 21.3-1.5x
RandomResizedCrop28 ± 021 ± 01.3-1.4x
RandomScale56 ± 142 ± 11.3-1.4x
Resize26 ± 020 ± 01.3-1.3x
RandomSizedCrop24 ± 019 ± 01.3-1.3x
GaussianBlur42 ± 133 ± 01.2-1.3x
PhotoMetricDistort16 ± 113 ± 11.1-1.4x
Sharpen38 ± 031 ± 01.2-1.3x
ChromaticAberration9 ± 07 ± 01.2-1.3x
MedianBlur24 ± 020 ± 01.2-1.2x
GaussianIllumination10 ± 09 ± 11.0-1.3x
RingingOvershoot3 ± 02 ± 01.1-1.2x
RandomGridShuffle11 ± 010 ± 01.1-1.1x
RandomGravel24 ± 122 ± 01.1-1.2x
Defocus2 ± 02 ± 01.1-1.1x
FancyPCA2 ± 02 ± 01.1-1.1x
CropAndPad42 ± 239 ± 01.0-1.1x
PlasmaBrightness4 ± 04 ± 01.0-1.1x
Contrast239 ± 2221 ± 21.1-1.1x
RandomGamma238 ± 1220 ± 61.0-1.1x
Brightness241 ± 2224 ± 21.1-1.1x
SaltAndPepper12 ± 011 ± 01.1-1.1x
RandomSunFlare5 ± 05 ± 01.0-1.1x
JpegCompression25 ± 023 ± 01.1-1.1x
Transpose28 ± 026 ± 01.1-1.1x
Invert467 ± 27439 ± 41.0-1.1x
ShotNoise1 ± 01 ± 01.0-1.1x
RandomCrop128933 ± 7894 ± 131.0-1.1x
RandomFog0 ± 00 ± 00.8-1.2x
ChannelShuffle26 ± 025 ± 01.0-1.1x
Equalize16 ± 015 ± 01.0-1.1x
CenterCrop128975 ± 13949 ± 41.0-1.0x
CLAHE10 ± 010 ± 01.0-1.0x
GaussianNoise11 ± 011 ± 01.0-1.1x
Pad302 ± 11301 ± 150.9-1.1x
VerticalFlip591 ± 20588 ± 41.0-1.0x
HorizontalFlip30 ± 030 ± 01.0-1.0x
PlasmaShadow7 ± 07 ± 01.0-1.0x
Erasing458 ± 7464 ± 150.9-1.0x
MultiplicativeNoise40 ± 041 ± 11.0-1.0x
CoarseDropout487 ± 6496 ± 31.0-1.0x
AutoContrast22 ± 022 ± 01.0-1.0x
PadIfNeeded17 ± 017 ± 00.9-1.0x
GlassBlur1 ± 01 ± 00.9-1.0x
GridDropout93 ± 1498 ± 40.8-1.1x
Superpixels0 ± 00 ± 00.9-1.0x
Rain27 ± 129 ± 00.9-1.0x
Snow13 ± 014 ± 00.9-1.0x
ZoomBlur4 ± 04 ± 00.8-1.0x
Grayscale82 ± 091 ± 00.9-0.9x
PlasmaContrast3 ± 03 ± 00.9-0.9x
Normalize22 ± 027 ± 00.8-0.8x
AdditiveNoise10 ± 013 ± 00.7-0.8x
Spatter7 ± 012 ± 00.6-0.6x
RGBShift9 ± 040 ± 00.2-0.2x
AtmosphericFog6 ± 0
ChannelSwap24 ± 0
Dithering0 ± 0
FilmGrain5 ± 0
GridMask199 ± 3
Halftone0 ± 0
LensFlare7 ± 0
Vignetting10 ± 1
WaterRefraction22 ± 0