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: 36 / 55 · Median: 1.04x · IQR: 0.98x-1.22x

9-channel

Wins: 29 / 40 · Median: 1.47x · IQR: 1.00x-2.73x

Video

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

RGB Benchmarks

38 of 96
AlbumentationsX wins
1.90x
Average speedup midpoint when AlbumentationsX leads
15.2x
Max midpoint speedup (UnsharpMask)

Speedup Distribution

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

< 0.5×190.5–1×301–2×42–5×15–10×110–50×> 50×
Transform
albumentationsx
2.2.5
CPU · macOS arm64
albumentations
N/A
CPU · macOS arm64
Speedup
Albx / best other (range)
UnsharpMask3063 ± 37201 ± 415-16x
Transpose8184 ± 1991513 ± 205.2-5.6x
RandomRotate908652 ± 1671876 ± 534.4-4.8x
PlasmaShadow526 ± 8191 ± 72.6-2.9x
PlasmaBrightness394 ± 9169 ± 32.2-2.4x
Posterize28724 ± 325913473 ± 12171.7-2.6x
CornerIllumination866 ± 28457 ± 211.8-2.1x
PlasmaContrast250 ± 6148 ± 41.6-1.8x
SaltAndPepper946 ± 4578 ± 91.6-1.7x
RGBShift5025 ± 483436 ± 261.4-1.5x
Elastic453 ± 2316 ± 61.4-1.5x
Invert31753 ± 132726181 ± 92290.9-2.0x
Erasing27849 ± 402823703 ± 76110.8-2.0x
LinearIllumination557 ± 18454 ± 281.1-1.3x
RandomGamma14482 ± 42412076 ± 8551.1-1.3x
ColorJitter1221 ± 101012 ± 121.2-1.2x
Saturation1389 ± 271169 ± 401.1-1.3x
ThinPlateSpline92 ± 178 ± 21.1-1.2x
Solarize13505 ± 44211616 ± 8071.1-1.3x
PhotoMetricDistort1070 ± 19917 ± 201.1-1.2x
GaussianIllumination773 ± 21685 ± 511.0-1.3x
Rain2169 ± 271946 ± 261.1-1.1x
Grayscale19593 ± 35018109 ± 5201.0-1.1x
SmallestMaxSize2676 ± 72483 ± 391.1-1.1x
Shear1322 ± 71257 ± 131.0-1.1x
PlankianJitter3278 ± 133132 ± 631.0-1.1x
LongestMaxSize3847 ± 623705 ± 621.0-1.1x
Hue1908 ± 181837 ± 181.0-1.1x
ChannelShuffle8235 ± 868076 ± 2351.0-1.1x
Rotate2996 ± 122938 ± 291.0-1.0x
Affine1456 ± 231438 ± 151.0-1.0x
Normalize1642 ± 261630 ± 1080.9-1.1x
CLAHE644 ± 5640 ± 121.0-1.0x
ChannelDropout11971 ± 43412059 ± 10670.9-1.1x
Resize3542 ± 113535 ± 111.0-1.0x
JpegCompression1351 ± 111351 ± 201.0-1.0x
GaussianBlur2462 ± 112474 ± 231.0-1.0x
Snow754 ± 4758 ± 111.0-1.0x
RandomResizedCrop4354 ± 224379 ± 121.0-1.0x
Perspective1185 ± 91197 ± 131.0-1.0x
MedianBlur1546 ± 161569 ± 141.0-1.0x
GaussianNoise328 ± 20335 ± 130.9-1.1x
Blur7544 ± 1347699 ± 3480.9-1.0x
AutoContrast1619 ± 441684 ± 530.9-1.0x
Sharpen2221 ± 352337 ± 110.9-1.0x
HorizontalFlip13200 ± 43014182 ± 3180.9-1.0x
VerticalFlip29169 ± 265731529 ± 5190.8-1.0x
Brightness9849 ± 9911407 ± 9920.8-1.0x
MotionBlur3847 ± 494484 ± 650.8-0.9x
Equalize1086 ± 121274 ± 130.8-0.9x
Contrast10045 ± 11911873 ± 9540.8-0.9x
RandomCrop12893574 ± 1964113738 ± 21620.8-0.9x
CenterCrop12895346 ± 1281118961 ± 40000.8-0.8x
Pad34979 ± 327448440 ± 5190.6-0.8x
OpticalDistortion395 ± 4601 ± 70.6-0.7x
AdditiveNoise246 ± 2
AdvancedBlur1192 ± 42
ChromaticAberration500 ± 12
CoarseDropout20042 ± 2999
ColorJiggle1208 ± 16
Colorize3858 ± 11
ConstrainedCoarseDropout380677 ± 4476
CropAndPad3019 ± 49
Defocus129 ± 0
Dithering6 ± 0
Downscale5203 ± 108
Emboss2695 ± 79
FancyPCA105 ± 5
GlassBlur37 ± 1
GridDistortion796 ± 50
GridDropout80 ± 5
HSV1086 ± 27
ISONoise167 ± 4
Morphological14215 ± 936
MultiplicativeNoise3202 ± 77
PadIfNeeded19659 ± 4560
PiecewiseAffine1 ± 0
PixelDropout393 ± 10
RandomFog9 ± 0
RandomGravel1376 ± 10
RandomGridShuffle9290 ± 437
RandomJigsaw9413 ± 136
RandomScale3140 ± 55
RandomShadow418 ± 7
RandomSizedCrop3954 ± 23
RandomSunFlare334 ± 3
RandomToneCurve10625 ± 797
RingingOvershoot156 ± 1
SafeRotate1293 ± 12
ShiftScaleRotate1269 ± 15
ShotNoise41 ± 0
Spatter111 ± 2
SquareSymmetry2080 ± 59
Superpixels19 ± 0
ToSepia7672 ± 463
ZoomBlur186 ± 10

9-channel Benchmarks

31 of 69
AlbumentationsX wins
3.32x
Average speedup midpoint when AlbumentationsX leads
25.1x
Max midpoint speedup (Pad)

Speedup Distribution

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

< 0.5×110.5–1×151–2×102–5×35–10×110–50×> 50×
Transform
albumentationsx
2.2.6
CPU · macOS arm64
albumentations
N/A
CPU · macOS arm64
Speedup
Albx / best other (range)
Pad8066 ± 88321 ± 824-26x
Blur2567 ± 100312 ± 67.8-8.7x
Rotate1772 ± 31293 ± 65.8-6.3x
Posterize23588 ± 51354341 ± 764.2-6.7x
MotionBlur1342 ± 65296 ± 34.3-4.8x
GaussianBlur802 ± 12248 ± 83.1-3.4x
Sharpen770 ± 11249 ± 03.0-3.1x
Shear662 ± 7230 ± 12.8-2.9x
Perspective602 ± 17212 ± 22.7-2.9x
Affine670 ± 11237 ± 22.8-2.9x
Normalize1311 ± 54487 ± 92.5-2.9x
LongestMaxSize858 ± 16329 ± 62.5-2.7x
RandomResizedCrop986 ± 22387 ± 52.5-2.6x
SmallestMaxSize603 ± 18249 ± 22.3-2.5x
MedianBlur419 ± 5212 ± 11.9-2.0x
Erasing19946 ± 433810476 ± 4171.4-2.4x
PlasmaShadow253 ± 4139 ± 21.8-1.9x
OpticalDistortion290 ± 7181 ± 61.5-1.7x
PlasmaBrightness151 ± 394 ± 01.6-1.6x
Invert16207 ± 338810552 ± 4971.2-1.9x
ThinPlateSpline85 ± 162 ± 11.4-1.4x
Solarize5615 ± 5024217 ± 391.2-1.5x
ChannelDropout9472 ± 9597176 ± 2211.2-1.5x
CornerIllumination289 ± 16223 ± 21.2-1.4x
LinearIllumination206 ± 3160 ± 21.3-1.3x
RandomGamma5465 ± 6724359 ± 421.1-1.4x
PlasmaContrast85 ± 075 ± 11.1-1.2x
GaussianIllumination295 ± 9263 ± 41.1-1.2x
ChannelShuffle2641 ± 1062619 ± 141.0-1.1x
CenterCrop12851003 ± 21751105 ± 10261.0-1.0x
HorizontalFlip2630 ± 732650 ± 1330.9-1.1x
RandomRotate901478 ± 241484 ± 271.0-1.0x
JpegCompression160 ± 0162 ± 01.0-1.0x
GaussianNoise109 ± 3111 ± 10.9-1.0x
RandomCrop12847302 ± 238449737 ± 6910.9-1.0x
AutoContrast437 ± 15472 ± 30.9-1.0x
Grayscale392 ± 3431 ± 20.9-0.9x
VerticalFlip9190 ± 294110223 ± 690.6-1.2x
Contrast3052 ± 994257 ± 690.7-0.8x
Brightness3013 ± 2844268 ± 390.6-0.8x
AdditiveNoise87 ± 1
AdvancedBlur199 ± 3
CoarseDropout8698 ± 259
ConstrainedCoarseDropout387459 ± 3701
CropAndPad167 ± 0
Defocus40 ± 0
Downscale2746 ± 81
Elastic335 ± 3
ElasticTransform139 ± 3
Emboss262 ± 1
GridDistortion212 ± 1
GridDropout80 ± 4
Morphological5724 ± 68
MultiplicativeNoise805 ± 5
PadIfNeeded122 ± 1
PiecewiseAffine1 ± 0
PixelDropout305 ± 1
RandomGridShuffle5037 ± 196
RandomJigsaw5609 ± 44
RandomScale319 ± 8
RandomSizedCrop378 ± 4
Resize289 ± 4
RingingOvershoot46 ± 0
SafeRotate232 ± 1
SaltAndPepper438 ± 9
ShiftScaleRotate231 ± 1
SquareSymmetry1491 ± 25
Transpose1459 ± 33
UnsharpMask48 ± 1

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