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 |
487 |
22 |
20 |
26.01 |
1.17 |
bin-true |
no-host |
661 |
531 |
2,378 |
801 |
794 |
3.60 |
1.21 |
configure.cpython |
no-host |
15,026 |
14,855 |
28,858 |
15,022 |
14,930 |
1.92 |
1.00 |
configure.ocaml |
no-host |
3,768 |
3,697 |
4,648 |
3,782 |
3,772 |
1.23 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
207 |
48 |
47 |
4.45 |
1.03 |
configure.util-linux |
no-host |
13,959 |
14,517 |
31,666 |
14,030 |
13,964 |
2.27 |
1.01 |
configure.yash |
no-host |
1,794 |
1,746 |
2,458 |
1,809 |
1,797 |
1.37 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
41.15 |
2.05 |
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,532 |
1,092 |
24,160 |
3,221 |
3,111 |
9.54 |
1.27 |
bin-true |
no-host |
105,363 |
66,424 |
801,919 |
127,214 |
129,185 |
7.61 |
1.21 |
configure.cpython |
no-host |
2,005,142 |
2,030,012 |
6,098,827 |
2,018,977 |
2,003,816 |
3.04 |
1.01 |
configure.ocaml |
no-host |
372,769 |
353,736 |
616,116 |
376,600 |
375,699 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,071 |
5,006 |
24,038 |
6,508 |
6,438 |
3.96 |
1.07 |
configure.util-linux |
no-host |
1,909,433 |
2,071,734 |
5,309,329 |
1,819,080 |
1,809,065 |
2.78 |
0.95 |
configure.yash |
no-host |
233,688 |
221,740 |
369,329 |
234,776 |
235,748 |
1.58 |
1.00 |
hello-world |
no-host |
148 |
77 |
3,968 |
346 |
341 |
26.81 |
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.3 |
6.3 |
3,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
801 |
1 |
2 |
2.6 |
8.1 |
156,772 |
15,414 |
2,901 |
8,752 |
77,337 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,022 |
2 |
71 |
15.5 |
29.3 |
1,785,013 |
30,559 |
28,526 |
91,505 |
887,089 |
806,419 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,030 |
3 |
64 |
21.6 |
30.2 |
2,709,214 |
53,761 |
65,725 |
114,372 |
1,296,230 |
1,298,612 |
32,241 |
41 |
131,450 |
1 |
configure.ocaml |
no-host |
3,782 |
1 |
2 |
2.6 |
22.6 |
149,859 |
11,178 |
5,221 |
7,733 |
70,879 |
71,247 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.7 |
30,575 |
30,575 |
0 |
1,542 |
14,636 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,809 |
1 |
2 |
2.6 |
26.4 |
139,881 |
8,045 |
6,700 |
6,397 |
68,350 |
65,134 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,337 |
64,419 |
42,627 |
4,544 |
54,462 |
57,331 |
277 |
3 |
85,254 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,804 |
3,804 |
0 |
701 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
794 |
1 |
2 |
2.6 |
7.6 |
156,771 |
15,409 |
2,896 |
8,753 |
77,337 |
70,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,930 |
1 |
68 |
15.4 |
29.3 |
1,785,012 |
30,546 |
28,521 |
91,506 |
887,089 |
806,417 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
13,964 |
3 |
64 |
21.6 |
30.2 |
2,709,214 |
53,738 |
65,720 |
114,374 |
1,296,230 |
1,298,610 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,772 |
1 |
2 |
2.6 |
22.6 |
149,859 |
11,173 |
5,216 |
7,735 |
70,879 |
71,245 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,575 |
30,575 |
0 |
1,544 |
14,636 |
14,395 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,797 |
1 |
2 |
2.6 |
26.4 |
139,881 |
8,034 |
6,689 |
6,399 |
68,350 |
65,132 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.7 |
116,336 |
64,414 |
42,622 |
4,545 |
54,462 |
57,329 |
277 |
3 |
85,244 |
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 |
10 |
9 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
487 |
436 |
55 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
9 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
12 |
9 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
661 |
324 |
370 |
3.0 |
bash |
9 |
no-host |
bin-true |
531 |
281 |
261 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,378 |
808 |
1,824 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
801 |
306 |
511 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
794 |
295 |
516 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,026 |
6,696 |
8,765 |
29.0 |
bash |
10 |
no-host |
configure.cpython |
14,855 |
6,712 |
8,590 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,858 |
14,241 |
16,511 |
29.1 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,022 |
6,523 |
8,798 |
29.3 |
osh-native |
34 |
no-host |
configure.cpython |
14,930 |
6,543 |
8,677 |
29.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,768 |
1,336 |
1,470 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,697 |
1,301 |
1,418 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,648 |
1,910 |
1,957 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,782 |
1,313 |
1,510 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,772 |
1,298 |
1,512 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
23 |
24 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
26 |
15 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
207 |
144 |
67 |
19.5 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
24 |
24 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
24 |
24 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,959 |
5,846 |
8,619 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,517 |
5,963 |
9,081 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,666 |
17,979 |
14,789 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,030 |
5,607 |
8,652 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
13,964 |
5,630 |
8,564 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,794 |
879 |
924 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,746 |
882 |
868 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,458 |
1,375 |
1,126 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,809 |
921 |
893 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,797 |
869 |
934 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
28 |
29 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
2 |
1 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
2 |
1 |
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,532 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,092 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
24,160 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,221 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,111 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,363 |
0 |
0 |
0 |
8 |
0 |
1,977 |
141 |
bash |
9 |
no-host |
bin-true |
66,424 |
0 |
0 |
0 |
8 |
0 |
1,974 |
133 |
dash |
17 |
no-host |
bin-true |
801,919 |
0 |
0 |
0 |
8 |
0 |
1,983 |
356 |
osh-cpython |
25 |
no-host |
bin-true |
127,214 |
0 |
0 |
0 |
16 |
0 |
1,976 |
88 |
osh-native |
33 |
no-host |
bin-true |
129,185 |
0 |
0 |
0 |
16 |
0 |
1,972 |
96 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,005,142 |
0 |
0 |
0 |
32,928 |
0 |
14,210 |
1,108 |
bash |
10 |
no-host |
configure.cpython |
2,030,012 |
0 |
0 |
0 |
32,992 |
0 |
14,313 |
1,273 |
dash |
18 |
no-host |
configure.cpython |
6,098,827 |
0 |
0 |
0 |
27,512 |
0 |
13,029 |
1,220 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,018,977 |
0 |
0 |
0 |
27,520 |
0 |
13,047 |
1,218 |
osh-native |
34 |
no-host |
configure.cpython |
2,003,816 |
1 |
0 |
0 |
27,520 |
0 |
13,085 |
1,097 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
372,769 |
0 |
0 |
0 |
5,120 |
0 |
1,954 |
192 |
bash |
12 |
no-host |
configure.ocaml |
353,736 |
0 |
0 |
0 |
5,112 |
0 |
1,938 |
193 |
dash |
20 |
no-host |
configure.ocaml |
616,116 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
203 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,600 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
198 |
osh-native |
36 |
no-host |
configure.ocaml |
375,699 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
208 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,071 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
bash |
13 |
no-host |
configure.tcc |
5,006 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,038 |
0 |
0 |
0 |
96 |
0 |
51 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,508 |
0 |
0 |
0 |
104 |
0 |
47 |
6 |
osh-native |
37 |
no-host |
configure.tcc |
6,438 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,909,433 |
0 |
0 |
0 |
42,400 |
0 |
18,403 |
1,212 |
bash |
11 |
no-host |
configure.util-linux |
2,071,734 |
1 |
0 |
0 |
42,584 |
0 |
17,335 |
1,305 |
dash |
19 |
no-host |
configure.util-linux |
5,309,329 |
4 |
0 |
0 |
39,128 |
0 |
17,013 |
1,340 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,819,080 |
0 |
0 |
0 |
39,128 |
0 |
16,997 |
1,093 |
osh-native |
35 |
no-host |
configure.util-linux |
1,809,065 |
1 |
0 |
0 |
39,136 |
0 |
16,867 |
1,118 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,688 |
0 |
0 |
0 |
4,120 |
0 |
870 |
102 |
bash |
14 |
no-host |
configure.yash |
221,740 |
0 |
0 |
0 |
3,720 |
0 |
870 |
111 |
dash |
22 |
no-host |
configure.yash |
369,329 |
0 |
0 |
0 |
3,728 |
0 |
849 |
88 |
osh-cpython |
30 |
no-host |
configure.yash |
234,776 |
0 |
0 |
0 |
3,736 |
0 |
848 |
107 |
osh-native |
38 |
no-host |
configure.yash |
235,748 |
0 |
0 |
0 |
3,736 |
0 |
846 |
80 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
bash |
8 |
no-host |
hello-world |
77 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,968 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host