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 470 252.6
flanders dash 111,674 92 1,208.6
flanders mksh 111,674 253 440.7
flanders osh-cpython 118,863 17,417 6.8
flanders osh-ovm 118,863 18,678 6.4
flanders zsh 118,863 3,164 37.6
lisa bash 118,863 200 595.8
lisa dash 111,674 41 2,704.0
lisa mksh 111,674 115 974.5
lisa osh-cpython 118,863 8,218 14.5
lisa osh-ovm 118,863 9,306 12.8
lisa zsh 118,863 1,234 96.3

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 8.6 21.2 1,679 t4014-format-patch.sh
flanders 8.4 21.2 1,733 functions
flanders 8.5 21.2 2,029 configure-helper.sh
flanders 8.5 21.2 2,512 abuild
flanders 8.6 21.2 2,698 Build.sh
flanders 8.5 21.2 3,123 t9300-fast-import.sh
flanders 8.5 21.2 5,160 test-cmd-util.sh
flanders 8.4 21.2 9,661 ltmain.sh
flanders 8.6 21.2 20,489 configure
flanders 8.4 21.2 69,779 configure-coreutils
lisa 8.4 21.3 1,679 t4014-format-patch.sh
lisa 8.6 21.3 1,733 functions
lisa 8.6 21.3 2,029 configure-helper.sh
lisa 8.6 21.3 2,512 abuild
lisa 8.5 21.3 2,698 Build.sh
lisa 8.5 21.3 3,123 t9300-fast-import.sh
lisa 8.4 21.3 5,160 test-cmd-util.sh
lisa 8.6 21.3 9,661 ltmain.sh
lisa 8.4 21.3 20,489 configure
lisa 8.5 21.3 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-96143fda
osh-ovm osh-93207c8d
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2018-09-09__00-11-50.times.csv
lisa.2018-09-09__00-31-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 11 3 5 136 140 142 12.3 1,679 t4014-format-patch.sh
flanders 14 4 10 39 406 383 28.4 1,733 functions
flanders 16 NA NA 68 439 412 27.6 2,029 configure-helper.sh
flanders 20 6 12 50 624 578 30.8 2,512 abuild
flanders 18 4 14 131 446 419 24.3 2,698 Build.sh
flanders 14 4 8 182 161 167 11.5 3,123 t9300-fast-import.sh
flanders 41 NA NA 171 1,389 1,282 33.7 5,160 test-cmd-util.sh
flanders 46 15 30 197 1,552 1,429 33.7 9,661 ltmain.sh
flanders 86 22 49 489 3,526 3,298 41.1 20,489 configure
flanders 203 34 125 1,702 9,995 9,307 49.2 69,779 configure-coreutils
lisa 5 1 2 53 62 70 12.9 1,679 t4014-format-patch.sh
lisa 5 2 4 16 177 183 36.1 1,733 functions
lisa 6 NA NA 25 192 185 34.3 2,029 configure-helper.sh
lisa 6 2 5 23 301 286 52.8 2,512 abuild
lisa 5 2 4 46 219 210 43.8 2,698 Build.sh
lisa 5 2 3 56 77 70 15.4 3,123 t9300-fast-import.sh
lisa 20 NA NA 71 651 589 32.6 5,160 test-cmd-util.sh
lisa 20 5 12 87 731 617 36.7 9,661 ltmain.sh
lisa 45 9 26 189 1,961 1,605 43.5 20,489 configure
lisa 84 19 61 668 4,935 4,402 59.1 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 147.3 541.6 316.8 12.4 12.0 11.8 1,679 t4014-format-patch.sh
flanders 121.2 412.6 176.8 44.2 4.3 4.5 1,733 functions
flanders 127.6 NA NA 29.9 4.6 4.9 2,029 configure-helper.sh
flanders 123.7 418.7 201.0 50.0 4.0 4.3 2,512 abuild
flanders 146.6 599.6 188.7 20.7 6.0 6.4 2,698 Build.sh
flanders 223.1 800.8 405.6 17.2 19.3 18.7 3,123 t9300-fast-import.sh
flanders 125.2 NA NA 30.2 3.7 4.0 5,160 test-cmd-util.sh
flanders 209.6 657.2 319.9 49.1 6.2 6.8 9,661 ltmain.sh
flanders 239.1 944.2 419.9 41.9 5.8 6.2 20,489 configure
flanders 343.4 2,034.4 559.1 41.0 7.0 7.5 69,779 configure-coreutils
lisa 349.8 1,399.2 839.5 31.7 27.1 24.2 1,679 t4014-format-patch.sh
lisa 353.7 962.8 481.4 110.4 9.8 9.4 1,733 functions
lisa 362.3 NA NA 80.5 10.6 11.0 2,029 configure-helper.sh
lisa 440.7 1,477.6 546.1 110.7 8.3 8.8 2,512 abuild
lisa 539.6 1,420.0 749.4 58.3 12.3 12.8 2,698 Build.sh
lisa 624.6 2,082.0 1,156.7 55.8 40.5 44.7 3,123 t9300-fast-import.sh
lisa 258.0 NA NA 73.1 7.9 8.8 5,160 test-cmd-util.sh
lisa 485.5 1,789.1 818.7 111.3 13.2 15.7 9,661 ltmain.sh
lisa 454.3 2,276.6 800.4 108.2 10.4 12.8 20,489 configure
lisa 835.7 3,711.6 1,149.6 104.4 14.1 15.9 69,779 configure-coreutils