Prerequisites
ImageSharp version
2.1.0
Other ImageSharp packages and versions
SixLabors.ImageSharp.Formats.Webp;
Environment (Operating system, version and so on)
Windows Azure Service App
.NET Framework version
6.0 .net core
Description
When I run SaveAsWebp() on my dev machine.. 300ms
When I run on an Azure App service (1cpu/1.75GB mem) it takes 6-7 seconds. Jpg encoder is fast on App service
image.SaveAsWebp(memoryStream, new WebpEncoder()
{
Quality = quality,
Method = WebpEncodingMethod.BestQuality,
FileFormat = WebpFileFormatType.Lossy,
});
Is there some additional IO that could be stalling the process? seems weird its only happening for webp.
Interested to hear your thoughts!
Steps to Reproduce
deploy simple app that calls SaveAsWebp() on azure app service.
Images
No response
Prerequisites
DEBUGandRELEASEmodeImageSharp version
2.1.0
Other ImageSharp packages and versions
SixLabors.ImageSharp.Formats.Webp;
Environment (Operating system, version and so on)
Windows Azure Service App
.NET Framework version
6.0 .net core
Description
When I run SaveAsWebp() on my dev machine.. 300ms
When I run on an Azure App service (1cpu/1.75GB mem) it takes 6-7 seconds. Jpg encoder is fast on App service
image.SaveAsWebp(memoryStream, new WebpEncoder()
{
Quality = quality,
Method = WebpEncodingMethod.BestQuality,
FileFormat = WebpFileFormatType.Lossy,
});
Is there some additional IO that could be stalling the process? seems weird its only happening for webp.
Interested to hear your thoughts!
Steps to Reproduce
deploy simple app that calls SaveAsWebp() on azure app service.
Images
No response