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 |
20 |
10 |
468 |
22 |
21 |
23.67 |
1.13 |
bin-true |
no-host |
679 |
556 |
2,328 |
825 |
823 |
3.43 |
1.22 |
configure.cpython |
no-host |
15,493 |
15,699 |
29,188 |
15,616 |
15,848 |
1.88 |
1.01 |
configure.ocaml |
no-host |
3,962 |
3,775 |
4,727 |
3,966 |
3,960 |
1.19 |
1.00 |
configure.tcc |
no-host |
48 |
43 |
206 |
50 |
49 |
4.25 |
1.03 |
configure.util-linux |
no-host |
14,427 |
15,407 |
32,134 |
14,694 |
14,830 |
2.23 |
1.02 |
configure.yash |
no-host |
1,870 |
1,808 |
2,544 |
1,912 |
1,887 |
1.36 |
1.02 |
hello-world |
no-host |
2 |
1 |
60 |
3 |
3 |
35.54 |
1.76 |
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,539 |
1,102 |
23,600 |
3,191 |
3,099 |
9.29 |
1.26 |
bin-true |
no-host |
105,318 |
66,402 |
763,503 |
127,119 |
124,270 |
7.25 |
1.21 |
configure.cpython |
no-host |
2,219,346 |
2,244,192 |
6,184,116 |
2,223,650 |
2,214,185 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,100 |
391,189 |
643,461 |
413,560 |
412,814 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,563 |
5,475 |
23,878 |
6,952 |
6,914 |
3.64 |
1.06 |
configure.util-linux |
no-host |
2,097,766 |
2,266,730 |
5,344,359 |
1,995,003 |
1,995,754 |
2.55 |
0.95 |
configure.yash |
no-host |
256,135 |
244,073 |
386,111 |
258,144 |
256,164 |
1.51 |
1.01 |
hello-world |
no-host |
154 |
79 |
3,963 |
345 |
338 |
25.73 |
2.24 |
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 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
825 |
1 |
2 |
2.6 |
8.3 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,616 |
1 |
66 |
14.9 |
27.5 |
1,767,675 |
49,060 |
28,519 |
85,427 |
875,384 |
806,864 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,694 |
3 |
63 |
21.2 |
30.1 |
2,698,991 |
29,940 |
65,698 |
108,699 |
1,288,281 |
1,302,011 |
32,241 |
41 |
131,396 |
1 |
configure.ocaml |
no-host |
3,966 |
1 |
2 |
2.6 |
20.4 |
149,553 |
11,119 |
5,214 |
7,508 |
70,616 |
71,429 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,539 |
30,539 |
0 |
1,518 |
14,608 |
14,413 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,912 |
1 |
2 |
2.5 |
24.4 |
139,269 |
8,031 |
6,693 |
5,989 |
67,845 |
65,435 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,299 |
64,410 |
42,620 |
4,532 |
54,439 |
57,328 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
823 |
1 |
2 |
2.6 |
7.5 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,848 |
2 |
68 |
14.9 |
27.4 |
1,767,674 |
37,983 |
24,932 |
85,428 |
875,384 |
806,862 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,830 |
3 |
64 |
21.2 |
30.0 |
2,698,991 |
29,878 |
65,636 |
108,701 |
1,288,281 |
1,302,009 |
32,241 |
41 |
131,272 |
1 |
configure.ocaml |
no-host |
3,960 |
1 |
2 |
2.6 |
20.4 |
149,553 |
11,057 |
5,152 |
7,510 |
70,616 |
71,427 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,539 |
30,539 |
0 |
1,520 |
14,608 |
14,411 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,887 |
1 |
2 |
2.5 |
24.2 |
139,269 |
7,969 |
6,631 |
5,991 |
67,845 |
65,433 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,298 |
64,348 |
42,558 |
4,533 |
54,439 |
57,326 |
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 |
20 |
15 |
5 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
468 |
418 |
53 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
9 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
14 |
7 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
679 |
504 |
209 |
3.0 |
bash |
9 |
no-host |
bin-true |
556 |
423 |
140 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,328 |
1,500 |
1,095 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
825 |
583 |
254 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
823 |
581 |
256 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,493 |
9,273 |
6,625 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,699 |
9,407 |
6,728 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,188 |
18,127 |
12,926 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,616 |
9,173 |
6,721 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,848 |
9,295 |
6,818 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,962 |
1,715 |
1,285 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,775 |
1,705 |
1,092 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,727 |
2,322 |
1,616 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,966 |
1,691 |
1,315 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,960 |
1,690 |
1,307 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
31 |
18 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
32 |
10 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
206 |
151 |
58 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
28 |
23 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
41 |
9 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,427 |
8,915 |
5,977 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,407 |
9,434 |
6,468 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
32,134 |
21,241 |
12,003 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,694 |
8,810 |
6,071 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,830 |
8,894 |
6,117 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,870 |
1,118 |
761 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,808 |
982 |
827 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,544 |
1,551 |
1,035 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,912 |
1,073 |
841 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,887 |
1,089 |
803 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.3 |
dash |
16 |
no-host |
hello-world |
60 |
36 |
23 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
5.9 |
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,539 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,102 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,600 |
0 |
0 |
0 |
8 |
0 |
45 |
14 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,191 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,099 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,318 |
0 |
0 |
0 |
8 |
0 |
1,984 |
74 |
bash |
9 |
no-host |
bin-true |
66,402 |
0 |
0 |
0 |
8 |
0 |
1,985 |
41 |
dash |
17 |
no-host |
bin-true |
763,503 |
0 |
0 |
0 |
8 |
0 |
1,999 |
123 |
osh-cpython |
25 |
no-host |
bin-true |
127,119 |
0 |
0 |
0 |
16 |
0 |
1,991 |
181 |
osh-native |
33 |
no-host |
bin-true |
124,270 |
0 |
0 |
0 |
16 |
0 |
1,990 |
64 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,219,346 |
0 |
0 |
0 |
32,928 |
0 |
14,549 |
1,127 |
bash |
10 |
no-host |
configure.cpython |
2,244,192 |
8 |
0 |
0 |
32,992 |
0 |
14,684 |
1,127 |
dash |
18 |
no-host |
configure.cpython |
6,184,116 |
0 |
0 |
0 |
27,512 |
0 |
13,285 |
1,189 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,223,650 |
0 |
0 |
0 |
27,520 |
0 |
13,230 |
926 |
osh-native |
34 |
no-host |
configure.cpython |
2,214,185 |
0 |
0 |
0 |
27,520 |
0 |
13,248 |
870 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,100 |
0 |
0 |
0 |
5,120 |
0 |
1,945 |
171 |
bash |
12 |
no-host |
configure.ocaml |
391,189 |
0 |
0 |
0 |
5,112 |
0 |
1,933 |
138 |
dash |
20 |
no-host |
configure.ocaml |
643,461 |
0 |
0 |
0 |
5,112 |
0 |
1,852 |
191 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,560 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
158 |
osh-native |
36 |
no-host |
configure.ocaml |
412,814 |
0 |
0 |
0 |
5,120 |
0 |
1,937 |
149 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,563 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,475 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
23,878 |
0 |
0 |
0 |
96 |
0 |
54 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,952 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,914 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,097,766 |
0 |
0 |
0 |
42,400 |
0 |
18,628 |
1,002 |
bash |
11 |
no-host |
configure.util-linux |
2,266,730 |
0 |
0 |
0 |
42,592 |
0 |
17,485 |
1,068 |
dash |
19 |
no-host |
configure.util-linux |
5,344,359 |
10 |
0 |
0 |
39,112 |
0 |
16,968 |
1,333 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,995,003 |
1 |
0 |
0 |
39,128 |
0 |
16,982 |
1,100 |
osh-native |
35 |
no-host |
configure.util-linux |
1,995,754 |
0 |
0 |
0 |
39,136 |
0 |
16,984 |
911 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,135 |
0 |
0 |
0 |
4,120 |
0 |
869 |
85 |
bash |
14 |
no-host |
configure.yash |
244,073 |
0 |
0 |
0 |
3,720 |
0 |
863 |
85 |
dash |
22 |
no-host |
configure.yash |
386,111 |
0 |
0 |
0 |
3,728 |
0 |
853 |
104 |
osh-cpython |
30 |
no-host |
configure.yash |
258,144 |
0 |
0 |
0 |
3,736 |
0 |
851 |
83 |
osh-native |
38 |
no-host |
configure.yash |
256,164 |
0 |
0 |
0 |
3,736 |
0 |
850 |
70 |
osh-native-souffle |
0 |
no-host |
hello-world |
154 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
79 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,963 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host