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 465 255.5
flanders dash 111,674 91 1,228.5
flanders mksh 111,674 259 431.5
flanders osh-cpython 118,863 22,433 5.3
flanders osh-ovm 118,863 23,692 5.0
flanders zsh 118,863 3,234 36.8
lisa bash 118,863 182 651.3
lisa dash 111,674 38 2,970.1
lisa mksh 111,674 113 991.8
lisa osh-cpython 118,863 7,260 16.4
lisa osh-ovm 118,863 8,051 14.8
lisa zsh 118,863 1,153 103.1

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 10.0 31.1 1,679 t4014-format-patch.sh
flanders 13.0 34.0 1,733 functions
flanders 13.6 34.6 2,029 configure-helper.sh
flanders 15.2 36.5 2,512 abuild
flanders 14.1 35.3 2,698 Build.sh
flanders 10.3 31.5 3,123 t9300-fast-import.sh
flanders 26.6 47.3 5,160 test-cmd-util.sh
flanders 27.1 48.0 9,661 ltmain.sh
flanders 50.1 71.2 20,489 configure
flanders 122.5 143.6 69,779 configure-coreutils
lisa 9.9 31.1 1,679 t4014-format-patch.sh
lisa 13.0 34.0 1,733 functions
lisa 13.7 34.6 2,029 configure-helper.sh
lisa 15.2 36.5 2,512 abuild
lisa 14.2 35.3 2,698 Build.sh
lisa 10.2 31.4 3,123 t9300-fast-import.sh
lisa 26.5 47.5 5,160 test-cmd-util.sh
lisa 26.9 48.3 9,661 ltmain.sh
lisa 49.9 71.2 20,489 configure
lisa 122.3 143.6 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-be0ea457
osh-ovm osh-4c4f4426
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-05-08__22-35-51.times.csv
lisa.2019-05-08__22-43-47.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 12 4 6 141 154 140 12.5 1,679 t4014-format-patch.sh
flanders 13 5 12 38 533 395 40.7 1,733 functions
flanders 16 NA NA 68 592 425 36.1 2,029 configure-helper.sh
flanders 19 5 16 50 832 584 44.5 2,512 abuild
flanders 14 6 16 127 620 437 43.0 2,698 Build.sh
flanders 14 5 7 192 207 160 14.6 3,123 t9300-fast-import.sh
flanders 40 NA NA 172 1,837 1,432 46.1 5,160 test-cmd-util.sh
flanders 44 10 27 199 1,925 1,902 43.3 9,661 ltmain.sh
flanders 85 22 52 494 3,905 5,127 45.7 20,489 configure
flanders 206 35 123 1,754 13,088 11,830 63.4 69,779 configure-coreutils
lisa 3 1 2 53 57 60 16.8 1,679 t4014-format-patch.sh
lisa 4 2 4 14 176 155 39.9 1,733 functions
lisa 7 NA NA 25 191 169 26.9 2,029 configure-helper.sh
lisa 7 2 4 20 269 237 39.0 2,512 abuild
lisa 5 2 3 45 195 180 42.3 2,698 Build.sh
lisa 4 1 2 53 71 65 16.0 3,123 t9300-fast-import.sh
lisa 18 NA NA 69 584 532 33.2 5,160 test-cmd-util.sh
lisa 18 4 14 83 689 611 38.9 9,661 ltmain.sh
lisa 36 7 23 190 1,477 1,350 41.5 20,489 configure
lisa 81 20 61 601 4,343 3,901 53.7 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 136.5 479.7 289.5 11.9 10.9 12.0 1,679 t4014-format-patch.sh
flanders 132.3 346.6 139.8 45.1 3.3 4.4 1,733 functions
flanders 123.7 NA NA 30.1 3.4 4.8 2,029 configure-helper.sh
flanders 134.3 523.3 162.1 49.7 3.0 4.3 2,512 abuild
flanders 187.4 442.3 172.9 21.3 4.4 6.2 2,698 Build.sh
flanders 219.9 678.9 473.2 16.3 15.1 19.5 3,123 t9300-fast-import.sh
flanders 129.6 NA NA 30.0 2.8 3.6 5,160 test-cmd-util.sh
flanders 217.1 938.0 353.9 48.6 5.0 5.1 9,661 ltmain.sh
flanders 239.9 948.6 391.8 41.5 5.2 4.0 20,489 configure
flanders 337.9 1,993.7 565.9 39.8 5.3 5.9 69,779 configure-coreutils
lisa 493.8 1,399.2 839.5 31.5 29.4 27.8 1,679 t4014-format-patch.sh
lisa 393.9 962.8 495.1 124.7 9.9 11.2 1,733 functions
lisa 285.8 NA NA 82.1 10.6 12.0 2,029 configure-helper.sh
lisa 364.1 1,477.6 598.1 125.0 9.3 10.6 2,512 abuild
lisa 586.5 1,420.0 870.3 59.8 13.9 15.0 2,698 Build.sh
lisa 709.8 2,402.3 1,487.1 58.8 44.2 47.8 3,123 t9300-fast-import.sh
lisa 293.2 NA NA 75.0 8.8 9.7 5,160 test-cmd-util.sh
lisa 545.8 2,683.6 690.1 116.8 14.0 15.8 9,661 ltmain.sh
lisa 575.5 3,104.4 887.0 107.7 13.9 15.2 20,489 configure
lisa 863.6 3,578.4 1,151.5 116.1 16.1 17.9 69,779 configure-coreutils