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 506 234.8
flanders dash 111,674 91 1,227.2
flanders mksh 111,674 279 400.3
flanders osh-cpython 118,863 22,983 5.2
flanders osh-ovm 118,863 30,321 3.9
flanders zsh 118,863 3,198 37.2
lisa bash 118,863 193 614.9
lisa dash 111,674 44 2,561.3
lisa mksh 111,674 111 1,005.2
lisa osh-cpython 118,863 7,501 15.8
lisa osh-ovm 118,863 8,348 14.2
lisa zsh 118,863 1,172 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 10.4 23.3 1,679 t4014-format-patch.sh
flanders 13.5 26.3 1,733 functions
flanders 14.1 26.9 2,029 configure-helper.sh
flanders 15.9 28.5 2,512 abuild
flanders 14.6 27.5 2,698 Build.sh
flanders 10.9 23.5 3,123 t9300-fast-import.sh
flanders 27.0 39.6 5,160 test-cmd-util.sh
flanders 27.5 40.2 9,661 ltmain.sh
flanders 50.5 63.5 20,489 configure
flanders 123.1 135.9 69,779 configure-coreutils
lisa 10.4 23.3 1,679 t4014-format-patch.sh
lisa 13.5 26.3 1,733 functions
lisa 13.8 26.9 2,029 configure-helper.sh
lisa 15.8 28.5 2,512 abuild
lisa 14.8 27.5 2,698 Build.sh
lisa 10.9 23.5 3,123 t9300-fast-import.sh
lisa 26.8 39.6 5,160 test-cmd-util.sh
lisa 27.5 40.2 9,661 ltmain.sh
lisa 50.4 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-aa0050cf
osh-ovm osh-0e2510c8
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-07-01__11-28-51.times.csv
lisa.2019-07-01__11-29-34.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 5 145 159 141 14.0 1,679 t4014-format-patch.sh
flanders 17 4 14 38 496 374 29.0 1,733 functions
flanders 17 NA NA 72 532 426 31.8 2,029 configure-helper.sh
flanders 19 6 13 55 832 619 44.7 2,512 abuild
flanders 15 4 14 140 618 460 40.9 2,698 Build.sh
flanders 19 3 8 177 214 176 11.4 3,123 t9300-fast-import.sh
flanders 43 NA NA 172 1,918 1,362 44.8 5,160 test-cmd-util.sh
flanders 49 14 28 199 2,901 1,708 59.2 9,661 ltmain.sh
flanders 90 18 57 489 5,582 4,573 61.7 20,489 configure
flanders 226 37 140 1,712 17,071 13,144 75.4 69,779 configure-coreutils
lisa 4 1 2 48 64 70 14.2 1,679 t4014-format-patch.sh
lisa 4 2 4 13 172 170 38.3 1,733 functions
lisa 8 NA NA 27 182 166 22.5 2,029 configure-helper.sh
lisa 6 3 5 20 267 229 44.6 2,512 abuild
lisa 6 2 3 42 193 174 33.2 2,698 Build.sh
lisa 5 2 2 60 69 68 13.5 3,123 t9300-fast-import.sh
lisa 16 NA NA 70 633 531 39.3 5,160 test-cmd-util.sh
lisa 18 5 13 79 687 616 38.0 9,661 ltmain.sh
lisa 35 8 26 189 1,536 1,364 44.1 20,489 configure
lisa 90 22 56 624 4,546 4,115 50.3 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 148.6 508.8 316.8 11.6 10.6 11.9 1,679 t4014-format-patch.sh
flanders 101.3 433.2 126.5 46.1 3.5 4.6 1,733 functions
flanders 121.5 NA NA 28.3 3.8 4.8 2,029 configure-helper.sh
flanders 135.1 411.8 193.2 46.0 3.0 4.1 2,512 abuild
flanders 178.7 613.2 195.5 19.2 4.4 5.9 2,698 Build.sh
flanders 166.1 918.5 376.3 17.6 14.6 17.7 3,123 t9300-fast-import.sh
flanders 120.6 NA NA 30.0 2.7 3.8 5,160 test-cmd-util.sh
flanders 197.2 666.3 346.3 48.6 3.3 5.7 9,661 ltmain.sh
flanders 226.6 1,138.3 362.0 41.9 3.7 4.5 20,489 configure
flanders 308.2 1,870.8 497.0 40.8 4.1 5.3 69,779 configure-coreutils
lisa 373.1 1,199.3 839.5 35.0 26.2 24.0 1,679 t4014-format-patch.sh
lisa 385.1 1,083.1 495.1 129.3 10.1 10.2 1,733 functions
lisa 250.5 NA NA 74.3 11.1 12.3 2,029 configure-helper.sh
lisa 418.7 966.2 546.1 126.2 9.4 11.0 2,512 abuild
lisa 465.2 1,498.9 793.5 64.2 14.0 15.5 2,698 Build.sh
lisa 612.4 2,082.0 1,357.8 51.6 45.3 46.3 3,123 t9300-fast-import.sh
lisa 320.5 NA NA 74.1 8.2 9.7 5,160 test-cmd-util.sh
lisa 533.8 1,894.3 743.2 122.0 14.1 15.7 9,661 ltmain.sh
lisa 588.8 2,529.5 794.1 108.6 13.3 15.0 20,489 configure
lisa 772.7 3,245.5 1,235.0 111.9 15.4 17.0 69,779 configure-coreutils