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 473 251.3
flanders dash 111,674 88 1,261.9
flanders mksh 111,674 261 427.2
flanders osh-cpython 118,863 18,125 6.6
flanders osh-ovm 118,863 19,342 6.1
flanders zsh 118,863 3,184 37.3
lisa bash 118,863 187 634.3
lisa dash 111,674 37 2,985.9
lisa mksh 111,674 107 1,042.7
lisa osh-cpython 118,863 8,438 14.1
lisa osh-ovm 118,863 8,523 13.9
lisa zsh 118,863 1,188 100.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 12.2 24.9 1,679 t4014-format-patch.sh
flanders 16.5 29.2 1,733 functions
flanders 17.3 30.0 2,029 configure-helper.sh
flanders 19.7 32.6 2,512 abuild
flanders 17.8 30.5 2,698 Build.sh
flanders 12.9 25.6 3,123 t9300-fast-import.sh
flanders 36.0 48.5 5,160 test-cmd-util.sh
flanders 36.0 49.1 9,661 ltmain.sh
flanders 68.1 81.3 20,489 configure
flanders 171.8 184.8 69,779 configure-coreutils
lisa 12.0 25.1 1,679 t4014-format-patch.sh
lisa 16.2 29.2 1,733 functions
lisa 17.1 30.0 2,029 configure-helper.sh
lisa 19.7 32.6 2,512 abuild
lisa 17.6 30.7 2,698 Build.sh
lisa 12.8 25.8 3,123 t9300-fast-import.sh
lisa 35.9 48.8 5,160 test-cmd-util.sh
lisa 36.1 49.1 9,661 ltmain.sh
lisa 68.1 81.3 20,489 configure
lisa 171.8 184.8 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-971ba15c
osh-ovm osh-de998913
osh-cpython osh-c2ec06ba
osh-ovm osh-b87f35da
host label host id
flanders flanders-6afc5af0
lisa lisa-6afc5af0

Raw Data

filename
flanders.2018-03-01__12-48-04.times.csv
lisa.2018-03-01__18-25-45.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 5 136 160 169 11.9 1,679 t4014-format-patch.sh
flanders 16 4 10 39 449 412 28.4 1,733 functions
flanders 16 NA NA 71 485 448 30.9 2,029 configure-helper.sh
flanders 19 5 17 55 680 610 35.6 2,512 abuild
flanders 15 4 14 137 491 466 33.6 2,698 Build.sh
flanders 18 3 6 164 188 196 10.2 3,123 t9300-fast-import.sh
flanders 42 NA NA 168 1,442 1,362 34.8 5,160 test-cmd-util.sh
flanders 49 11 30 198 1,516 1,529 31.2 9,661 ltmain.sh
flanders 82 21 52 487 3,639 3,326 44.3 20,489 configure
flanders 203 36 128 1,730 10,292 9,608 50.6 69,779 configure-coreutils
lisa 3 2 2 50 63 75 19.0 1,679 t4014-format-patch.sh
lisa 5 2 3 16 171 174 37.2 1,733 functions
lisa 6 NA NA 27 198 206 31.3 2,029 configure-helper.sh
lisa 6 2 4 20 266 279 45.0 2,512 abuild
lisa 6 2 5 42 189 237 34.4 2,698 Build.sh
lisa 4 2 2 58 79 88 17.5 3,123 t9300-fast-import.sh
lisa 17 NA NA 67 599 612 35.9 5,160 test-cmd-util.sh
lisa 22 6 11 79 705 704 31.3 9,661 ltmain.sh
lisa 33 7 22 190 1,636 1,598 49.1 20,489 configure
lisa 85 17 58 637 4,617 4,465 54.4 69,779 configure-coreutils

Parsing Rate in lines/millisecond

host label bash dash mksh zsh osh-ovm osh-cpython num lines filename
flanders 124.4 559.7 335.8 12.4 10.5 9.9 1,679 t4014-format-patch.sh
flanders 109.7 403.0 180.5 44.1 3.9 4.2 1,733 functions
flanders 129.2 NA NA 28.7 4.2 4.5 2,029 configure-helper.sh
flanders 131.5 523.3 146.0 45.8 3.7 4.1 2,512 abuild
flanders 184.8 613.2 187.4 19.7 5.5 5.8 2,698 Build.sh
flanders 168.8 918.5 503.7 19.0 16.6 15.9 3,123 t9300-fast-import.sh
flanders 124.3 NA NA 30.8 3.6 3.8 5,160 test-cmd-util.sh
flanders 198.8 862.6 325.3 48.7 6.4 6.3 9,661 ltmain.sh
flanders 249.3 966.5 396.3 42.1 5.6 6.2 20,489 configure
flanders 343.1 1,927.6 546.9 40.3 6.8 7.3 69,779 configure-coreutils
lisa 508.8 1,119.3 839.5 33.6 26.7 22.4 1,679 t4014-format-patch.sh
lisa 376.7 1,019.4 559.0 107.0 10.1 10.0 1,733 functions
lisa 322.1 NA NA 74.9 10.3 9.9 2,029 configure-helper.sh
lisa 425.8 1,322.1 598.1 123.7 9.5 9.0 2,512 abuild
lisa 490.5 1,686.2 518.8 63.5 14.2 11.4 2,698 Build.sh
lisa 694.0 2,082.0 1,561.5 53.4 39.7 35.3 3,123 t9300-fast-import.sh
lisa 309.0 NA NA 76.7 8.6 8.4 5,160 test-cmd-util.sh
lisa 429.4 1,756.5 911.4 122.1 13.7 13.7 9,661 ltmain.sh
lisa 615.3 3,058.1 914.7 108.0 12.5 12.8 20,489 configure
lisa 822.9 4,104.6 1,211.4 109.6 15.1 15.6 69,779 configure-coreutils