JT1078 icon indicating copy to clipboard operation
JT1078 copied to clipboard

性能测试

Open china-live opened this issue 1 year ago • 3 comments

BenchmarkDotNet=v0.13.1, OS=Windows 10.0.19045 11th Gen Intel Core i7-11700F 2.50GHz, 1 CPU, 16 logical and 8 physical cores .NET SDK=8.0.202 [Host] : .NET 6.0.28 (6.0.2824.12007), X64 RyuJIT [AttachedDebugger] Job-LZLOBH : .NET 6.0.28 (6.0.2824.12007), X64 RyuJIT

Platform=AnyCpu Server=False Toolchain=.NET 6.0

Method N Mean Error StdDev Gen 0 Gen 1 Allocated
EXPGolombReader 100 7,341.12 ns 66.693 ns 55.692 ns 1.1444 - 9,600 B
H264Decoder 100 780,702.98 ns 2,497.850 ns 2,336.490 ns 95.7031 1.9531 805,600 B
FMp4Encoder 100 28.61 ns 0.194 ns 0.172 ns - - -
EXPGolombReader 10000 730,992.98 ns 5,814.555 ns 4,855.417 ns 114.2578 - 960,006 B
H264Decoder 10000 78,743,807.62 ns 981,727.009 ns 918,308.054 ns 9571.4286 142.8571 80,561,253 B
FMp4Encoder 10000 2,290.20 ns 24.414 ns 22.837 ns - - -
EXPGolombReader 100000 7,265,561.56 ns 37,196.671 ns 34,793.789 ns 1140.6250 - 9,600,045 B
H264Decoder 100000 785,847,980.00 ns 5,303,053.644 ns 4,960,479.669 ns 96000.0000 2000.0000 805,603,376 B
FMp4Encoder 100000 22,444.51 ns 83.161 ns 69.443 ns - - -

china-live avatar Mar 22 '24 02:03 china-live

BenchmarkDotNet=v0.13.1, OS=Windows 10.0.19045 11th Gen Intel Core i7-11700F 2.50GHz, 1 CPU, 16 logical and 8 physical cores .NET SDK=8.0.202 [Host] : .NET 6.0.28 (6.0.2824.12007), X64 RyuJIT [AttachedDebugger] Job-BGNQTK : .NET 6.0.28 (6.0.2824.12007), X64 RyuJIT

Platform=AnyCpu Server=False Toolchain=.NET 6.0

Method N Mean Error StdDev Gen 0 Gen 1 Allocated
EXPGolombReader 100 7,347.04 ns 80.294 ns 75.107 ns 1.1444 - 9,600 B
H264Decoder 100 782,943.80 ns 4,543.253 ns 4,249.762 ns 95.7031 1.9531 805,606 B
FlvEncoder 100 1,037,390.77 ns 13,304.201 ns 12,444.758 ns 669.9219 132.8125 5,641,601 B
FMp4Encoder 100 29.00 ns 0.357 ns 0.334 ns - - -
EXPGolombReader 10000 731,393.99 ns 10,075.770 ns 9,424.882 ns 114.2578 - 960,006 B
H264Decoder 10000 78,057,878.57 ns 419,072.744 ns 371,497.072 ns 9571.4286 142.8571 80,560,130 B
FlvEncoder 10000 104,672,869.33 ns 1,639,735.739 ns 1,533,809.828 ns 67000.0000 13200.0000 564,161,677 B
FMp4Encoder 10000 2,267.21 ns 21.291 ns 19.916 ns - - -
EXPGolombReader 100000 7,395,785.31 ns 97,132.448 ns 90,857.753 ns 1140.6250 - 9,600,045 B
H264Decoder 100000 793,598,913.33 ns 15,429,602.340 ns 14,432,859.602 ns 96000.0000 2000.0000 805,608,768 B
FlvEncoder 100000 1,032,142,535.71 ns 6,294,246.935 ns 5,579,685.962 ns 671000.0000 133000.0000 5,641,607,464 B
FMp4Encoder 100000 22,538.92 ns 211.215 ns 197.571 ns - - -

china-live avatar Mar 22 '24 02:03 china-live

BenchmarkDotNet=v0.13.1, OS=Windows 10.0.19045 Intel Core i7-4790 CPU 3.60GHz (Haswell), 1 CPU, 8 logical and 4 physical cores .NET SDK=8.0.200 [Host] : .NET 6.0.27 (6.0.2724.6912), X64 RyuJIT [AttachedDebugger] Job-DEYVQE : .NET 6.0.27 (6.0.2724.6912), X64 RyuJIT

Platform=AnyCpu Server=False Toolchain=.NET 6.0

Method N Mean Error StdDev Gen 0 Allocated
EXPGolombReader 100 12,129.17 ns 169.324 ns 141.393 ns 2.2888 9,600 B
H264Decoder 100 1,126,160.20 ns 8,914.155 ns 7,902.166 ns 191.4063 805,611 B
FlvEncoder 100 1,551,498.98 ns 17,628.994 ns 16,490.172 ns 1341.7969 5,641,611 B
FMp4Encoder 100 34.39 ns 0.324 ns 0.303 ns - -
EXPGolombReader 10000 1,185,980.86 ns 16,446.027 ns 14,578.975 ns 228.5156 960,001 B
H264Decoder 10000 113,226,618.46 ns 1,467,557.191 ns 1,225,476.721 ns 19200.0000 80,560,067 B
FlvEncoder 10000 156,331,585.00 ns 1,816,397.115 ns 1,699,058.989 ns 134000.0000 564,160,178 B
FMp4Encoder 10000 2,679.87 ns 12.885 ns 11.423 ns - -
EXPGolombReader 100000 12,329,588.24 ns 211,259.652 ns 251,489.588 ns 2281.2500 9,600,090 B
H264Decoder 100000 1,217,978,354.00 ns 24,070,792.189 ns 48,624,187.357 ns 192000.0000 805,605,728 B
FlvEncoder 100000 1,667,117,756.82 ns 33,041,593.818 ns 62,060,122.314 ns 1342000.0000 5,641,611,120 B
FMp4Encoder 100000 27,863.56 ns 303.458 ns 253.401 ns - -

china-live avatar Mar 22 '24 11:03 china-live

微信图片_20240325211924 已经运行30小时了

china-live avatar Mar 25 '24 13:03 china-live