Module Name:    src
Committed By:   ad
Date:           Fri Oct 13 20:57:30 UTC 2023

Modified Files:
        src/lib/libc/stdlib: jemalloc.c

Log Message:
Convert to use Matt Thomas's rbtree, which the env code probably already
pulls into libc.  amd64 object size before and after:

           text    data     bss     dec     hex filename
          21001      88     365   21454    53ce jemalloc.po
          14991     184     429   15604    3cf4 jemalloc.po

libmicro on AMD Athlon Silver 3050e comparing this and the revision before
previous (i.e. the old code, versus arena changes + rbtree changes):

        exit_10_nolibc  135.168300      128.07790[   +5.5%]
        fork_100        180.539040      149.63721[  +20.7%]
        fork_1000       200.421650      167.09660[  +19.9%]
        mallocT2_10     0.132920        0.13317[   -0.2%]
        mallocT2_100    0.136350        0.13635[   +0.0%]
        mallocT2_100k   0.258690        0.26641[   -3.0%]
        mallocT2_10k    0.223340        0.22733[   -1.8%]
        mallocT2_1k     0.137170        0.14254[   -3.9%]
        malloc_10       0.100540        0.10849[   -7.9%]
        malloc_100      0.107290        0.10753[   -0.2%]
        malloc_100k     0.193560        0.19355[   +0.0%]
        malloc_10k      0.173250        0.17454[   -0.7%]
        malloc_1k       0.113490        0.11335[   +0.1%]


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/lib/libc/stdlib/jemalloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to