[Bug 271798] multimedia/ffmpeg: Enable LTO by default on aarch64 and amd64

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 25 Sep 2024 17:40:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271798

Olivier Cochard <olivier@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olivier@freebsd.org

--- Comment #4 from Olivier Cochard <olivier@freebsd.org> ---
(In reply to Daniel Engberg from comment #3)

Interpreting some result with ministat, because raw result aren’t easy to read.
All units here are utime in second.

ministat -w 74 -s plain.Decode.MPEG-2.bwdif lto.Decode.MPEG-2.bwdif
x plain.Decode.MPEG-2.bwdif
+ lto.Decode.MPEG-2.bwdif
+--------------------------------------------------------------------------+
| +           +                  +                    x           x      x |
|                                                      |________A_M_______||
||____________M_A_______________|                                          |
+--------------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x   3      1032.744       1035.13      1034.172     1034.0153     1.2006904
+   3      1026.165      1030.029      1027.714     1027.9693     1.9446132
Difference at 95.0% confidence
        -6.046 +/- 3.66291
        -0.584711% +/- 0.353671%
        (Student's t, pooled s = 1.61604)

ministat -w 74 -s plain.Decode.MPEG-4 lto.Decode.MPEG-4
x plain.Decode.MPEG-4
+ lto.Decode.MPEG-4
+--------------------------------------------------------------------------+
| +     +           +                     x        x                      x|
|                                      |___________M____A_______________|  |
||______M_A________|                                                       |
+--------------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x   3        13.248        13.377        13.286     13.303667   0.066289768
+   3         13.09        13.161        13.116     13.122333    0.03592121
Difference at 95.0% confidence
        -0.181333 +/- 0.12084
        -1.36303% +/- 0.898767%
        (Student's t, pooled s = 0.0533135)

ministat -w 74 -s plain.Decode.H264 lto.Decode.H264
x plain.Decode.H264
+ lto.Decode.H264
+--------------------------------------------------------------------------+
|+              x      +         x           +                            x|
|           |____________________M_______A_____________________________|   |
||_____________________A_____________________|                             |
+--------------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x   3       844.163        850.07       845.918       846.717     3.0334738
+   3        842.61       847.122       844.833       844.855     2.2560805
No difference proven at 95.0% confidence

ministat -w 74 -s plain.Decode.HEVC lto.Decode.HEVC
x plain.Decode.HEVC
+ lto.Decode.HEVC
+--------------------------------------------------------------------------+
|+         +           +                                  x        x     x |
|                                                         |_______AM______||
||_________MA__________|                                                   |
+--------------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x   3      1157.997      1159.971      1159.178     1159.0487    0.99333496
+   3      1150.939      1153.633      1152.164     1152.2453     1.3488404
Difference at 95.0% confidence
        -6.80333 +/- 2.68478
        -0.586976% +/- 0.23116%
        (Student's t, pooled s = 1.1845)

inistat -w 74 -s plain.audio.ReplayGain lto.audio.ReplayGain
x plain.audio.ReplayGain
+ lto.audio.ReplayGain
+--------------------------------------------------------------------------+
|+             x                 x         x          +         +          |
|               |_____________A__M__________|                              |
|     |_________________________________A_____________M___________________||
+--------------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x   3         5.295         5.442         5.393     5.3766667   0.074848736
+   3         5.222         5.558         5.504         5.428    0.18043281


So, yes: ship it!

-- 
You are receiving this mail because:
You are the assignee for the bug.