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 |
471 |
22 |
20 |
25.46 |
1.17 |
bin-true |
no-host |
661 |
536 |
2,321 |
794 |
791 |
3.51 |
1.20 |
configure.cpython |
no-host |
14,598 |
14,636 |
28,426 |
14,846 |
14,746 |
1.95 |
1.02 |
configure.ocaml |
no-host |
3,729 |
3,715 |
4,605 |
3,736 |
3,750 |
1.23 |
1.00 |
configure.tcc |
no-host |
46 |
40 |
204 |
47 |
47 |
4.46 |
1.03 |
configure.util-linux |
no-host |
13,586 |
14,411 |
30,987 |
13,939 |
13,862 |
2.28 |
1.03 |
configure.yash |
no-host |
1,815 |
1,740 |
2,462 |
1,792 |
1,829 |
1.36 |
0.99 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
43.08 |
2.20 |
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,564 |
1,100 |
23,944 |
3,198 |
3,115 |
9.34 |
1.25 |
bin-true |
no-host |
107,319 |
66,451 |
777,556 |
127,125 |
127,178 |
7.25 |
1.18 |
configure.cpython |
no-host |
2,003,563 |
2,023,099 |
6,035,492 |
2,005,743 |
1,991,531 |
3.01 |
1.00 |
configure.ocaml |
no-host |
373,462 |
353,760 |
610,161 |
376,142 |
375,508 |
1.63 |
1.01 |
configure.tcc |
no-host |
6,075 |
5,016 |
23,741 |
6,485 |
6,452 |
3.91 |
1.07 |
configure.util-linux |
no-host |
1,909,178 |
2,075,854 |
5,207,121 |
1,802,556 |
1,799,544 |
2.73 |
0.94 |
configure.yash |
no-host |
232,689 |
222,392 |
366,439 |
235,415 |
234,681 |
1.57 |
1.01 |
hello-world |
no-host |
146 |
77 |
3,957 |
346 |
339 |
27.10 |
2.37 |
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,799 |
3,799 |
0 |
695 |
1,865 |
1,239 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
794 |
1 |
2 |
2.6 |
8.1 |
153,763 |
12,331 |
2,896 |
8,744 |
76,329 |
68,690 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,846 |
1 |
64 |
14.9 |
29.2 |
1,767,685 |
49,062 |
28,521 |
85,428 |
875,388 |
806,869 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,939 |
3 |
64 |
21.2 |
30.3 |
2,699,001 |
29,942 |
65,720 |
108,700 |
1,288,285 |
1,302,016 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,736 |
1 |
2 |
2.6 |
22.6 |
149,563 |
11,121 |
5,216 |
7,509 |
70,620 |
71,434 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,549 |
30,549 |
0 |
1,519 |
14,612 |
14,418 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,792 |
1 |
2 |
2.5 |
26.3 |
139,279 |
8,033 |
6,695 |
5,990 |
67,849 |
65,440 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,309 |
64,412 |
42,622 |
4,533 |
54,443 |
57,333 |
277 |
3 |
85,244 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,798 |
3,798 |
0 |
696 |
1,865 |
1,237 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
791 |
1 |
2 |
2.6 |
7.6 |
153,762 |
12,118 |
2,832 |
8,745 |
76,329 |
68,688 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,746 |
1 |
65 |
14.9 |
28.9 |
1,767,684 |
37,983 |
24,932 |
85,429 |
875,388 |
806,867 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,862 |
3 |
63 |
21.2 |
30.3 |
2,699,001 |
29,878 |
65,656 |
108,702 |
1,288,285 |
1,302,014 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,750 |
1 |
2 |
2.6 |
22.6 |
149,563 |
11,057 |
5,152 |
7,511 |
70,620 |
71,432 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,549 |
30,549 |
0 |
1,521 |
14,612 |
14,416 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,829 |
1 |
2 |
2.5 |
26.4 |
139,279 |
7,969 |
6,631 |
5,992 |
67,849 |
65,438 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.8 |
116,308 |
64,348 |
42,558 |
4,534 |
54,443 |
57,331 |
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 |
11 |
8 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
3 |
6 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
471 |
422 |
53 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
8 |
15 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
13 |
8 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
661 |
312 |
382 |
2.9 |
bash |
9 |
no-host |
bin-true |
536 |
267 |
278 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,321 |
792 |
1,784 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
794 |
293 |
517 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
791 |
305 |
504 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,598 |
6,694 |
8,313 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,636 |
6,741 |
8,328 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
28,426 |
14,217 |
16,094 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,846 |
6,578 |
8,558 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,746 |
6,587 |
8,437 |
28.9 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,729 |
1,293 |
1,478 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,715 |
1,328 |
1,409 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,605 |
1,883 |
1,934 |
22.5 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,736 |
1,292 |
1,482 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,750 |
1,311 |
1,478 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
20 |
26 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
40 |
21 |
19 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
204 |
141 |
67 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
22 |
26 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
19 |
28 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,586 |
5,804 |
8,274 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,411 |
5,800 |
9,128 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
30,987 |
17,686 |
14,395 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,939 |
5,489 |
8,655 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,862 |
5,599 |
8,477 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,815 |
918 |
892 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,740 |
910 |
835 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,462 |
1,332 |
1,173 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,792 |
920 |
877 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,829 |
909 |
924 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
36 |
20 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
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,564 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,100 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,944 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,198 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,115 |
0 |
0 |
0 |
16 |
0 |
38 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,319 |
0 |
0 |
0 |
8 |
0 |
1,989 |
115 |
bash |
9 |
no-host |
bin-true |
66,451 |
0 |
0 |
0 |
8 |
0 |
1,974 |
169 |
dash |
17 |
no-host |
bin-true |
777,556 |
0 |
0 |
0 |
8 |
0 |
1,983 |
276 |
osh-cpython |
25 |
no-host |
bin-true |
127,125 |
0 |
0 |
0 |
16 |
0 |
1,985 |
96 |
osh-native |
33 |
no-host |
bin-true |
127,178 |
0 |
0 |
0 |
16 |
0 |
1,988 |
76 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,003,563 |
0 |
0 |
0 |
32,928 |
0 |
14,192 |
1,302 |
bash |
10 |
no-host |
configure.cpython |
2,023,099 |
0 |
0 |
0 |
32,992 |
0 |
14,339 |
1,157 |
dash |
18 |
no-host |
configure.cpython |
6,035,492 |
1 |
0 |
0 |
27,512 |
0 |
13,057 |
1,205 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,005,743 |
0 |
0 |
0 |
27,520 |
0 |
13,093 |
1,111 |
osh-native |
34 |
no-host |
configure.cpython |
1,991,531 |
0 |
0 |
0 |
27,520 |
0 |
13,014 |
1,155 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,462 |
0 |
0 |
0 |
5,120 |
0 |
1,949 |
188 |
bash |
12 |
no-host |
configure.ocaml |
353,760 |
0 |
0 |
0 |
5,112 |
0 |
1,931 |
183 |
dash |
20 |
no-host |
configure.ocaml |
610,161 |
1 |
0 |
0 |
5,112 |
0 |
1,866 |
231 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,142 |
0 |
0 |
0 |
5,120 |
0 |
1,916 |
210 |
osh-native |
36 |
no-host |
configure.ocaml |
375,508 |
0 |
0 |
0 |
5,120 |
0 |
1,920 |
197 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,075 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,016 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,741 |
0 |
0 |
0 |
96 |
0 |
53 |
1 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,485 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,452 |
0 |
0 |
0 |
104 |
0 |
46 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,909,178 |
0 |
0 |
0 |
42,400 |
0 |
18,427 |
1,283 |
bash |
11 |
no-host |
configure.util-linux |
2,075,854 |
0 |
0 |
0 |
42,592 |
0 |
17,337 |
1,461 |
dash |
19 |
no-host |
configure.util-linux |
5,207,121 |
5 |
0 |
0 |
39,112 |
0 |
17,035 |
1,258 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,802,556 |
0 |
0 |
0 |
39,120 |
0 |
17,016 |
1,222 |
osh-native |
35 |
no-host |
configure.util-linux |
1,799,544 |
1 |
0 |
0 |
39,128 |
0 |
16,973 |
1,344 |
osh-native-souffle |
6 |
no-host |
configure.yash |
232,689 |
0 |
0 |
0 |
4,120 |
0 |
873 |
114 |
bash |
14 |
no-host |
configure.yash |
222,392 |
0 |
0 |
0 |
3,720 |
0 |
871 |
101 |
dash |
22 |
no-host |
configure.yash |
366,439 |
0 |
0 |
0 |
3,728 |
0 |
855 |
102 |
osh-cpython |
30 |
no-host |
configure.yash |
235,415 |
0 |
0 |
0 |
3,736 |
0 |
846 |
84 |
osh-native |
38 |
no-host |
configure.yash |
234,681 |
0 |
0 |
0 |
3,736 |
0 |
848 |
100 |
osh-native-souffle |
0 |
no-host |
hello-world |
146 |
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,957 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host