OSH Parser Performance

We run $sh -n $file for various files under various shells. This means that shell startup time is included in the elapsed time measurements, but long files are chosen to minimize its effect.

Parse Time Summary

host label shell label total lines total ms lines per ms
flanders bash 118,863 477 249.4
flanders dash 111,674 94 1,184.2
flanders mksh 111,674 257 434.2
flanders osh-cpython 118,863 16,518 7.2
flanders osh-ovm 118,863 19,421 6.1
flanders zsh 118,863 3,198 37.2
lisa bash 118,863 188 632.6
lisa dash 111,674 38 2,931.1
lisa mksh 111,674 118 944.8
lisa osh-cpython 118,863 7,985 14.9
lisa osh-ovm 118,863 8,939 13.3
lisa zsh 118,863 1,173 101.4

Memory Used to Parse

Running under osh-ovm. Memory usage is measured in MB (powers of 10), not MiB (powers of 2).

host VmRSS MB VmPeak MB num lines filename
flanders 7.3 20.4 1,679 t4014-format-patch.sh
flanders 7.3 20.4 1,733 functions
flanders 7.4 20.4 2,029 configure-helper.sh
flanders 7.5 20.4 2,512 abuild
flanders 7.2 20.4 2,698 Build.sh
flanders 7.2 20.4 3,123 t9300-fast-import.sh
flanders 7.3 20.4 5,160 test-cmd-util.sh
flanders 7.2 20.4 9,661 ltmain.sh
flanders 7.3 20.4 20,489 configure
flanders 7.2 20.4 69,779 configure-coreutils
lisa 7.2 20.4 1,679 t4014-format-patch.sh
lisa 7.3 20.4 1,733 functions
lisa 7.2 20.4 2,029 configure-helper.sh
lisa 7.2 20.4 2,512 abuild
lisa 7.3 20.4 2,698 Build.sh
lisa 7.1 20.4 3,123 t9300-fast-import.sh
lisa 7.1 20.4 5,160 test-cmd-util.sh
lisa 7.2 20.4 9,661 ltmain.sh
lisa 7.2 20.4 20,489 configure
lisa 7.2 20.4 69,779 configure-coreutils

Shell and Host Details

shell label shell id
bash bash-d685a43c
dash dash-2887d9e6
mksh mksh-ae7d165b
zsh zsh-ca7b4198
osh-cpython osh-44738798
osh-ovm osh-8863b4f1
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-01-18__13-14-52.times.csv
lisa.2019-01-18__13-17-54.times.csv

Parse Time Breakdown by File

Elasped Time in milliseconds

host label bash dash mksh zsh osh-ovm osh-cpython osh to bash ratio num lines filename
flanders 11 3 6 140 140 137 12.9 1,679 t4014-format-patch.sh
flanders 17 5 11 38 403 368 23.7 1,733 functions
flanders 21 NA NA 68 439 390 21.1 2,029 configure-helper.sh
flanders 19 7 14 54 624 556 32.3 2,512 abuild
flanders 15 4 10 133 451 402 29.5 2,698 Build.sh
flanders 17 4 8 184 167 160 9.6 3,123 t9300-fast-import.sh
flanders 43 NA NA 173 1,401 1,220 32.7 5,160 test-cmd-util.sh
flanders 47 15 31 196 1,621 1,358 34.7 9,661 ltmain.sh
flanders 81 21 50 484 3,884 3,136 47.7 20,489 configure
flanders 205 36 128 1,728 10,291 8,792 50.2 69,779 configure-coreutils
lisa 4 1 2 49 60 61 17.1 1,679 t4014-format-patch.sh
lisa 5 2 3 17 182 168 34.3 1,733 functions
lisa 5 NA NA 25 188 169 35.5 2,029 configure-helper.sh
lisa 6 2 5 22 277 249 43.2 2,512 abuild
lisa 5 2 3 43 207 188 39.1 2,698 Build.sh
lisa 5 2 2 56 77 77 14.8 3,123 t9300-fast-import.sh
lisa 19 NA NA 68 664 555 35.7 5,160 test-cmd-util.sh
lisa 20 4 11 83 738 614 36.9 9,661 ltmain.sh
lisa 38 8 22 193 1,734 1,534 46.2 20,489 configure
lisa 81 18 68 618 4,813 4,370 59.6 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 155.5 579.0 275.2 12.0 12.0 12.2 1,679 t4014-format-patch.sh
flanders 101.9 353.7 162.0 45.0 4.3 4.7 1,733 functions
flanders 97.5 NA NA 29.7 4.6 5.2 2,029 configure-helper.sh
flanders 130.2 380.6 179.4 46.9 4.0 4.5 2,512 abuild
flanders 176.3 658.0 278.1 20.3 6.0 6.7 2,698 Build.sh
flanders 180.5 821.8 416.4 17.0 18.7 19.6 3,123 t9300-fast-import.sh
flanders 120.6 NA NA 29.8 3.7 4.2 5,160 test-cmd-util.sh
flanders 206.9 644.1 311.6 49.4 6.0 7.1 9,661 ltmain.sh
flanders 251.7 961.9 407.3 42.3 5.3 6.5 20,489 configure
flanders 340.1 1,954.6 545.6 40.4 6.8 7.9 69,779 configure-coreutils
lisa 479.7 1,291.5 763.2 34.5 28.1 27.6 1,679 t4014-format-patch.sh
lisa 327.0 912.1 559.0 103.8 9.5 10.3 1,733 functions
lisa 382.8 NA NA 79.9 10.8 12.0 2,029 configure-helper.sh
lisa 392.5 1,570.0 474.0 114.7 9.1 10.1 2,512 abuild
lisa 509.1 1,284.8 793.5 63.2 13.0 14.4 2,698 Build.sh
lisa 600.6 1,735.0 1,487.1 56.2 40.6 40.5 3,123 t9300-fast-import.sh
lisa 277.4 NA NA 76.1 7.8 9.3 5,160 test-cmd-util.sh
lisa 483.1 2,683.6 862.6 117.0 13.1 15.7 9,661 ltmain.sh
lisa 546.4 2,731.9 910.6 106.2 11.8 13.4 20,489 configure
lisa 863.6 3,813.1 1,020.2 112.8 14.5 16.0 69,779 configure-coreutils