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 |
472 |
27 |
21 |
24.65 |
1.42 |
bin-true |
no-host |
660 |
536 |
2,412 |
800 |
795 |
3.65 |
1.21 |
configure.cpython |
no-host |
14,763 |
14,964 |
29,096 |
15,140 |
15,209 |
1.97 |
1.03 |
configure.ocaml |
no-host |
3,817 |
3,773 |
4,704 |
3,813 |
3,811 |
1.23 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
208 |
48 |
48 |
4.41 |
1.03 |
configure.util-linux |
no-host |
13,775 |
14,670 |
31,768 |
14,194 |
14,180 |
2.31 |
1.03 |
configure.yash |
no-host |
1,816 |
1,774 |
2,503 |
1,847 |
1,803 |
1.38 |
1.02 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
42.31 |
2.04 |
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,124 |
24,111 |
3,187 |
3,074 |
9.52 |
1.26 |
bin-true |
no-host |
106,343 |
66,404 |
806,405 |
126,082 |
126,161 |
7.58 |
1.19 |
configure.cpython |
no-host |
2,000,079 |
2,021,775 |
6,102,691 |
2,008,743 |
2,003,405 |
3.05 |
1.00 |
configure.ocaml |
no-host |
373,479 |
354,107 |
616,548 |
376,581 |
375,798 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,090 |
5,008 |
23,980 |
6,516 |
6,478 |
3.94 |
1.07 |
configure.util-linux |
no-host |
1,914,774 |
2,081,096 |
5,272,602 |
1,809,957 |
1,810,585 |
2.75 |
0.95 |
configure.yash |
no-host |
233,299 |
221,744 |
369,378 |
235,556 |
235,365 |
1.58 |
1.01 |
hello-world |
no-host |
144 |
78 |
3,959 |
342 |
337 |
27.49 |
2.38 |
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,800 |
3,800 |
0 |
699 |
1,868 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
800 |
1 |
2 |
2.6 |
8.1 |
153,767 |
12,332 |
2,896 |
8,751 |
76,335 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,140 |
2 |
68 |
15.3 |
29.1 |
1,773,758 |
49,823 |
28,521 |
91,504 |
881,463 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,194 |
3 |
67 |
21.6 |
30.2 |
2,704,669 |
53,752 |
65,720 |
114,371 |
1,293,955 |
1,296,343 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,813 |
1 |
2 |
2.6 |
22.6 |
149,783 |
11,149 |
5,216 |
7,732 |
70,842 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.7 |
30,568 |
30,568 |
0 |
1,541 |
14,633 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,847 |
1 |
2 |
2.6 |
26.5 |
139,679 |
8,036 |
6,695 |
6,393 |
68,251 |
65,035 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
27 |
1 |
2 |
2.8 |
8.9 |
116,316 |
64,414 |
42,622 |
4,543 |
54,452 |
57,321 |
277 |
3 |
85,244 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.8 |
3,799 |
3,799 |
0 |
700 |
1,868 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
795 |
1 |
2 |
2.6 |
7.5 |
153,766 |
12,327 |
2,891 |
8,752 |
76,335 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,209 |
1 |
68 |
15.3 |
29.2 |
1,773,757 |
49,818 |
28,516 |
91,505 |
881,463 |
800,789 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,180 |
3 |
67 |
21.6 |
30.3 |
2,704,669 |
53,735 |
65,715 |
114,373 |
1,293,955 |
1,296,341 |
32,241 |
41 |
131,430 |
1 |
configure.ocaml |
no-host |
3,811 |
1 |
2 |
2.6 |
22.6 |
149,783 |
11,144 |
5,211 |
7,734 |
70,842 |
71,207 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.6 |
30,568 |
30,568 |
0 |
1,543 |
14,633 |
14,392 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,803 |
1 |
2 |
2.6 |
26.4 |
139,679 |
8,031 |
6,690 |
6,395 |
68,251 |
65,033 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,315 |
64,409 |
42,617 |
4,544 |
54,452 |
57,319 |
277 |
3 |
85,234 |
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 |
10 |
3 |
7 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
472 |
404 |
72 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
27 |
15 |
13 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
10 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
660 |
314 |
381 |
2.9 |
bash |
9 |
no-host |
bin-true |
536 |
277 |
270 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,412 |
828 |
1,859 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
800 |
289 |
528 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
795 |
294 |
519 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,763 |
6,621 |
8,553 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
14,964 |
6,723 |
8,682 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
29,096 |
14,570 |
16,482 |
28.9 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,140 |
6,757 |
8,663 |
29.1 |
osh-native |
34 |
no-host |
configure.cpython |
15,209 |
6,624 |
8,722 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,817 |
1,320 |
1,531 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,773 |
1,306 |
1,490 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,704 |
1,949 |
1,978 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,813 |
1,290 |
1,563 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,811 |
1,299 |
1,551 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
20 |
28 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
22 |
19 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
208 |
136 |
76 |
19.7 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
21 |
28 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
25 |
24 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,775 |
5,873 |
8,399 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,670 |
5,942 |
9,261 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,768 |
18,094 |
14,795 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,194 |
5,640 |
8,773 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
14,180 |
5,735 |
8,660 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,816 |
939 |
887 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,774 |
894 |
884 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,503 |
1,394 |
1,154 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,847 |
920 |
932 |
26.5 |
osh-native |
38 |
no-host |
configure.yash |
1,803 |
900 |
907 |
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 |
57 |
31 |
26 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
1 |
5.8 |
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 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,124 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
24,111 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,187 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,074 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,343 |
0 |
0 |
0 |
8 |
0 |
1,990 |
165 |
bash |
9 |
no-host |
bin-true |
66,404 |
0 |
0 |
0 |
8 |
0 |
1,983 |
91 |
dash |
17 |
no-host |
bin-true |
806,405 |
0 |
0 |
0 |
8 |
0 |
1,978 |
185 |
osh-cpython |
25 |
no-host |
bin-true |
126,082 |
0 |
0 |
0 |
16 |
0 |
1,977 |
82 |
osh-native |
33 |
no-host |
bin-true |
126,161 |
0 |
0 |
0 |
16 |
0 |
1,982 |
123 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,000,079 |
1 |
0 |
0 |
32,928 |
0 |
14,326 |
1,178 |
bash |
10 |
no-host |
configure.cpython |
2,021,775 |
2 |
0 |
0 |
32,992 |
0 |
14,349 |
1,226 |
dash |
18 |
no-host |
configure.cpython |
6,102,691 |
0 |
0 |
0 |
27,512 |
0 |
13,056 |
1,035 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,008,743 |
0 |
0 |
0 |
27,520 |
0 |
13,095 |
1,067 |
osh-native |
34 |
no-host |
configure.cpython |
2,003,405 |
0 |
0 |
0 |
27,520 |
0 |
13,088 |
1,092 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,479 |
0 |
0 |
0 |
5,120 |
0 |
1,970 |
208 |
bash |
12 |
no-host |
configure.ocaml |
354,107 |
0 |
0 |
0 |
5,112 |
0 |
1,934 |
171 |
dash |
20 |
no-host |
configure.ocaml |
616,548 |
0 |
0 |
0 |
5,112 |
0 |
1,849 |
202 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,581 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
192 |
osh-native |
36 |
no-host |
configure.ocaml |
375,798 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
203 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,090 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,008 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,980 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,516 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,478 |
0 |
0 |
0 |
104 |
0 |
47 |
11 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,914,774 |
0 |
0 |
0 |
42,400 |
0 |
18,488 |
1,142 |
bash |
11 |
no-host |
configure.util-linux |
2,081,096 |
0 |
0 |
0 |
42,584 |
0 |
17,266 |
1,229 |
dash |
19 |
no-host |
configure.util-linux |
5,272,602 |
13 |
0 |
0 |
39,112 |
0 |
17,013 |
1,279 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,809,957 |
0 |
0 |
0 |
39,120 |
0 |
17,014 |
1,145 |
osh-native |
35 |
no-host |
configure.util-linux |
1,810,585 |
2 |
0 |
0 |
39,128 |
0 |
16,937 |
1,272 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,299 |
0 |
0 |
0 |
4,120 |
0 |
867 |
88 |
bash |
14 |
no-host |
configure.yash |
221,744 |
0 |
0 |
0 |
3,720 |
0 |
868 |
77 |
dash |
22 |
no-host |
configure.yash |
369,378 |
0 |
0 |
0 |
3,728 |
0 |
849 |
92 |
osh-cpython |
30 |
no-host |
configure.yash |
235,556 |
0 |
0 |
0 |
3,736 |
0 |
847 |
94 |
osh-native |
38 |
no-host |
configure.yash |
235,365 |
0 |
0 |
0 |
3,736 |
0 |
850 |
94 |
osh-native-souffle |
0 |
no-host |
hello-world |
144 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
78 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,959 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host