Better HN
topnewbestaskshowjobs
Log inSign up

bleroy

3 karma · joined Jun 29, 2015 (11y ago) · 7 submissions

Submissions

comment 9y ago · link · parent

It doesn't make a difference in the relative performance of the libraries on the metrics in the post, it only makes the benchmarks slower to run. This being said, the code is available, so this is easy for anyone to check. If I ever get to do a memory benchmark, that would probably be a different story, however.

comment 9y ago · link · parent

Thanks, I'll check it out.

comment 9y ago · link · parent

Yes, but that doesn't have a .NET Core library, and as such wasn't included in the post.

comment 9y ago · link · parent

The legend is below each chart, with a table of the numeric results, with standard deviation. The code to reproduce the test is also provided, as well as the sample images.

comment 9y ago · link · parent

What do you mean? The test is doing resize and JPEG compression. If you're interested in isolating the compression part, the code on GH should be super easy to modify to your particular requirements.

comment 9y ago · link · parent

Unfortunately that's not possible. Each library makes choices and tradeoffs on their defaults. Each time, I set whatever quality dials existed to the highest available, and I standardized on 75 JPEG compression. There is no way to get consistent quality across all libraries, which is why I included the results for the 12 images used in the test in the blog post, so everyone can handle this the way they want.

comment 9y ago · link · parent

Because it's not Skia that is tested, but SkiaSharp, which is a .NET / Mono wrapper for Skia. It was included because the work to make it compatible with .NET Core is close to completion and because it's promising work. I hope this clarifies. If there were Pixman/Cairo .NET Core wrappers in existence or close to completion, I'd be happy to update the post with them.