Port details
lzbench In-memory benchmark of open-source LZ77/LZSS/LZMA compressors
2.3 benchmarks Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.3Version of this port present on the latest quarterly branch. upstream: v2.4A newer version was found upstream by portscout, first on 2026-09-28.
Maintainer: danfe@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-01-15 07:06:01
Last Update: 2026-06-16 10:34:34
Commit Hash: d2d618c
License: not specified in port
WWW:
https://github.com/inikep/lzbench
Description: #
lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors. It joins all compressors into a single executable. At the beginning, an input file is read to memory. Then all compressors are used to compress and decompress the file and decompressed file is verified. This approach has a big advantage of using the same compiler with the same optimizations for all compressors. The disadvantage is that it requires source code of each compressor (therefore Slug or lzturbo are not included).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (1 items)
Collapse this list.
  1. bin/lzbench
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • lzbench>0:benchmarks/lzbench
To install the port: #
cd /usr/ports/benchmarks/lzbench/ && make install clean
To add the package, run one of these commands:
  • pkg install benchmarks/lzbench
  • pkg install lzbench
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: lzbench
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1781543615 SHA256 (inikep-lzbench-v2.3_GH0.tar.gz) = d051edf6d311a1ae1bdc952ce3fa6c4d83013a745a82a01f3e9078cc507dcb8d SIZE (inikep-lzbench-v2.3_GH0.tar.gz) = 9681445

Packages (timestamps in pop-ups are UTC): #
lzbench
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.32.31.8.12.12.3
FreeBSD:14:quarterly2.32.3-2.0.12.3
FreeBSD:15:latest2.32.3n/a2.1n/a
FreeBSD:15:quarterly2.32.3n/a-n/a
FreeBSD:16:latest CURRENT2.32.3n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. gmake>=4.4.1 : devel/gmake
There are no ports dependent upon this port #

Configuration Options: #
===> The following configuration options are available for lzbench-2.3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name: #
benchmarks_lzbench
USES: #
compiler:c11 gmake
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/inikep/lzbench/tar.gz/v2.3?dummy=/
Collapse this list.

Number of commits found: 22 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.3
16 Jun 2026 10:34:34
commit hash: d2d618c225515bd73ba7b85588da024522f0c251commit hash: d2d618c225515bd73ba7b85588da024522f0c251commit hash: d2d618c225515bd73ba7b85588da024522f0c251commit hash: d2d618c225515bd73ba7b85588da024522f0c251 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
benchmarks/lzbench: update the port to version 2.3

Reported by:	portscout
2.2
20 Nov 2025 16:55:32
commit hash: 415338ab276be8e18a280ae66bfc57601102e0b5commit hash: 415338ab276be8e18a280ae66bfc57601102e0b5commit hash: 415338ab276be8e18a280ae66bfc57601102e0b5commit hash: 415338ab276be8e18a280ae66bfc57601102e0b5 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
benchmarks/lzbench: update the port to version 2.2

Reported by:	portscout
2.1
18 Jul 2025 08:13:18
commit hash: 7586b3b7fff324b36c6396421fc289572ac80355commit hash: 7586b3b7fff324b36c6396421fc289572ac80355commit hash: 7586b3b7fff324b36c6396421fc289572ac80355commit hash: 7586b3b7fff324b36c6396421fc289572ac80355 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
benchmarks/lzbench: update the port to the latest version 2.1

- Source code had been reorganized upstream, so the paths to
  various files we patch had changed
- The `pithy' codec had been removed because it is very bad
  with incompressible data (doesn't fit to allocated buffers)

Reported by:	portscout
2.0.1
16 May 2025 02:41:04
commit hash: c80f4950824f748d68724d3e7a8f26571fff3db3commit hash: c80f4950824f748d68724d3e7a8f26571fff3db3commit hash: c80f4950824f748d68724d3e7a8f26571fff3db3commit hash: c80f4950824f748d68724d3e7a8f26571fff3db3 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
benchmarks/lzbench: try to unbreak the port's build against newer Clang

As of September 2023 (llvmorg-18.1.0-rc1) /usr/include/c++/v1/__config
no longer includes <sys/endian.h>, because both Clang and GCC always
define __BYTE_ORDER__ macro.  This had accidentally revealed a problem
in Kanzi data compressor which was including <machine/endian.h> to no
avail.  Replace it with <sys/endian.h> to obtain bswap??() definitions.

Reported by:	pkg-fallout
PR:		285285
LLVM commit:	https://github.com/llvm/llvm-project/commit/0a97720
2.0.1
01 Mar 2025 06:03:00
commit hash: 7cc244f0d1e7fff69b971cee8e0b18ed257809a4commit hash: 7cc244f0d1e7fff69b971cee8e0b18ed257809a4commit hash: 7cc244f0d1e7fff69b971cee8e0b18ed257809a4commit hash: 7cc244f0d1e7fff69b971cee8e0b18ed257809a4 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
benchmarks/lzbench: the port had been updated to version 2.0.1

Adjust preprocessor logic for the fact that FreeBSD has proper
directory(3) and nanosleep(2) support.

PR:		284231
Reported by:	portscout
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.8.1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.8.1
20 Jul 2022 14:20:56
commit hash: 86b2c5122a18d1f73e6e4e4626889fab8fb0803acommit hash: 86b2c5122a18d1f73e6e4e4626889fab8fb0803acommit hash: 86b2c5122a18d1f73e6e4e4626889fab8fb0803acommit hash: 86b2c5122a18d1f73e6e4e4626889fab8fb0803a files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
benchmarks: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Alexander Logvinov <ports@logvinov.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alexey V. Degtyarev
  *  Andreas Kohn <andreas@syndrom23.de>
  *  Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
  *  Andrey Zakhvatov <andy@FreeBSD.org>
  *  Andy Clark <andrewclarkii@gmail.com>
  *  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
  *  Bill Fumerola <billf@chc-chimes.com>
  *  Brad Davis <brd@FreeBSD.org>
  *  Bruce A. Mah <bmah@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.8.1
24 May 2022 13:39:30
commit hash: 8bfcc7c9738a835ba65030236d816c222cb5e8fccommit hash: 8bfcc7c9738a835ba65030236d816c222cb5e8fccommit hash: 8bfcc7c9738a835ba65030236d816c222cb5e8fccommit hash: 8bfcc7c9738a835ba65030236d816c222cb5e8fc files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
benchmarks/lzbench: fix the port's build on ARM and RISC-V

While here, mute the compiler when it is being called inside the
GNU make's $(shell ...) context: these errors do not cause build
failures (they are not propagated to the caller) but can confuse
careless readers of the build log.

PR:	260625
1.8.1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.8.1
12 Dec 2020 05:10:44
Revision:557790commit hash: 229062378adc15f5d5e3ec4b3dea7d865b62927dcommit hash: 229062378adc15f5d5e3ec4b3dea7d865b62927dcommit hash: 229062378adc15f5d5e3ec4b3dea7d865b62927dcommit hash: 229062378adc15f5d5e3ec4b3dea7d865b62927dOriginal commit files touched by this commit
linimon search for other commits by this committer
Mark BROKEN on riscv64.

Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com build testing
1.8.1
02 Sep 2020 02:37:03
Revision:547312commit hash: 198256f0e1bb70c001ec510c1dddc72867445d7fcommit hash: 198256f0e1bb70c001ec510c1dddc72867445d7fcommit hash: 198256f0e1bb70c001ec510c1dddc72867445d7fcommit hash: 198256f0e1bb70c001ec510c1dddc72867445d7fOriginal commit files touched by this commit
danfe search for other commits by this committer
Update to version 1.8.1 which does not require -fcommon workaround.
1.8
22 Aug 2020 15:26:00
Revision:545770commit hash: c3656a797c501e166a66982937f61606043228dacommit hash: c3656a797c501e166a66982937f61606043228dacommit hash: c3656a797c501e166a66982937f61606043228dacommit hash: c3656a797c501e166a66982937f61606043228daOriginal commit files touched by this commit
danfe search for other commits by this committer
- Unbreak the build with -fno-common (Clang 11, GCC 10)
- Include upstream bug report for reference and tracking

Reported by:	pkg-fallout
1.8
25 Oct 2019 11:29:52
Revision:515604commit hash: fa613c5cafbbd919303fd4cae0460d33ac6c6287commit hash: fa613c5cafbbd919303fd4cae0460d33ac6c6287commit hash: fa613c5cafbbd919303fd4cae0460d33ac6c6287commit hash: fa613c5cafbbd919303fd4cae0460d33ac6c6287Original commit files touched by this commit
danfe search for other commits by this committer
Update `benchmarks/lzbench' to version 1.8.

Reported by:	portscout
1.7.4
24 Oct 2019 09:28:43
Revision:515326commit hash: a0a51655bed5fd9c74f1001d9d632fb173f688cfcommit hash: a0a51655bed5fd9c74f1001d9d632fb173f688cfcommit hash: a0a51655bed5fd9c74f1001d9d632fb173f688cfcommit hash: a0a51655bed5fd9c74f1001d9d632fb173f688cfOriginal commit files touched by this commit
danfe search for other commits by this committer
- Update `benchmarks/lzbench' to version 1.7.4
- Install README.md file as part of documentation
- Garbage-collect no longer useful patches

Reported by:	portscout
1.7.3_3
26 Jul 2019 20:46:57
Revision:507372commit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfOriginal commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
1.7.3_2
12 Dec 2018 01:35:36
Revision:487272commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
1.7.3_1
29 Jul 2018 22:18:46
Revision:475857commit hash: 09f9633cb617878a6611cfdfb630e55d957188efcommit hash: 09f9633cb617878a6611cfdfb630e55d957188efcommit hash: 09f9633cb617878a6611cfdfb630e55d957188efcommit hash: 09f9633cb617878a6611cfdfb630e55d957188efOriginal commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
1.7.3
25 Jan 2018 11:21:12
Revision:459920commit hash: 0e33f351a5ffc83be7ed2b1dd95f2c94c34a6c86commit hash: 0e33f351a5ffc83be7ed2b1dd95f2c94c34a6c86commit hash: 0e33f351a5ffc83be7ed2b1dd95f2c94c34a6c86commit hash: 0e33f351a5ffc83be7ed2b1dd95f2c94c34a6c86Original commit files touched by this commit
danfe search for other commits by this committer
Do not link the program statically, there is no need for this.

Obtained from:	Arch Linux package
1.7.3
23 Jan 2018 09:04:28
Revision:459732commit hash: ff966c717daf7c2dcb811c188e643c5bd1152bf8commit hash: ff966c717daf7c2dcb811c188e643c5bd1152bf8commit hash: ff966c717daf7c2dcb811c188e643c5bd1152bf8commit hash: ff966c717daf7c2dcb811c188e643c5bd1152bf8Original commit files touched by this commit
danfe search for other commits by this committer
Try to unbreak on SSE4.1-capable machines running in 32-bit mode.

Reported by:	pkg-fallout
1.7.3
15 Jan 2018 14:35:11
Revision:459050commit hash: 74a230c9cbeb11bba446bd0e1fec89784c1677d8commit hash: 74a230c9cbeb11bba446bd0e1fec89784c1677d8commit hash: 74a230c9cbeb11bba446bd0e1fec89784c1677d8commit hash: 74a230c9cbeb11bba446bd0e1fec89784c1677d8Original commit files touched by this commit
danfe search for other commits by this committer
Unbreak the build against Clang 6.0.0 by allowing certain warnings while I'm
not in the mood for fixing them (technically, `-Wno-c++11-narrowing' is only
required for Clang 6 and later, but since it does not apparently upset other
compilers, pass it unconditionally rather than complicate Makefile logic).
1.7.3
15 Jan 2018 07:05:53
Revision:459019commit hash: 4612d2325f9d1bd42754ae93497d67ef1a3ed400commit hash: 4612d2325f9d1bd42754ae93497d67ef1a3ed400commit hash: 4612d2325f9d1bd42754ae93497d67ef1a3ed400commit hash: 4612d2325f9d1bd42754ae93497d67ef1a3ed400Original commit files touched by this commit
danfe search for other commits by this committer
Add a port of lzbench, an in-memory benchmark of open-source LZ77/LZSS/LZMA
compressors.  It joins all compressors into a single executable.  At the
beginning, an input file is read to memory.  Then all compressors are used
to compress and decompress the file and decompressed file is verified.

WWW: https://github.com/inikep/lzbench
Add a port of libdeflate, a library for fast, whole-buffer DEFLATE-based
compression and decompression.

WWW: https://github.com/ebiggers/libdeflate

Because GitHub releases (tarballs) are not fetched with correct modification
time, set TIMESTAMP to 1515146810 which corresponds to commit 6c4ad37 tagged
as this release.

Number of commits found: 22