Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2025 11:02:04 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Warner Losh <imp@bsdimp.com>, Konstantin Belousov <kib@freebsd.org>, Mateusz Guzik <mjguzik@gmail.com>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: performance regressions in 15.0 [What should be the case for 15.0-RELEASE: WITH_ASSEERT_DEBUG or WITHOUT_ASSERT_DEBUG ?]
Message-ID:  <6A8AD343-01E3-42B0-9086-F3C598C33DBC@yahoo.com>
In-Reply-To: <33F5F7DE-8DFA-47E2-A890-E07564825D05@yahoo.com>
References:  <EF95C136-B1D2-4820-A069-D0078A3B5A05@yahoo.com> <18FB2858-5CBB-4B7A-8089-224A58C6A160@yahoo.com> <CANCZdfqfXfzGQRN5TR7KFcNE1-Ng4ECFKD_6V0118b2UwwX09Q@mail.gmail.com> <19A848A6-0042-4873-B70D-AD6805225B92@yahoo.com> <902C948B-0A4C-48E1-8C6C-1BC7A15209D7@yahoo.com> <CAGudoHGQUc6QT9ApyQxh4WE2Q9ZBh4-SxAhCcCYE9k_UobovhQ@mail.gmail.com> <33F5F7DE-8DFA-47E2-A890-E07564825D05@yahoo.com>

index | next in thread | previous in thread | raw e-mail

https://cgit.freebsd.org/src/blame/share/mk/bsd.opts.mk?h=releng/15.0 shows:

__DEFAULT_YES_OPTIONS = \
    ASSERT_DEBUG \
. . .

Looks like it has been that way going back
into 2014. It suggests that care needs to
have been taken to not have added any
expensive asserts, likely including in
contributed software, such as jemalloc
updates and others?

This is a difference with what I tested, by
the way:

WITH_MALLOC_PRODUCTION=
WITHOUT_ASSERT_DEBUG=
WITHOUT_PTHREADS_ASSERTIONS=
WITHOUT_LLVM_ASSERTIONS=

I have not tested how much of a difference
it makes.

For reference:

     WITHOUT_ASSERT_DEBUG
             Compile programs and libraries without the assert(3) checks.


===
Mark Millard
marklmi at yahoo.com



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6A8AD343-01E3-42B0-9086-F3C598C33DBC>