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 482 246.5
flanders dash 111,674 98 1,144.2
flanders mksh 111,674 255 438.3
flanders osh-cpython 118,863 16,969 7.0
flanders osh-ovm 118,863 19,664 6.0
flanders zsh 118,863 3,187 37.3
lisa bash 118,863 174 683.9
lisa dash 111,674 33 3,394.3
lisa mksh 111,674 108 1,036.9
lisa osh-cpython 118,863 7,618 15.6
lisa osh-ovm 118,863 8,492 14.0
lisa zsh 118,863 1,125 105.6

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.7 20.8 1,679 t4014-format-patch.sh
flanders 7.8 20.8 1,733 functions
flanders 7.7 20.8 2,029 configure-helper.sh
flanders 7.7 20.8 2,512 abuild
flanders 7.7 20.8 2,698 Build.sh
flanders 7.8 20.8 3,123 t9300-fast-import.sh
flanders 7.8 20.8 5,160 test-cmd-util.sh
flanders 7.7 20.8 9,661 ltmain.sh
flanders 7.7 20.8 20,489 configure
flanders 7.7 20.8 69,779 configure-coreutils
lisa 8.1 20.8 1,679 t4014-format-patch.sh
lisa 7.7 20.8 1,733 functions
lisa 7.3 20.8 2,029 configure-helper.sh
lisa 7.7 20.8 2,512 abuild
lisa 7.7 20.8 2,698 Build.sh
lisa 7.3 20.8 3,123 t9300-fast-import.sh
lisa 8.1 20.8 5,160 test-cmd-util.sh
lisa 7.6 20.8 9,661 ltmain.sh
lisa 7.6 20.8 20,489 configure
lisa 7.3 20.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-cd85b88d
osh-ovm osh-2510717c
host label host id
flanders flanders-b43270f9
lisa lisa-b43270f9

Raw Data

filename
flanders.2019-03-03__09-33-30.times.csv
lisa.2019-03-03__09-34-36.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 7 134 129 129 11.3 1,679 t4014-format-patch.sh
flanders 16 6 10 34 406 368 24.6 1,733 functions
flanders 21 NA NA 68 442 397 20.9 2,029 configure-helper.sh
flanders 20 5 13 53 628 562 30.9 2,512 abuild
flanders 15 5 10 125 460 403 30.3 2,698 Build.sh
flanders 18 3 6 182 174 152 9.9 3,123 t9300-fast-import.sh
flanders 39 NA NA 172 1,579 1,253 40.4 5,160 test-cmd-util.sh
flanders 48 15 30 198 1,774 1,394 37.2 9,661 ltmain.sh
flanders 88 22 52 488 3,710 3,248 42.3 20,489 configure
flanders 206 39 128 1,731 10,362 9,062 50.4 69,779 configure-coreutils
lisa 3 1 2 51 53 54 17.2 1,679 t4014-format-patch.sh
lisa 4 1 4 14 164 150 44.5 1,733 functions
lisa 5 NA NA 25 179 161 35.8 2,029 configure-helper.sh
lisa 5 2 4 19 259 233 49.9 2,512 abuild
lisa 4 2 3 44 187 169 42.5 2,698 Build.sh
lisa 4 1 2 52 64 63 14.6 3,123 t9300-fast-import.sh
lisa 15 NA NA 68 604 525 39.8 5,160 test-cmd-util.sh
lisa 20 3 10 76 669 591 34.0 9,661 ltmain.sh
lisa 33 7 25 182 1,628 1,483 48.8 20,489 configure
lisa 80 16 57 594 4,684 4,189 58.8 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 508.8 250.6 12.5 13.0 13.0 1,679 t4014-format-patch.sh
flanders 105.0 315.1 175.1 50.2 4.3 4.7 1,733 functions
flanders 95.7 NA NA 29.6 4.6 5.1 2,029 configure-helper.sh
flanders 123.7 483.1 190.3 47.1 4.0 4.5 2,512 abuild
flanders 177.5 539.6 272.5 21.5 5.9 6.7 2,698 Build.sh
flanders 177.4 975.9 547.9 17.1 17.9 20.6 3,123 t9300-fast-import.sh
flanders 132.0 NA NA 29.9 3.3 4.1 5,160 test-cmd-util.sh
flanders 202.5 648.4 323.1 48.9 5.4 6.9 9,661 ltmain.sh
flanders 233.9 953.0 396.3 42.0 5.5 6.3 20,489 configure
flanders 339.4 1,789.2 546.0 40.3 6.7 7.7 69,779 configure-coreutils
lisa 541.6 1,399.2 1,049.4 32.7 31.4 31.3 1,679 t4014-format-patch.sh
lisa 468.4 1,237.9 481.4 120.3 10.5 11.5 1,733 functions
lisa 405.8 NA NA 81.8 11.3 12.6 2,029 configure-helper.sh
lisa 483.1 1,322.1 598.1 131.5 9.7 10.8 2,512 abuild
lisa 613.2 1,798.7 870.3 61.5 14.4 16.0 2,698 Build.sh
lisa 709.8 2,602.5 1,301.2 60.1 48.6 49.6 3,123 t9300-fast-import.sh
lisa 339.5 NA NA 75.8 8.5 9.8 5,160 test-cmd-util.sh
lisa 490.4 2,841.5 928.9 127.5 14.4 16.4 9,661 ltmain.sh
lisa 613.4 3,104.4 813.1 112.8 12.6 13.8 20,489 configure
lisa 875.5 4,444.5 1,219.9 117.5 14.9 16.7 69,779 configure-coreutils