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 |
19 |
9 |
473 |
23 |
22 |
24.70 |
1.18 |
bin-true |
no-host |
668 |
528 |
2,361 |
805 |
795 |
3.53 |
1.21 |
configure.cpython |
no-host |
14,905 |
14,952 |
28,979 |
15,109 |
15,148 |
1.94 |
1.01 |
configure.ocaml |
no-host |
3,780 |
3,731 |
4,664 |
3,882 |
3,867 |
1.23 |
1.03 |
configure.tcc |
no-host |
47 |
41 |
202 |
49 |
52 |
4.26 |
1.03 |
configure.util-linux |
no-host |
13,813 |
14,692 |
32,007 |
14,374 |
14,166 |
2.32 |
1.04 |
configure.yash |
no-host |
1,846 |
1,799 |
2,475 |
1,834 |
1,879 |
1.34 |
0.99 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
38.04 |
2.01 |
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,523 |
1,127 |
23,828 |
3,203 |
3,108 |
9.44 |
1.27 |
bin-true |
no-host |
108,352 |
66,422 |
780,408 |
126,147 |
126,228 |
7.20 |
1.16 |
configure.cpython |
no-host |
1,995,176 |
2,026,103 |
6,038,184 |
1,995,115 |
1,993,086 |
3.03 |
1.00 |
configure.ocaml |
no-host |
373,517 |
353,963 |
611,543 |
376,127 |
375,731 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,075 |
5,007 |
23,754 |
6,482 |
6,433 |
3.91 |
1.07 |
configure.util-linux |
no-host |
1,901,799 |
2,065,602 |
5,219,744 |
1,805,246 |
1,790,929 |
2.74 |
0.95 |
configure.yash |
no-host |
233,847 |
222,394 |
367,572 |
235,650 |
234,584 |
1.57 |
1.01 |
hello-world |
no-host |
147 |
77 |
3,970 |
344 |
340 |
27.01 |
2.34 |
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.2 |
6.4 |
3,789 |
3,789 |
0 |
695 |
1,861 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
805 |
1 |
2 |
2.6 |
8.0 |
153,753 |
12,329 |
2,894 |
8,744 |
76,325 |
68,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,109 |
2 |
73 |
14.9 |
29.0 |
1,767,675 |
49,060 |
28,519 |
85,428 |
875,384 |
806,863 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,374 |
3 |
72 |
21.2 |
30.2 |
2,698,991 |
29,940 |
65,698 |
108,700 |
1,288,281 |
1,302,010 |
32,241 |
41 |
131,396 |
1 |
configure.ocaml |
no-host |
3,882 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,119 |
5,214 |
7,509 |
70,616 |
71,428 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.7 |
30,539 |
30,539 |
0 |
1,519 |
14,608 |
14,412 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,834 |
1 |
2 |
2.5 |
26.4 |
139,269 |
8,031 |
6,693 |
5,990 |
67,845 |
65,434 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.0 |
116,299 |
64,410 |
42,620 |
4,533 |
54,439 |
57,327 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.8 |
3,788 |
3,788 |
0 |
696 |
1,861 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
795 |
1 |
2 |
2.6 |
7.7 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,148 |
2 |
80 |
14.9 |
29.2 |
1,767,674 |
37,983 |
24,932 |
85,429 |
875,384 |
806,861 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,166 |
4 |
68 |
21.2 |
30.2 |
2,698,991 |
29,878 |
65,656 |
108,702 |
1,288,281 |
1,302,008 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,867 |
1 |
2 |
2.6 |
22.6 |
149,553 |
11,057 |
5,152 |
7,511 |
70,616 |
71,426 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
52 |
0 |
0 |
1.3 |
19.8 |
30,539 |
30,539 |
0 |
1,521 |
14,608 |
14,410 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,879 |
1 |
2 |
2.5 |
26.4 |
139,269 |
7,969 |
6,631 |
5,992 |
67,845 |
65,432 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.8 |
116,298 |
64,348 |
42,558 |
4,534 |
54,439 |
57,325 |
277 |
3 |
85,116 |
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 |
19 |
9 |
11 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
473 |
411 |
66 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
11 |
12 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
11 |
11 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
668 |
289 |
413 |
3.0 |
bash |
9 |
no-host |
bin-true |
528 |
271 |
268 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,361 |
797 |
1,829 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
805 |
309 |
514 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
795 |
315 |
500 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,905 |
6,713 |
8,615 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
14,952 |
6,759 |
8,641 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
28,979 |
14,424 |
16,476 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,109 |
6,687 |
8,714 |
29.0 |
osh-native |
34 |
no-host |
configure.cpython |
15,148 |
6,625 |
8,798 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,780 |
1,360 |
1,463 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,731 |
1,327 |
1,425 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,664 |
1,906 |
1,976 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,882 |
1,332 |
1,592 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,867 |
1,344 |
1,562 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
22 |
26 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
23 |
19 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
202 |
140 |
65 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
26 |
23 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
52 |
27 |
25 |
19.8 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,813 |
5,940 |
8,382 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,692 |
5,997 |
9,230 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
32,007 |
18,035 |
15,117 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,374 |
5,824 |
8,779 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,166 |
5,600 |
8,794 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,846 |
922 |
928 |
26.5 |
bash |
14 |
no-host |
configure.yash |
1,799 |
910 |
893 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,475 |
1,357 |
1,163 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,834 |
886 |
953 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,879 |
971 |
913 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
34 |
22 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
2 |
1 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
1 |
5.8 |
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,523 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,127 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,828 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,203 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,108 |
0 |
0 |
0 |
16 |
0 |
38 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
108,352 |
0 |
0 |
0 |
8 |
0 |
1,987 |
294 |
bash |
9 |
no-host |
bin-true |
66,422 |
0 |
0 |
0 |
8 |
0 |
1,966 |
138 |
dash |
17 |
no-host |
bin-true |
780,408 |
0 |
0 |
0 |
8 |
0 |
1,981 |
469 |
osh-cpython |
25 |
no-host |
bin-true |
126,147 |
0 |
0 |
0 |
16 |
0 |
1,974 |
118 |
osh-native |
33 |
no-host |
bin-true |
126,228 |
0 |
0 |
0 |
16 |
0 |
1,977 |
89 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,995,176 |
0 |
0 |
0 |
32,928 |
0 |
14,322 |
1,141 |
bash |
10 |
no-host |
configure.cpython |
2,026,103 |
1 |
0 |
0 |
32,992 |
0 |
14,349 |
1,244 |
dash |
18 |
no-host |
configure.cpython |
6,038,184 |
0 |
0 |
0 |
27,512 |
0 |
13,046 |
1,180 |
osh-cpython |
26 |
no-host |
configure.cpython |
1,995,115 |
0 |
0 |
0 |
27,520 |
0 |
13,138 |
1,161 |
osh-native |
34 |
no-host |
configure.cpython |
1,993,086 |
0 |
0 |
0 |
27,520 |
0 |
13,122 |
1,126 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,517 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
173 |
bash |
12 |
no-host |
configure.ocaml |
353,963 |
0 |
0 |
0 |
5,112 |
0 |
1,944 |
185 |
dash |
20 |
no-host |
configure.ocaml |
611,543 |
0 |
0 |
0 |
5,112 |
0 |
1,862 |
182 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,127 |
0 |
0 |
0 |
5,120 |
0 |
1,916 |
192 |
osh-native |
36 |
no-host |
configure.ocaml |
375,731 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
205 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,075 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,007 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
dash |
21 |
no-host |
configure.tcc |
23,754 |
0 |
0 |
0 |
96 |
0 |
53 |
5 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,482 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,433 |
0 |
0 |
0 |
104 |
0 |
46 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,901,799 |
1 |
0 |
0 |
42,400 |
0 |
18,491 |
1,238 |
bash |
11 |
no-host |
configure.util-linux |
2,065,602 |
0 |
0 |
0 |
42,592 |
0 |
17,322 |
1,297 |
dash |
19 |
no-host |
configure.util-linux |
5,219,744 |
8 |
0 |
0 |
39,136 |
0 |
17,059 |
1,363 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,805,246 |
2 |
0 |
0 |
39,120 |
0 |
16,961 |
1,141 |
osh-native |
35 |
no-host |
configure.util-linux |
1,790,929 |
0 |
0 |
0 |
39,136 |
0 |
16,901 |
1,117 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,847 |
0 |
0 |
0 |
4,120 |
0 |
881 |
90 |
bash |
14 |
no-host |
configure.yash |
222,394 |
0 |
0 |
0 |
3,720 |
0 |
867 |
132 |
dash |
22 |
no-host |
configure.yash |
367,572 |
0 |
0 |
0 |
3,728 |
0 |
856 |
108 |
osh-cpython |
30 |
no-host |
configure.yash |
235,650 |
0 |
0 |
0 |
3,736 |
0 |
847 |
102 |
osh-native |
38 |
no-host |
configure.yash |
234,584 |
0 |
0 |
0 |
3,736 |
0 |
849 |
80 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
77 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,970 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host