LINUX.ORG.RU

История изменений

Исправление intelfx, (текущая версия) :

Ваш свежак какой-то протухший.

Корень:

CommandMean [ms]Min [ms]Max [ms]Relative
find /mnt/rootfs604.4 ± 5.2597.3614.95.27 ± 0.22
devel/ext/fd/target/release/fd -u . /mnt/rootfs114.8 ± 4.7106.4126.51.00
devel/ext/bfs/bin/bfs /mnt/rootfs209.9 ± 15.2186.5242.81.83 ± 0.15
Benchmark 1: find /mnt/rootfs
  Time (mean ± σ):     604.4 ms ±   5.2 ms    [User: 171.6 ms, System: 431.0 ms]
  Range (min … max):   597.3 ms … 614.9 ms    10 runs
 
Benchmark 2: devel/ext/fd/target/release/fd -u . /mnt/rootfs
  Time (mean ± σ):     114.8 ms ±   4.7 ms    [User: 1294.0 ms, System: 918.6 ms]
  Range (min … max):   106.4 ms … 126.5 ms    25 runs
 
Benchmark 3: devel/ext/bfs/bin/bfs /mnt/rootfs
  Time (mean ± σ):     209.9 ms ±  15.2 ms    [User: 211.7 ms, System: 680.4 ms]
  Range (min … max):   186.5 ms … 242.8 ms    16 runs
 
Summary
  devel/ext/fd/target/release/fd -u . /mnt/rootfs ran
    1.83 ± 0.15 times faster than devel/ext/bfs/bin/bfs /mnt/rootfs
    5.27 ± 0.22 times faster than find /mnt/rootfs

Хомяк:

CommandMean [s]Min [s]Max [s]Relative
find /home/intelfx2.339 ± 0.0152.3112.3556.37 ± 0.23
devel/ext/fd/target/release/fd -u . /home/intelfx0.367 ± 0.0130.3530.3971.00
devel/ext/bfs/bin/bfs /home/intelfx0.772 ± 0.0310.7240.8132.10 ± 0.11
Benchmark 1: find /home/intelfx
  Time (mean ± σ):      2.339 s ±  0.015 s    [User: 0.586 s, System: 1.745 s]
  Range (min … max):    2.311 s …  2.355 s    10 runs
 
Benchmark 2: devel/ext/fd/target/release/fd -u . /home/intelfx
  Time (mean ± σ):     367.0 ms ±  13.1 ms    [User: 4320.2 ms, System: 4306.2 ms]
  Range (min … max):   352.8 ms … 396.7 ms    10 runs
 
Benchmark 3: devel/ext/bfs/bin/bfs /home/intelfx
  Time (mean ± σ):     772.0 ms ±  31.1 ms    [User: 763.5 ms, System: 2938.2 ms]
  Range (min … max):   723.7 ms … 813.2 ms    10 runs
 
Summary
  devel/ext/fd/target/release/fd -u . /home/intelfx ran
    2.10 ± 0.11 times faster than devel/ext/bfs/bin/bfs /home/intelfx
    6.37 ± 0.23 times faster than find /home/intelfx

SSD~~-помойка~~ с данными:

CommandMean [s]Min [s]Max [s]Relative
find /mnt/ssd11.886 ± 0.05411.82911.9846.79 ± 0.17
devel/ext/fd/target/release/fd -u . /mnt/ssd1.750 ± 0.0431.6951.8251.00
devel/ext/bfs/bin/bfs /mnt/ssd12.604 ± 0.57711.99313.5977.20 ± 0.37
Benchmark 1: find /mnt/ssd
  Time (mean ± σ):     11.886 s ±  0.054 s    [User: 2.870 s, System: 8.976 s]
  Range (min … max):   11.829 s … 11.984 s    10 runs
   
Benchmark 2: devel/ext/fd/target/release/fd -u . /mnt/ssd
  Time (mean ± σ):      1.750 s ±  0.043 s    [User: 18.936 s, System: 17.819 s]
  Range (min … max):    1.695 s …  1.825 s    10 runs
    
Benchmark 3: devel/ext/bfs/bin/bfs /mnt/ssd
  Time (mean ± σ):     12.604 s ±  0.577 s    [User: 4.986 s, System: 17.209 s]
  Range (min … max):   11.993 s … 13.597 s    10 runs
 
Summary
  devel/ext/fd/target/release/fd -u . /mnt/ssd ran
    6.79 ± 0.17 times faster than find /mnt/ssd
    7.20 ± 0.37 times faster than devel/ext/bfs/bin/bfs /mnt/ssd

Забавно, что на самом большом датасете bfs сливает даже find-у.

Исходная версия intelfx, :

Ваш свежак какой-то протухший.

Корень:

Benchmark 1: find /mnt/rootfs
  Time (mean ± σ):     604.4 ms ±   5.2 ms    [User: 171.6 ms, System: 431.0 ms]
  Range (min … max):   597.3 ms … 614.9 ms    10 runs
 
Benchmark 2: devel/ext/fd/target/release/fd -u . /mnt/rootfs
  Time (mean ± σ):     114.8 ms ±   4.7 ms    [User: 1294.0 ms, System: 918.6 ms]
  Range (min … max):   106.4 ms … 126.5 ms    25 runs
 
Benchmark 3: devel/ext/bfs/bin/bfs /mnt/rootfs
  Time (mean ± σ):     209.9 ms ±  15.2 ms    [User: 211.7 ms, System: 680.4 ms]
  Range (min … max):   186.5 ms … 242.8 ms    16 runs
 
Summary
  devel/ext/fd/target/release/fd -u . /mnt/rootfs ran
    1.83 ± 0.15 times faster than devel/ext/bfs/bin/bfs /mnt/rootfs
    5.27 ± 0.22 times faster than find /mnt/rootfs
CommandMean [ms]Min [ms]Max [ms]Relative
find /mnt/rootfs604.4 ± 5.2597.3614.95.27 ± 0.22
devel/ext/fd/target/release/fd -u . /mnt/rootfs114.8 ± 4.7106.4126.51.00
devel/ext/bfs/bin/bfs /mnt/rootfs209.9 ± 15.2186.5242.81.83 ± 0.15

Хомяк:

Benchmark 1: find /home/intelfx
  Time (mean ± σ):      2.339 s ±  0.015 s    [User: 0.586 s, System: 1.745 s]
  Range (min … max):    2.311 s …  2.355 s    10 runs
 
Benchmark 2: devel/ext/fd/target/release/fd -u . /home/intelfx
  Time (mean ± σ):     367.0 ms ±  13.1 ms    [User: 4320.2 ms, System: 4306.2 ms]
  Range (min … max):   352.8 ms … 396.7 ms    10 runs
 
Benchmark 3: devel/ext/bfs/bin/bfs /home/intelfx
  Time (mean ± σ):     772.0 ms ±  31.1 ms    [User: 763.5 ms, System: 2938.2 ms]
  Range (min … max):   723.7 ms … 813.2 ms    10 runs
 
Summary
  devel/ext/fd/target/release/fd -u . /home/intelfx ran
    2.10 ± 0.11 times faster than devel/ext/bfs/bin/bfs /home/intelfx
    6.37 ± 0.23 times faster than find /home/intelfx
CommandMean [s]Min [s]Max [s]Relative
find /home/intelfx2.339 ± 0.0152.3112.3556.37 ± 0.23
devel/ext/fd/target/release/fd -u . /home/intelfx0.367 ± 0.0130.3530.3971.00
devel/ext/bfs/bin/bfs /home/intelfx0.772 ± 0.0310.7240.8132.10 ± 0.11

SSD~~-помойка~~ с данными:

Benchmark 1: find /mnt/ssd
  Time (mean ± σ):     11.886 s ±  0.054 s    [User: 2.870 s, System: 8.976 s]
  Range (min … max):   11.829 s … 11.984 s    10 runs
   
Benchmark 2: devel/ext/fd/target/release/fd -u . /mnt/ssd
  Time (mean ± σ):      1.750 s ±  0.043 s    [User: 18.936 s, System: 17.819 s]
  Range (min … max):    1.695 s …  1.825 s    10 runs
    
Benchmark 3: devel/ext/bfs/bin/bfs /mnt/ssd
  Time (mean ± σ):     12.604 s ±  0.577 s    [User: 4.986 s, System: 17.209 s]
  Range (min … max):   11.993 s … 13.597 s    10 runs
 
Summary
  devel/ext/fd/target/release/fd -u . /mnt/ssd ran
    6.79 ± 0.17 times faster than find /mnt/ssd
    7.20 ± 0.37 times faster than devel/ext/bfs/bin/bfs /mnt/ssd
CommandMean [s]Min [s]Max [s]Relative
find /mnt/ssd11.886 ± 0.05411.82911.9846.79 ± 0.17
devel/ext/fd/target/release/fd -u . /mnt/ssd1.750 ± 0.0431.6951.8251.00
devel/ext/bfs/bin/bfs /mnt/ssd12.604 ± 0.57711.99313.5977.20 ± 0.37

Забавно, что на самом большом датасете bfs сливает даже find-у.