mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
503 B
20 lines
503 B
// Copyright (c) Six Labors.
|
|
// Licensed under the Six Labors Split License.
|
|
|
|
using BenchmarkDotNet.Attributes;
|
|
using SixLabors.ImageSharp.Formats.Jpeg.Components;
|
|
|
|
namespace SixLabors.ImageSharp.Benchmarks.Codecs.Jpeg.BlockOperations;
|
|
|
|
[Config(typeof(Config.HwIntrinsics_SSE_AVX))]
|
|
public class Block8x8F_MultiplyInPlaceScalar
|
|
{
|
|
[Benchmark]
|
|
public float MultiplyInPlaceScalar()
|
|
{
|
|
float f = 42F;
|
|
Block8x8F b = default;
|
|
b.MultiplyInPlace(f);
|
|
return f;
|
|
}
|
|
}
|
|
|