oils.pub
OSH Runtime Performance
Source code: benchmarks/osh-runtime.sh
Raw files
Elapsed Time by Shell (milliseconds)
Some benchmarks call many external tools, while some exercise the shell
interpreter itself.
| workload |
host name |
bash |
dash |
osh-cpython |
osh-native |
osh-native-souffle |
py bash ratio |
native bash ratio |
| abuild-print-help |
no-host |
16 |
9 |
527 |
22 |
21 |
33.15 |
1.37 |
| bin-true |
no-host |
620 |
433 |
2,492 |
809 |
801 |
4.02 |
1.30 |
| configure.cpython |
no-host |
14,017 |
14,050 |
29,581 |
14,678 |
14,865 |
2.11 |
1.05 |
| configure.ocaml |
no-host |
3,715 |
3,642 |
4,653 |
3,755 |
3,761 |
1.25 |
1.01 |
| configure.tcc |
no-host |
46 |
41 |
221 |
49 |
49 |
4.81 |
1.06 |
| configure.util-linux |
no-host |
12,671 |
13,579 |
32,198 |
13,717 |
13,911 |
2.54 |
1.08 |
| configure.yash |
no-host |
1,723 |
1,682 |
2,438 |
1,751 |
1,755 |
1.41 |
1.02 |
| hello-world |
no-host |
1 |
1 |
65 |
3 |
3 |
53.09 |
2.32 |
Minor Page Faults
| workload |
host name |
bash |
dash |
osh-cpython |
osh-native |
osh-native-souffle |
py bash ratio |
native bash ratio |
| abuild-print-help |
no-host |
2,388 |
1,159 |
24,959 |
3,491 |
3,395 |
10.45 |
1.46 |
| bin-true |
no-host |
100,947 |
49,422 |
835,733 |
139,257 |
137,305 |
8.28 |
1.38 |
| configure.cpython |
no-host |
1,625,257 |
1,642,065 |
5,995,410 |
1,809,968 |
1,786,211 |
3.69 |
1.11 |
| configure.ocaml |
no-host |
299,129 |
280,898 |
557,520 |
316,232 |
315,748 |
1.86 |
1.06 |
| configure.tcc |
no-host |
5,227 |
4,225 |
23,852 |
5,941 |
5,915 |
4.56 |
1.14 |
| configure.util-linux |
no-host |
1,534,197 |
1,704,183 |
5,003,676 |
1,718,571 |
1,703,615 |
3.26 |
1.12 |
| configure.yash |
no-host |
173,559 |
159,560 |
316,388 |
179,525 |
179,279 |
1.82 |
1.03 |
| hello-world |
no-host |
153 |
88 |
3,886 |
389 |
380 |
25.40 |
2.54 |
Memory Usage (Max Resident Set Size in MB)
Memory usage is measured in MB (powers of 10), not MiB (powers of 2).
GC Stats
| workload |
host name |
elapsed ms |
max gc millis |
total gc millis |
allocated MB |
max rss MB |
num allocated |
num live |
max survived |
num in heap |
num in pool 1 |
num in pool 2 |
num gc points |
num gc done |
gc threshold |
num growths |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.9 |
3,826 |
3,826 |
0 |
704 |
1,881 |
1,241 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
809 |
1 |
2 |
2.6 |
8.8 |
156,798 |
15,428 |
2,915 |
8,761 |
77,348 |
70,689 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,678 |
1 |
64 |
15.2 |
34.5 |
1,782,989 |
46,101 |
25,356 |
91,622 |
885,112 |
806,255 |
25,789 |
62 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,717 |
4 |
61 |
21.4 |
39.5 |
2,707,122 |
126,354 |
66,586 |
113,463 |
1,294,568 |
1,299,091 |
32,539 |
41 |
133,172 |
1 |
| configure.ocaml |
no-host |
3,755 |
1 |
2 |
2.7 |
28.7 |
149,873 |
12,476 |
6,519 |
7,819 |
70,840 |
71,214 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
26.3 |
30,628 |
30,628 |
0 |
1,582 |
14,646 |
14,400 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,751 |
1 |
2 |
2.6 |
33.1 |
140,017 |
8,080 |
6,714 |
6,526 |
68,348 |
65,143 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.6 |
116,368 |
64,438 |
42,639 |
4,562 |
54,472 |
57,334 |
277 |
3 |
85,278 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.4 |
3,825 |
3,825 |
0 |
705 |
1,881 |
1,239 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
801 |
1 |
2 |
2.6 |
8.5 |
156,797 |
15,423 |
2,910 |
8,762 |
77,348 |
70,687 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,865 |
1 |
64 |
15.2 |
34.6 |
1,782,988 |
46,087 |
25,352 |
91,623 |
885,112 |
806,253 |
25,789 |
62 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,911 |
3 |
60 |
21.4 |
39.4 |
2,707,122 |
126,347 |
66,579 |
113,465 |
1,294,568 |
1,299,089 |
32,539 |
41 |
133,158 |
1 |
| configure.ocaml |
no-host |
3,761 |
1 |
2 |
2.7 |
28.7 |
149,873 |
12,470 |
6,513 |
7,821 |
70,840 |
71,212 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
26.2 |
30,628 |
30,628 |
0 |
1,584 |
14,646 |
14,398 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,755 |
1 |
2 |
2.6 |
33.2 |
140,017 |
8,069 |
6,703 |
6,528 |
68,348 |
65,141 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
9.3 |
116,367 |
64,433 |
42,634 |
4,563 |
54,472 |
57,332 |
277 |
3 |
85,268 |
1 |
rusage Details
| task id |
host name |
workload |
elapsed ms |
user ms |
sys ms |
max rss MB |
shell label |
| 7 |
no-host |
abuild-print-help |
16 |
11 |
5 |
4.6 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
3 |
7 |
4.1 |
dash |
| 23 |
no-host |
abuild-print-help |
527 |
466 |
64 |
22.8 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
22 |
12 |
10 |
9.6 |
osh-native |
| 39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
9.3 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
620 |
325 |
333 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
433 |
274 |
164 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
2,492 |
858 |
1,918 |
18.2 |
osh-cpython |
| 25 |
no-host |
bin-true |
809 |
300 |
525 |
8.8 |
osh-native |
| 33 |
no-host |
bin-true |
801 |
309 |
508 |
8.5 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
14,017 |
7,592 |
6,803 |
34.6 |
bash |
| 10 |
no-host |
configure.cpython |
14,050 |
7,702 |
6,742 |
34.4 |
dash |
| 18 |
no-host |
configure.cpython |
29,581 |
16,211 |
15,338 |
34.4 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
14,678 |
7,382 |
7,595 |
34.5 |
osh-native |
| 34 |
no-host |
configure.cpython |
14,865 |
7,454 |
7,576 |
34.6 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
3,715 |
1,493 |
1,261 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,642 |
1,422 |
1,243 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
4,653 |
2,138 |
1,738 |
28.7 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
3,755 |
1,475 |
1,320 |
28.7 |
osh-native |
| 36 |
no-host |
configure.ocaml |
3,761 |
1,477 |
1,319 |
28.7 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
46 |
24 |
23 |
26.2 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
23 |
19 |
26.1 |
dash |
| 21 |
no-host |
configure.tcc |
221 |
160 |
64 |
26.4 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
49 |
26 |
23 |
26.3 |
osh-native |
| 37 |
no-host |
configure.tcc |
49 |
17 |
33 |
26.2 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
12,671 |
6,504 |
6,625 |
39.6 |
bash |
| 11 |
no-host |
configure.util-linux |
13,579 |
6,471 |
7,607 |
39.7 |
dash |
| 19 |
no-host |
configure.util-linux |
32,198 |
20,183 |
13,111 |
39.6 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
13,717 |
6,379 |
7,569 |
39.5 |
osh-native |
| 35 |
no-host |
configure.util-linux |
13,911 |
6,315 |
7,670 |
39.4 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
1,723 |
955 |
775 |
33.5 |
bash |
| 14 |
no-host |
configure.yash |
1,682 |
951 |
732 |
33.5 |
dash |
| 22 |
no-host |
configure.yash |
2,438 |
1,437 |
1,044 |
33.4 |
osh-cpython |
| 30 |
no-host |
configure.yash |
1,751 |
926 |
828 |
33.1 |
osh-native |
| 38 |
no-host |
configure.yash |
1,755 |
950 |
806 |
33.2 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
65 |
42 |
23 |
18.1 |
osh-cpython |
| 24 |
no-host |
hello-world |
3 |
3 |
0 |
6.9 |
osh-native |
| 32 |
no-host |
hello-world |
3 |
1 |
2 |
6.4 |
osh-native-souffle |
More Details
| task id |
host name |
workload |
minor faults |
major faults |
swaps |
in block |
out block |
signals |
voluntary ctx |
involuntary ctx |
shell label |
| 7 |
no-host |
abuild-print-help |
2,388 |
0 |
0 |
0 |
8 |
0 |
41 |
2 |
bash |
| 15 |
no-host |
abuild-print-help |
1,159 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
24,959 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
3,491 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 39 |
no-host |
abuild-print-help |
3,395 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
100,947 |
0 |
0 |
0 |
8 |
0 |
1,985 |
60 |
bash |
| 9 |
no-host |
bin-true |
49,422 |
0 |
0 |
0 |
8 |
0 |
2,958 |
47 |
dash |
| 17 |
no-host |
bin-true |
835,733 |
0 |
0 |
0 |
8 |
0 |
1,982 |
149 |
osh-cpython |
| 25 |
no-host |
bin-true |
139,257 |
0 |
0 |
0 |
16 |
0 |
1,975 |
91 |
osh-native |
| 33 |
no-host |
bin-true |
137,305 |
0 |
0 |
0 |
16 |
0 |
1,970 |
98 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
1,625,257 |
0 |
0 |
0 |
25,272 |
0 |
14,003 |
1,051 |
bash |
| 10 |
no-host |
configure.cpython |
1,642,065 |
0 |
0 |
0 |
25,272 |
0 |
14,069 |
1,041 |
dash |
| 18 |
no-host |
configure.cpython |
5,995,410 |
0 |
0 |
0 |
25,272 |
0 |
12,860 |
880 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
1,809,968 |
0 |
0 |
0 |
25,280 |
0 |
12,841 |
1,024 |
osh-native |
| 34 |
no-host |
configure.cpython |
1,786,211 |
0 |
0 |
0 |
25,280 |
0 |
12,833 |
1,039 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
299,129 |
0 |
0 |
0 |
4,432 |
0 |
2,004 |
185 |
bash |
| 12 |
no-host |
configure.ocaml |
280,898 |
0 |
0 |
0 |
4,432 |
0 |
2,088 |
204 |
dash |
| 20 |
no-host |
configure.ocaml |
557,520 |
0 |
0 |
0 |
4,432 |
0 |
1,910 |
183 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
316,232 |
0 |
0 |
0 |
4,440 |
0 |
1,994 |
196 |
osh-native |
| 36 |
no-host |
configure.ocaml |
315,748 |
0 |
0 |
0 |
4,440 |
0 |
1,993 |
227 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
5,227 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,225 |
0 |
0 |
0 |
88 |
0 |
52 |
3 |
dash |
| 21 |
no-host |
configure.tcc |
23,852 |
0 |
0 |
0 |
88 |
0 |
53 |
7 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
5,941 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
osh-native |
| 37 |
no-host |
configure.tcc |
5,915 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
1,534,197 |
0 |
0 |
0 |
35,944 |
0 |
18,913 |
1,096 |
bash |
| 11 |
no-host |
configure.util-linux |
1,704,183 |
0 |
0 |
0 |
35,936 |
0 |
17,109 |
1,188 |
dash |
| 19 |
no-host |
configure.util-linux |
5,003,676 |
3 |
0 |
0 |
35,952 |
0 |
17,558 |
844 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
1,718,571 |
1 |
0 |
0 |
35,952 |
0 |
17,494 |
1,060 |
osh-native |
| 35 |
no-host |
configure.util-linux |
1,703,615 |
1 |
0 |
0 |
35,952 |
0 |
17,427 |
1,086 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
173,559 |
0 |
0 |
0 |
3,616 |
0 |
871 |
108 |
bash |
| 14 |
no-host |
configure.yash |
159,560 |
0 |
0 |
0 |
3,616 |
0 |
986 |
114 |
dash |
| 22 |
no-host |
configure.yash |
316,388 |
0 |
0 |
0 |
3,616 |
0 |
861 |
98 |
osh-cpython |
| 30 |
no-host |
configure.yash |
179,525 |
0 |
0 |
0 |
3,624 |
0 |
857 |
101 |
osh-native |
| 38 |
no-host |
configure.yash |
179,279 |
0 |
0 |
0 |
3,624 |
0 |
857 |
101 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
88 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
3,886 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
| 24 |
no-host |
hello-world |
389 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 32 |
no-host |
hello-world |
380 |
0 |
0 |
0 |
16 |
0 |
0 |
1 |
osh-native-souffle |
Shell and Host