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 |
461 |
22 |
20 |
24.08 |
1.13 |
bin-true |
no-host |
667 |
534 |
2,300 |
810 |
805 |
3.45 |
1.21 |
configure.cpython |
no-host |
14,755 |
14,819 |
28,463 |
15,019 |
15,095 |
1.93 |
1.02 |
configure.ocaml |
no-host |
3,778 |
3,710 |
4,646 |
3,767 |
3,792 |
1.23 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
201 |
48 |
48 |
4.30 |
1.04 |
configure.util-linux |
no-host |
13,816 |
14,654 |
31,044 |
14,159 |
14,168 |
2.25 |
1.02 |
configure.yash |
no-host |
1,788 |
1,742 |
2,438 |
1,795 |
1,789 |
1.36 |
1.00 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
38.42 |
1.92 |
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,517 |
1,114 |
23,811 |
3,191 |
3,110 |
9.46 |
1.27 |
bin-true |
no-host |
104,379 |
66,487 |
771,526 |
127,233 |
124,262 |
7.39 |
1.22 |
configure.cpython |
no-host |
2,217,705 |
2,243,688 |
6,243,371 |
2,216,655 |
2,204,701 |
2.82 |
1.00 |
configure.ocaml |
no-host |
410,439 |
390,869 |
647,208 |
413,385 |
412,639 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,575 |
5,491 |
24,111 |
6,979 |
6,910 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,102,655 |
2,266,566 |
5,398,983 |
1,997,157 |
1,991,176 |
2.57 |
0.95 |
configure.yash |
no-host |
255,939 |
244,143 |
388,278 |
257,290 |
257,196 |
1.52 |
1.01 |
hello-world |
no-host |
150 |
81 |
3,939 |
341 |
336 |
26.26 |
2.27 |
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.3 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
810 |
1 |
2 |
2.6 |
8.0 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,019 |
1 |
59 |
14.9 |
27.5 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,159 |
2 |
58 |
21.2 |
30.3 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,767 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,795 |
1 |
2 |
2.5 |
24.2 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.9 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
805 |
1 |
2 |
2.6 |
7.6 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,095 |
1 |
58 |
14.9 |
27.3 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,168 |
3 |
58 |
21.2 |
30.1 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,792 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,789 |
1 |
2 |
2.5 |
24.2 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.8 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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 |
18 |
2 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
461 |
413 |
51 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
14 |
8 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
16 |
5 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
667 |
507 |
191 |
3.0 |
bash |
9 |
no-host |
bin-true |
534 |
423 |
120 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,300 |
1,486 |
1,072 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
810 |
586 |
238 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
805 |
555 |
265 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,755 |
8,801 |
6,348 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
14,819 |
8,826 |
6,409 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,463 |
17,395 |
12,903 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,019 |
8,831 |
6,452 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,095 |
8,796 |
6,437 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,778 |
1,542 |
1,267 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,710 |
1,556 |
1,173 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,646 |
2,228 |
1,626 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,767 |
1,644 |
1,160 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,792 |
1,588 |
1,241 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
25 |
23 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
41 |
25 |
16 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
201 |
160 |
44 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
26 |
23 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
28 |
20 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,816 |
8,718 |
5,568 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,654 |
9,132 |
6,006 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,044 |
20,981 |
11,139 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,159 |
8,440 |
5,919 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,168 |
8,588 |
5,774 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,788 |
1,059 |
737 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,742 |
990 |
756 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,438 |
1,495 |
985 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,795 |
1,025 |
774 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,789 |
1,024 |
769 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
57 |
30 |
26 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,517 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,114 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,811 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,191 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,110 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,379 |
0 |
0 |
0 |
8 |
0 |
1,990 |
76 |
bash |
9 |
no-host |
bin-true |
66,487 |
0 |
0 |
0 |
8 |
0 |
1,989 |
38 |
dash |
17 |
no-host |
bin-true |
771,526 |
0 |
0 |
0 |
8 |
0 |
1,997 |
249 |
osh-cpython |
25 |
no-host |
bin-true |
127,233 |
0 |
0 |
0 |
16 |
0 |
1,988 |
61 |
osh-native |
33 |
no-host |
bin-true |
124,262 |
0 |
0 |
0 |
16 |
0 |
1,992 |
125 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,217,705 |
0 |
0 |
0 |
32,928 |
0 |
14,544 |
1,059 |
bash |
10 |
no-host |
configure.cpython |
2,243,688 |
0 |
0 |
0 |
32,992 |
0 |
14,612 |
1,013 |
dash |
18 |
no-host |
configure.cpython |
6,243,371 |
0 |
0 |
0 |
27,512 |
0 |
13,273 |
1,266 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,216,655 |
0 |
0 |
0 |
27,520 |
0 |
13,252 |
1,113 |
osh-native |
34 |
no-host |
configure.cpython |
2,204,701 |
0 |
0 |
0 |
27,520 |
0 |
13,252 |
993 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,439 |
0 |
0 |
0 |
5,120 |
0 |
1,952 |
182 |
bash |
12 |
no-host |
configure.ocaml |
390,869 |
0 |
0 |
0 |
5,112 |
0 |
1,900 |
140 |
dash |
20 |
no-host |
configure.ocaml |
647,208 |
0 |
0 |
0 |
5,112 |
0 |
1,860 |
164 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,385 |
0 |
0 |
0 |
5,120 |
0 |
1,930 |
166 |
osh-native |
36 |
no-host |
configure.ocaml |
412,639 |
0 |
0 |
0 |
5,120 |
0 |
1,938 |
141 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,575 |
0 |
0 |
0 |
104 |
0 |
48 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,491 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,111 |
0 |
0 |
0 |
96 |
0 |
53 |
4 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,979 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,910 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,102,655 |
0 |
0 |
0 |
42,400 |
0 |
18,568 |
903 |
bash |
11 |
no-host |
configure.util-linux |
2,266,566 |
1 |
0 |
0 |
42,584 |
0 |
17,442 |
1,065 |
dash |
19 |
no-host |
configure.util-linux |
5,398,983 |
14 |
0 |
0 |
39,112 |
0 |
16,962 |
1,218 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,997,157 |
0 |
0 |
0 |
39,120 |
0 |
16,944 |
964 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,176 |
0 |
0 |
0 |
39,128 |
0 |
16,963 |
981 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,939 |
0 |
0 |
0 |
4,120 |
0 |
871 |
81 |
bash |
14 |
no-host |
configure.yash |
244,143 |
0 |
0 |
0 |
3,720 |
0 |
866 |
82 |
dash |
22 |
no-host |
configure.yash |
388,278 |
0 |
0 |
0 |
3,728 |
0 |
851 |
132 |
osh-cpython |
30 |
no-host |
configure.yash |
257,290 |
0 |
0 |
0 |
3,736 |
0 |
848 |
74 |
osh-native |
38 |
no-host |
configure.yash |
257,196 |
0 |
0 |
0 |
3,736 |
0 |
852 |
74 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,939 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host