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 627 189.6
flanders dash 111,674 113 990.0
flanders mksh 111,674 330 338.5
flanders osh-cpython 118,863 29,608 4.0
flanders osh-ovm 118,863 31,728 3.7
flanders zsh 118,863 4,386 27.1
lisa bash 118,863 190 625.9
lisa dash 111,674 42 2,633.8
lisa mksh 111,674 127 877.3
lisa osh-cpython 118,863 8,151 14.6
lisa osh-ovm 118,863 8,499 14.0
lisa zsh 118,863 1,212 98.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.4 23.3 1,679 t4014-format-patch.sh
flanders 13.4 26.2 1,733 functions
flanders 14.0 26.9 2,029 configure-helper.sh
flanders 15.9 28.5 2,512 abuild
flanders 14.8 27.5 2,698 Build.sh
flanders 11.0 23.5 3,123 t9300-fast-import.sh
flanders 27.0 39.6 5,160 test-cmd-util.sh
flanders 27.6 40.2 9,661 ltmain.sh
flanders 50.5 63.5 20,489 configure
flanders 122.9 135.9 69,779 configure-coreutils
lisa 10.5 23.3 1,679 t4014-format-patch.sh
lisa 13.4 26.2 1,733 functions
lisa 13.9 26.9 2,029 configure-helper.sh
lisa 15.7 28.5 2,512 abuild
lisa 14.4 27.5 2,698 Build.sh
lisa 10.8 23.5 3,123 t9300-fast-import.sh
lisa 26.9 39.6 5,160 test-cmd-util.sh
lisa 27.5 40.2 9,661 ltmain.sh
lisa 50.3 63.5 20,489 configure
lisa 122.9 135.9 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-1f61a3cf
osh-ovm osh-0972d264
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-06-11__00-50-19.times.csv
lisa.2019-06-11__00-00-14.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 13 4 6 146 243 219 18.3 1,679 t4014-format-patch.sh
flanders 16 6 12 49 758 566 47.4 1,733 functions
flanders 25 NA NA 89 816 552 32.9 2,029 configure-helper.sh
flanders 24 7 14 71 1,020 770 42.3 2,512 abuild
flanders 21 5 12 155 714 582 33.7 2,698 Build.sh
flanders 19 5 9 192 242 221 12.7 3,123 t9300-fast-import.sh
flanders 56 NA NA 234 2,218 1,773 39.3 5,160 test-cmd-util.sh
flanders 58 15 35 267 2,185 2,225 37.4 9,661 ltmain.sh
flanders 112 23 69 741 5,239 6,202 46.8 20,489 configure
flanders 282 48 173 2,443 18,292 16,498 64.9 69,779 configure-coreutils
lisa 3 1 2 48 57 85 16.7 1,679 t4014-format-patch.sh
lisa 6 1 4 17 170 181 28.4 1,733 functions
lisa 8 NA NA 27 185 168 21.8 2,029 configure-helper.sh
lisa 9 2 6 25 254 268 28.9 2,512 abuild
lisa 5 2 4 44 192 202 40.9 2,698 Build.sh
lisa 7 1 3 52 66 79 8.9 3,123 t9300-fast-import.sh
lisa 18 NA NA 80 607 605 34.3 5,160 test-cmd-util.sh
lisa 19 4 11 78 717 605 37.8 9,661 ltmain.sh
lisa 33 9 32 211 1,655 1,464 50.5 20,489 configure
lisa 82 22 65 631 4,595 4,492 56.3 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 126.2 453.8 262.3 11.5 6.9 7.7 1,679 t4014-format-patch.sh
flanders 108.3 279.5 142.0 35.4 2.3 3.1 1,733 functions
flanders 81.8 NA NA 22.9 2.5 3.7 2,029 configure-helper.sh
flanders 104.2 380.6 176.9 35.3 2.5 3.3 2,512 abuild
flanders 127.3 518.8 228.6 17.4 3.8 4.6 2,698 Build.sh
flanders 164.4 637.3 363.1 16.3 12.9 14.1 3,123 t9300-fast-import.sh
flanders 91.3 NA NA 22.0 2.3 2.9 5,160 test-cmd-util.sh
flanders 165.1 644.1 274.5 36.2 4.4 4.3 9,661 ltmain.sh
flanders 183.1 879.4 298.7 27.6 3.9 3.3 20,489 configure
flanders 247.7 1,456.8 403.6 28.6 3.8 4.2 69,779 configure-coreutils
lisa 493.8 1,199.3 932.8 35.3 29.5 19.7 1,679 t4014-format-patch.sh
lisa 288.8 1,237.9 412.6 103.2 10.2 9.6 1,733 functions
lisa 238.7 NA NA 74.9 11.0 12.1 2,029 configure-helper.sh
lisa 285.5 1,256.0 392.5 100.5 9.9 9.4 2,512 abuild
lisa 574.0 1,587.1 599.6 61.3 14.1 13.3 2,698 Build.sh
lisa 422.0 2,402.3 1,201.2 59.9 47.2 39.6 3,123 t9300-fast-import.sh
lisa 291.5 NA NA 64.6 8.5 8.5 5,160 test-cmd-util.sh
lisa 508.5 2,683.6 855.0 124.7 13.5 16.0 9,661 ltmain.sh
lisa 624.7 2,276.6 650.4 97.1 12.4 14.0 20,489 configure
lisa 855.1 3,171.8 1,073.5 110.7 15.2 15.5 69,779 configure-coreutils