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 485 244.9
flanders dash 111,674 105 1,061.5
flanders mksh 111,674 264 423.8
flanders osh-cpython 118,863 16,592 7.2
flanders osh-ovm 118,863 19,051 6.2
flanders zsh 118,863 3,432 34.6
lisa bash 118,863 222 535.2
lisa dash 111,674 46 2,433.0
lisa mksh 111,674 122 913.1
lisa osh-cpython 118,863 9,257 12.8
lisa osh-ovm 118,863 10,272 11.6
lisa zsh 118,863 1,324 89.8

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.3 20.4 2,512 abuild
flanders 7.3 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.4 20.4 9,661 ltmain.sh
flanders 7.3 20.4 20,489 configure
flanders 7.4 20.4 69,779 configure-coreutils
lisa 7.4 20.4 1,679 t4014-format-patch.sh
lisa 7.3 20.4 1,733 functions
lisa 7.3 20.4 2,029 configure-helper.sh
lisa 7.4 20.4 2,512 abuild
lisa 7.4 20.4 2,698 Build.sh
lisa 7.3 20.4 3,123 t9300-fast-import.sh
lisa 7.4 20.4 5,160 test-cmd-util.sh
lisa 7.3 20.4 9,661 ltmain.sh
lisa 7.3 20.4 20,489 configure
lisa 7.3 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-7238acb0
osh-ovm osh-f5184190
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2018-12-07__15-30-19.times.csv
lisa.2018-12-07__15-28-46.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 14 3 4 105 142 132 9.9 1,679 t4014-format-patch.sh
flanders 17 4 6 43 403 365 24.0 1,733 functions
flanders 20 NA NA 78 441 389 22.6 2,029 configure-helper.sh
flanders 21 6 14 65 621 558 30.2 2,512 abuild
flanders 15 4 10 109 448 403 30.5 2,698 Build.sh
flanders 18 3 6 133 166 157 9.3 3,123 t9300-fast-import.sh
flanders 42 NA NA 164 1,395 1,217 33.5 5,160 test-cmd-util.sh
flanders 49 10 36 240 1,557 1,356 32.0 9,661 ltmain.sh
flanders 82 20 45 578 3,553 3,176 43.6 20,489 configure
flanders 210 54 142 1,915 10,325 8,838 49.2 69,779 configure-coreutils
lisa 6 1 2 50 64 67 10.5 1,679 t4014-format-patch.sh
lisa 5 2 4 17 221 189 48.1 1,733 functions
lisa 7 NA NA 29 219 189 31.3 2,029 configure-helper.sh
lisa 6 2 5 23 321 294 51.7 2,512 abuild
lisa 6 2 4 53 236 187 42.9 2,698 Build.sh
lisa 6 2 2 57 75 73 12.9 3,123 t9300-fast-import.sh
lisa 30 NA NA 73 702 634 23.2 5,160 test-cmd-util.sh
lisa 21 4 14 92 816 672 39.1 9,661 ltmain.sh
lisa 38 8 24 220 2,007 1,787 52.3 20,489 configure
lisa 97 26 68 708 5,612 5,164 57.7 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 116.6 541.6 466.4 16.0 11.8 12.7 1,679 t4014-format-patch.sh
flanders 103.2 444.4 270.8 40.0 4.3 4.7 1,733 functions
flanders 104.1 NA NA 26.0 4.6 5.2 2,029 configure-helper.sh
flanders 121.9 386.5 180.7 38.5 4.0 4.5 2,512 abuild
flanders 183.5 613.2 259.4 24.8 6.0 6.7 2,698 Build.sh
flanders 175.4 918.5 557.7 23.4 18.8 19.9 3,123 t9300-fast-import.sh
flanders 123.7 NA NA 31.4 3.7 4.2 5,160 test-cmd-util.sh
flanders 198.4 956.5 266.1 40.3 6.2 7.1 9,661 ltmain.sh
flanders 251.4 1,024.5 456.3 35.4 5.8 6.5 20,489 configure
flanders 332.8 1,297.0 490.0 36.4 6.8 7.9 69,779 configure-coreutils
lisa 275.2 1,199.3 730.0 33.5 26.3 25.1 1,679 t4014-format-patch.sh
lisa 376.7 1,083.1 481.4 101.3 7.8 9.2 1,733 functions
lisa 289.9 NA NA 69.7 9.3 10.7 2,029 configure-helper.sh
lisa 405.2 1,196.2 492.5 108.7 7.8 8.5 2,512 abuild
lisa 490.5 1,498.9 749.4 50.6 11.4 14.4 2,698 Build.sh
lisa 538.4 2,082.0 1,419.5 54.5 41.8 42.7 3,123 t9300-fast-import.sh
lisa 170.3 NA NA 71.0 7.4 8.1 5,160 test-cmd-util.sh
lisa 462.2 2,477.2 705.2 104.4 11.8 14.4 9,661 ltmain.sh
lisa 533.6 2,695.9 850.2 93.0 10.2 11.5 20,489 configure
lisa 717.2 2,683.8 1,030.7 98.5 12.4 13.5 69,779 configure-coreutils