Skip to content

Commit 2c534ea

Browse files
committed
Add arm benchmark
1 parent 9dddb8c commit 2c534ea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/ImageSharp.Benchmarks/Codecs/Jpeg/ColorConversion/YCbCrColorConversion.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,12 @@ public void SimdVectorAvx()
3737

3838
new JpegColorConverterBase.YCbCrAvx(8).ConvertToRgbInplace(values);
3939
}
40+
41+
[Benchmark]
42+
public void SimdVectorArm()
43+
{
44+
var values = new JpegColorConverterBase.ComponentValues(this.Input, 0);
45+
46+
new JpegColorConverterBase.YCbCrArm(8).ConvertToRgbInplace(values);
47+
}
4048
}

0 commit comments

Comments
 (0)