Created attachment 235660 [details] Patch for zstd Add LTO option, this increases performance between 5-15% on my Intel i7-3770 (amd64) and Rockchip RK3399 (arm64) with O3 (Optimized Cflags) enabled. LTO is also enabled by default on Alpine and OpenMandriva Tested on FreeBSD 13.1-RELEASE
Created attachment 235665 [details] Patch for zstd v2 Sort options
Also, make test passes on both tested platforms
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a2f556ccbd7685fb8149f1e63a6f692d057aa4c commit 5a2f556ccbd7685fb8149f1e63a6f692d057aa4c Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2022-08-20 07:26:39 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2022-08-20 07:32:11 +0000 archivers/zstd: Add LTO option Add LTO option, this increases performance between 5-15% on my test systems (arm64 and amd64) with optimized cflags (-03) enabled. LTO is also enabled by default on Alpine Linux and OpenMandriva PR: 265605 Approved by: sunpoet (maintainer timeout, 2+ weeks) archivers/zstd/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)