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 |
10 |
470 |
22 |
21 |
24.98 |
1.16 |
bin-true |
no-host |
675 |
546 |
2,290 |
816 |
807 |
3.40 |
1.21 |
configure.cpython |
no-host |
15,258 |
15,287 |
29,561 |
15,334 |
15,543 |
1.94 |
1.01 |
configure.ocaml |
no-host |
3,873 |
3,805 |
4,731 |
3,843 |
3,844 |
1.22 |
0.99 |
configure.tcc |
no-host |
48 |
43 |
205 |
49 |
49 |
4.32 |
1.03 |
configure.util-linux |
no-host |
14,327 |
15,216 |
31,873 |
14,417 |
14,477 |
2.22 |
1.01 |
configure.yash |
no-host |
1,846 |
1,816 |
2,552 |
1,843 |
1,834 |
1.38 |
1.00 |
hello-world |
no-host |
2 |
1 |
59 |
3 |
3 |
35.70 |
1.73 |
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,558 |
1,116 |
23,860 |
3,157 |
3,096 |
9.33 |
1.23 |
bin-true |
no-host |
107,352 |
66,397 |
770,594 |
125,213 |
126,276 |
7.18 |
1.17 |
configure.cpython |
no-host |
2,231,177 |
2,239,873 |
6,252,711 |
2,218,807 |
2,215,495 |
2.80 |
0.99 |
configure.ocaml |
no-host |
410,569 |
391,225 |
648,301 |
413,137 |
412,535 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,543 |
5,474 |
24,113 |
6,968 |
6,914 |
3.69 |
1.06 |
configure.util-linux |
no-host |
2,102,741 |
2,266,146 |
5,401,160 |
1,995,887 |
1,993,726 |
2.57 |
0.95 |
configure.yash |
no-host |
256,959 |
244,677 |
388,425 |
258,155 |
258,264 |
1.51 |
1.00 |
hello-world |
no-host |
150 |
82 |
3,946 |
342 |
335 |
26.31 |
2.28 |
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 |
816 |
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,334 |
1 |
62 |
14.9 |
27.1 |
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,417 |
3 |
60 |
21.2 |
30.1 |
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,843 |
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 |
49 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,843 |
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 |
9.0 |
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.5 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
807 |
1 |
2 |
2.6 |
7.9 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,543 |
1 |
62 |
14.9 |
27.4 |
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,477 |
3 |
62 |
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,844 |
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 |
49 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,834 |
1 |
2 |
2.5 |
24.4 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
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 |
9 |
10 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
8 |
2 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
470 |
394 |
78 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
20 |
2 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
16 |
5 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
675 |
512 |
197 |
2.9 |
bash |
9 |
no-host |
bin-true |
546 |
415 |
140 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,290 |
1,433 |
1,120 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
816 |
572 |
258 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
807 |
545 |
274 |
7.9 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,258 |
9,206 |
6,426 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,287 |
9,119 |
6,580 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
29,561 |
17,687 |
13,798 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,334 |
9,143 |
6,458 |
27.1 |
osh-native |
34 |
no-host |
configure.cpython |
15,543 |
8,948 |
6,692 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,873 |
1,637 |
1,272 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,805 |
1,577 |
1,249 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,731 |
2,297 |
1,646 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,843 |
1,674 |
1,208 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,844 |
1,617 |
1,264 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
33 |
15 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
35 |
9 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
205 |
160 |
49 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
28 |
22 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
31 |
18 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,327 |
9,091 |
5,716 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,216 |
9,375 |
6,342 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,873 |
21,376 |
11,602 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,417 |
8,767 |
5,842 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,477 |
8,752 |
5,921 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,846 |
1,054 |
800 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,816 |
1,084 |
735 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,552 |
1,516 |
1,078 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,843 |
1,006 |
841 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,834 |
1,058 |
780 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
59 |
46 |
13 |
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.5 |
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,558 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,116 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,860 |
0 |
0 |
0 |
8 |
0 |
45 |
14 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,157 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,096 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,352 |
0 |
0 |
0 |
8 |
0 |
1,991 |
50 |
bash |
9 |
no-host |
bin-true |
66,397 |
0 |
0 |
0 |
8 |
0 |
1,984 |
37 |
dash |
17 |
no-host |
bin-true |
770,594 |
0 |
0 |
0 |
8 |
0 |
2,000 |
113 |
osh-cpython |
25 |
no-host |
bin-true |
125,213 |
0 |
0 |
0 |
16 |
0 |
1,994 |
89 |
osh-native |
33 |
no-host |
bin-true |
126,276 |
0 |
0 |
0 |
16 |
0 |
1,991 |
62 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,231,177 |
0 |
0 |
0 |
32,928 |
0 |
14,509 |
971 |
bash |
10 |
no-host |
configure.cpython |
2,239,873 |
0 |
0 |
0 |
32,992 |
0 |
14,641 |
959 |
dash |
18 |
no-host |
configure.cpython |
6,252,711 |
0 |
0 |
0 |
27,512 |
0 |
13,286 |
1,322 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,807 |
0 |
0 |
0 |
27,520 |
0 |
13,217 |
1,135 |
osh-native |
34 |
no-host |
configure.cpython |
2,215,495 |
0 |
0 |
0 |
27,520 |
0 |
13,235 |
1,050 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,569 |
0 |
0 |
0 |
5,120 |
0 |
1,964 |
157 |
bash |
12 |
no-host |
configure.ocaml |
391,225 |
0 |
0 |
0 |
5,112 |
0 |
1,936 |
136 |
dash |
20 |
no-host |
configure.ocaml |
648,301 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
255 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,137 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
189 |
osh-native |
36 |
no-host |
configure.ocaml |
412,535 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
178 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,543 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,474 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,113 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,968 |
0 |
0 |
0 |
104 |
0 |
47 |
9 |
osh-native |
37 |
no-host |
configure.tcc |
6,914 |
0 |
0 |
0 |
104 |
0 |
47 |
11 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,102,741 |
0 |
0 |
0 |
42,400 |
0 |
18,578 |
1,128 |
bash |
11 |
no-host |
configure.util-linux |
2,266,146 |
1 |
0 |
0 |
42,584 |
0 |
17,317 |
1,034 |
dash |
19 |
no-host |
configure.util-linux |
5,401,160 |
13 |
0 |
0 |
39,136 |
0 |
16,989 |
1,191 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,995,887 |
0 |
0 |
0 |
39,120 |
0 |
16,965 |
926 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,726 |
2 |
0 |
0 |
39,128 |
0 |
16,967 |
1,041 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,959 |
0 |
0 |
0 |
4,120 |
0 |
868 |
102 |
bash |
14 |
no-host |
configure.yash |
244,677 |
0 |
0 |
0 |
3,720 |
0 |
868 |
76 |
dash |
22 |
no-host |
configure.yash |
388,425 |
0 |
0 |
0 |
3,728 |
0 |
853 |
101 |
osh-cpython |
30 |
no-host |
configure.yash |
258,155 |
0 |
0 |
0 |
3,736 |
0 |
850 |
88 |
osh-native |
38 |
no-host |
configure.yash |
258,264 |
0 |
0 |
0 |
3,736 |
0 |
849 |
87 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,946 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
335 |
0 |
0 |
0 |
16 |
0 |
3 |
1 |
osh-native-souffle |
Shell and Host