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 |
21 |
9 |
474 |
21 |
21 |
22.25 |
1.00 |
bin-true |
no-host |
659 |
530 |
2,401 |
795 |
781 |
3.65 |
1.21 |
configure.cpython |
no-host |
14,711 |
14,726 |
28,811 |
14,879 |
14,978 |
1.96 |
1.01 |
configure.ocaml |
no-host |
3,773 |
3,716 |
4,674 |
3,756 |
3,747 |
1.24 |
1.00 |
configure.tcc |
no-host |
47 |
40 |
204 |
48 |
48 |
4.31 |
1.00 |
configure.util-linux |
no-host |
13,681 |
14,500 |
31,475 |
13,975 |
13,988 |
2.30 |
1.02 |
configure.yash |
no-host |
1,782 |
1,753 |
2,457 |
1,798 |
1,808 |
1.38 |
1.01 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
42.15 |
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,551 |
1,076 |
24,491 |
3,217 |
3,066 |
9.60 |
1.26 |
bin-true |
no-host |
106,401 |
66,443 |
806,229 |
127,200 |
127,122 |
7.58 |
1.20 |
configure.cpython |
no-host |
2,000,595 |
2,027,261 |
6,100,081 |
2,009,343 |
1,995,877 |
3.05 |
1.00 |
configure.ocaml |
no-host |
373,295 |
353,923 |
615,165 |
376,536 |
376,232 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,082 |
5,011 |
24,041 |
6,551 |
6,436 |
3.95 |
1.08 |
configure.util-linux |
no-host |
1,913,469 |
2,073,741 |
5,296,275 |
1,816,634 |
1,815,023 |
2.77 |
0.95 |
configure.yash |
no-host |
233,892 |
222,206 |
369,167 |
235,829 |
234,868 |
1.58 |
1.01 |
hello-world |
no-host |
148 |
76 |
3,976 |
342 |
336 |
26.86 |
2.31 |
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 |
699 |
1,871 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
795 |
1 |
2 |
2.6 |
7.9 |
153,772 |
12,413 |
2,901 |
8,751 |
76,338 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,879 |
1 |
64 |
15.3 |
29.2 |
1,773,763 |
49,828 |
28,526 |
91,504 |
881,466 |
800,793 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,975 |
3 |
64 |
21.6 |
30.3 |
2,704,674 |
53,757 |
65,725 |
114,371 |
1,293,958 |
1,296,345 |
32,241 |
41 |
131,450 |
1 |
configure.ocaml |
no-host |
3,756 |
1 |
2 |
2.6 |
22.6 |
149,788 |
11,154 |
5,221 |
7,732 |
70,845 |
71,211 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.7 |
30,573 |
30,573 |
0 |
1,541 |
14,636 |
14,396 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,798 |
1 |
2 |
2.6 |
26.3 |
139,684 |
8,041 |
6,700 |
6,393 |
68,254 |
65,037 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
9.2 |
116,321 |
64,419 |
42,627 |
4,543 |
54,455 |
57,323 |
277 |
3 |
85,254 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.8 |
3,804 |
3,804 |
0 |
700 |
1,871 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
781 |
1 |
2 |
2.6 |
7.7 |
153,771 |
12,332 |
2,896 |
8,752 |
76,338 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,978 |
1 |
64 |
15.3 |
29.1 |
1,773,762 |
49,823 |
28,521 |
91,505 |
881,466 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,988 |
3 |
64 |
21.6 |
30.3 |
2,704,674 |
53,734 |
65,720 |
114,373 |
1,293,958 |
1,296,343 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,747 |
1 |
2 |
2.6 |
22.6 |
149,788 |
11,149 |
5,216 |
7,734 |
70,845 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.7 |
30,573 |
30,573 |
0 |
1,543 |
14,636 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,808 |
1 |
2 |
2.6 |
26.5 |
139,684 |
8,030 |
6,689 |
6,395 |
68,254 |
65,035 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.5 |
116,320 |
64,414 |
42,622 |
4,544 |
54,455 |
57,321 |
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 |
21 |
12 |
7 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
2 |
7 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
474 |
425 |
53 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
21 |
12 |
10 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
8 |
13 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
659 |
310 |
383 |
2.9 |
bash |
9 |
no-host |
bin-true |
530 |
276 |
265 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,401 |
807 |
1,853 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
795 |
300 |
511 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
781 |
307 |
493 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,711 |
6,579 |
8,549 |
29.1 |
bash |
10 |
no-host |
configure.cpython |
14,726 |
6,801 |
8,367 |
29.3 |
dash |
18 |
no-host |
configure.cpython |
28,811 |
14,399 |
16,318 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,879 |
6,587 |
8,567 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
14,978 |
6,533 |
8,617 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,773 |
1,276 |
1,532 |
22.5 |
bash |
12 |
no-host |
configure.ocaml |
3,716 |
1,315 |
1,422 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,674 |
1,926 |
1,971 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,756 |
1,310 |
1,486 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,747 |
1,315 |
1,472 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
22 |
26 |
19.6 |
bash |
13 |
no-host |
configure.tcc |
40 |
19 |
22 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
204 |
142 |
66 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
21 |
27 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
19 |
29 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,681 |
5,866 |
8,317 |
30.5 |
bash |
11 |
no-host |
configure.util-linux |
14,500 |
5,919 |
9,105 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
31,475 |
17,816 |
14,769 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,975 |
5,570 |
8,626 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,988 |
5,567 |
8,638 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,782 |
921 |
871 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,753 |
891 |
867 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,457 |
1,321 |
1,180 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,798 |
880 |
924 |
26.3 |
osh-native |
38 |
no-host |
configure.yash |
1,808 |
866 |
947 |
26.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.3 |
dash |
16 |
no-host |
hello-world |
57 |
37 |
20 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
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,551 |
0 |
0 |
0 |
16 |
0 |
42 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,076 |
0 |
0 |
0 |
8 |
0 |
38 |
1 |
dash |
23 |
no-host |
abuild-print-help |
24,491 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,217 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,066 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,401 |
0 |
0 |
0 |
8 |
0 |
1,986 |
98 |
bash |
9 |
no-host |
bin-true |
66,443 |
0 |
0 |
0 |
8 |
0 |
1,986 |
74 |
dash |
17 |
no-host |
bin-true |
806,229 |
0 |
0 |
0 |
8 |
0 |
1,997 |
569 |
osh-cpython |
25 |
no-host |
bin-true |
127,200 |
0 |
0 |
0 |
16 |
0 |
1,966 |
146 |
osh-native |
33 |
no-host |
bin-true |
127,122 |
0 |
0 |
0 |
16 |
0 |
1,987 |
74 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,000,595 |
1 |
0 |
0 |
32,928 |
0 |
14,229 |
1,289 |
bash |
10 |
no-host |
configure.cpython |
2,027,261 |
0 |
0 |
0 |
32,992 |
0 |
14,314 |
1,151 |
dash |
18 |
no-host |
configure.cpython |
6,100,081 |
1 |
0 |
0 |
27,512 |
0 |
13,175 |
1,226 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,009,343 |
0 |
0 |
0 |
27,520 |
0 |
13,041 |
1,188 |
osh-native |
34 |
no-host |
configure.cpython |
1,995,877 |
1 |
0 |
0 |
27,520 |
0 |
13,118 |
1,079 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,295 |
0 |
0 |
0 |
5,120 |
0 |
1,963 |
201 |
bash |
12 |
no-host |
configure.ocaml |
353,923 |
0 |
0 |
0 |
5,112 |
0 |
1,922 |
183 |
dash |
20 |
no-host |
configure.ocaml |
615,165 |
0 |
0 |
0 |
5,112 |
0 |
1,842 |
210 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,536 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
201 |
osh-native |
36 |
no-host |
configure.ocaml |
376,232 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
193 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,082 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,011 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,041 |
0 |
0 |
0 |
96 |
0 |
53 |
3 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,551 |
0 |
0 |
0 |
104 |
0 |
47 |
13 |
osh-native |
37 |
no-host |
configure.tcc |
6,436 |
0 |
0 |
0 |
104 |
0 |
47 |
12 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,913,469 |
1 |
0 |
0 |
42,400 |
0 |
18,579 |
1,257 |
bash |
11 |
no-host |
configure.util-linux |
2,073,741 |
0 |
0 |
0 |
42,584 |
0 |
17,347 |
1,340 |
dash |
19 |
no-host |
configure.util-linux |
5,296,275 |
15 |
0 |
0 |
39,112 |
0 |
17,034 |
1,217 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,816,634 |
1 |
0 |
0 |
39,120 |
0 |
17,036 |
1,153 |
osh-native |
35 |
no-host |
configure.util-linux |
1,815,023 |
0 |
0 |
0 |
39,128 |
0 |
17,007 |
1,183 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,892 |
0 |
0 |
0 |
4,120 |
0 |
874 |
93 |
bash |
14 |
no-host |
configure.yash |
222,206 |
0 |
0 |
0 |
3,720 |
0 |
870 |
78 |
dash |
22 |
no-host |
configure.yash |
369,167 |
0 |
0 |
0 |
3,728 |
0 |
853 |
80 |
osh-cpython |
30 |
no-host |
configure.yash |
235,829 |
0 |
0 |
0 |
3,736 |
0 |
851 |
91 |
osh-native |
38 |
no-host |
configure.yash |
234,868 |
0 |
0 |
0 |
3,736 |
0 |
850 |
97 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
76 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,976 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
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