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 |
478 |
22 |
21 |
25.05 |
1.18 |
bin-true |
no-host |
658 |
530 |
2,313 |
802 |
786 |
3.52 |
1.22 |
configure.cpython |
no-host |
14,865 |
14,947 |
29,171 |
15,102 |
15,030 |
1.96 |
1.02 |
configure.ocaml |
no-host |
3,815 |
3,705 |
4,687 |
3,807 |
3,801 |
1.23 |
1.00 |
configure.tcc |
no-host |
47 |
41 |
208 |
49 |
47 |
4.41 |
1.05 |
configure.util-linux |
no-host |
13,919 |
14,752 |
31,819 |
14,190 |
14,111 |
2.29 |
1.02 |
configure.yash |
no-host |
1,825 |
1,761 |
2,494 |
1,846 |
1,856 |
1.37 |
1.01 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
38.12 |
1.87 |
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,523 |
1,109 |
23,843 |
3,173 |
3,087 |
9.45 |
1.26 |
bin-true |
no-host |
104,306 |
66,448 |
778,733 |
126,217 |
124,103 |
7.47 |
1.21 |
configure.cpython |
no-host |
2,002,923 |
2,020,435 |
6,034,936 |
2,008,610 |
1,993,116 |
3.01 |
1.00 |
configure.ocaml |
no-host |
373,636 |
354,075 |
611,610 |
376,176 |
375,304 |
1.64 |
1.01 |
configure.tcc |
no-host |
6,058 |
5,031 |
23,837 |
6,494 |
6,455 |
3.93 |
1.07 |
configure.util-linux |
no-host |
1,909,765 |
2,073,026 |
5,220,690 |
1,801,089 |
1,799,021 |
2.73 |
0.94 |
configure.yash |
no-host |
233,358 |
221,730 |
366,564 |
235,250 |
235,617 |
1.57 |
1.01 |
hello-world |
no-host |
147 |
77 |
3,985 |
346 |
336 |
27.11 |
2.35 |
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 |
802 |
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 |
15,102 |
1 |
66 |
14.9 |
29.1 |
1,767,685 |
49,062 |
28,521 |
85,428 |
875,388 |
806,869 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,190 |
3 |
65 |
21.2 |
30.4 |
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,807 |
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 |
49 |
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,846 |
1 |
2 |
2.5 |
26.4 |
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.0 |
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 |
6.0 |
3,798 |
3,798 |
0 |
696 |
1,865 |
1,237 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
786 |
1 |
2 |
2.6 |
7.7 |
153,762 |
12,118 |
2,832 |
8,745 |
76,329 |
68,688 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,030 |
1 |
67 |
14.9 |
29.2 |
1,767,684 |
37,983 |
24,932 |
85,429 |
875,388 |
806,867 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,111 |
3 |
65 |
21.2 |
30.2 |
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,801 |
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.6 |
30,549 |
30,549 |
0 |
1,521 |
14,612 |
14,416 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,856 |
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 |
21 |
1 |
2 |
2.8 |
8.7 |
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 |
13 |
6 |
4.2 |
bash |
15 |
no-host |
abuild-print-help |
9 |
3 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
478 |
422 |
59 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
10 |
13 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
10 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
658 |
300 |
392 |
2.9 |
bash |
9 |
no-host |
bin-true |
530 |
284 |
257 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,313 |
785 |
1,787 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
802 |
276 |
543 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
786 |
299 |
503 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,865 |
6,744 |
8,533 |
29.3 |
bash |
10 |
no-host |
configure.cpython |
14,947 |
6,710 |
8,674 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
29,171 |
14,572 |
16,549 |
29.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,102 |
6,587 |
8,804 |
29.1 |
osh-native |
34 |
no-host |
configure.cpython |
15,030 |
6,734 |
8,582 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,815 |
1,322 |
1,538 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,705 |
1,310 |
1,419 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,687 |
1,872 |
2,033 |
22.5 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,807 |
1,327 |
1,521 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,801 |
1,342 |
1,497 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
19 |
28 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
41 |
20 |
22 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
208 |
141 |
71 |
19.5 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
22 |
28 |
19.7 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
23 |
24 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,919 |
5,949 |
8,473 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,752 |
5,948 |
9,326 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
31,819 |
18,036 |
14,916 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,190 |
5,620 |
8,793 |
30.4 |
osh-native |
35 |
no-host |
configure.util-linux |
14,111 |
5,607 |
8,730 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,825 |
933 |
902 |
26.2 |
bash |
14 |
no-host |
configure.yash |
1,761 |
903 |
863 |
26.5 |
dash |
22 |
no-host |
configure.yash |
2,494 |
1,351 |
1,188 |
26.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,846 |
942 |
910 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,856 |
924 |
937 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
1 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
58 |
35 |
23 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
2 |
1 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
2 |
1 |
6.0 |
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,523 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,109 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,843 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,173 |
0 |
0 |
0 |
16 |
0 |
39 |
4 |
osh-native |
39 |
no-host |
abuild-print-help |
3,087 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,306 |
0 |
0 |
0 |
8 |
0 |
1,988 |
121 |
bash |
9 |
no-host |
bin-true |
66,448 |
0 |
0 |
0 |
8 |
0 |
1,977 |
81 |
dash |
17 |
no-host |
bin-true |
778,733 |
0 |
0 |
0 |
8 |
0 |
1,981 |
315 |
osh-cpython |
25 |
no-host |
bin-true |
126,217 |
0 |
0 |
0 |
16 |
0 |
1,972 |
117 |
osh-native |
33 |
no-host |
bin-true |
124,103 |
0 |
0 |
0 |
16 |
0 |
1,976 |
101 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,002,923 |
0 |
0 |
0 |
32,928 |
0 |
14,218 |
1,177 |
bash |
10 |
no-host |
configure.cpython |
2,020,435 |
0 |
0 |
0 |
32,992 |
0 |
14,343 |
1,330 |
dash |
18 |
no-host |
configure.cpython |
6,034,936 |
1 |
0 |
0 |
27,512 |
0 |
13,045 |
1,101 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,008,610 |
0 |
0 |
0 |
27,520 |
0 |
13,066 |
1,028 |
osh-native |
34 |
no-host |
configure.cpython |
1,993,116 |
0 |
0 |
0 |
27,520 |
0 |
13,019 |
1,177 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,636 |
0 |
0 |
0 |
5,120 |
0 |
1,942 |
170 |
bash |
12 |
no-host |
configure.ocaml |
354,075 |
0 |
0 |
0 |
5,112 |
0 |
1,942 |
181 |
dash |
20 |
no-host |
configure.ocaml |
611,610 |
0 |
0 |
0 |
5,112 |
0 |
1,847 |
187 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,176 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
196 |
osh-native |
36 |
no-host |
configure.ocaml |
375,304 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
189 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,058 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,031 |
0 |
0 |
0 |
96 |
0 |
45 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,837 |
0 |
0 |
0 |
96 |
0 |
53 |
14 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,494 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,455 |
0 |
0 |
0 |
104 |
0 |
46 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,909,765 |
1 |
0 |
0 |
42,400 |
0 |
18,558 |
1,176 |
bash |
11 |
no-host |
configure.util-linux |
2,073,026 |
1 |
0 |
0 |
42,584 |
0 |
17,355 |
1,398 |
dash |
19 |
no-host |
configure.util-linux |
5,220,690 |
7 |
0 |
0 |
39,112 |
0 |
17,007 |
1,277 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,801,089 |
0 |
0 |
0 |
39,120 |
0 |
16,995 |
1,090 |
osh-native |
35 |
no-host |
configure.util-linux |
1,799,021 |
0 |
0 |
0 |
39,128 |
0 |
16,926 |
1,125 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,358 |
0 |
0 |
0 |
4,120 |
0 |
872 |
120 |
bash |
14 |
no-host |
configure.yash |
221,730 |
0 |
0 |
0 |
3,720 |
0 |
868 |
85 |
dash |
22 |
no-host |
configure.yash |
366,564 |
0 |
0 |
0 |
3,728 |
0 |
851 |
77 |
osh-cpython |
30 |
no-host |
configure.yash |
235,250 |
0 |
0 |
0 |
3,736 |
0 |
849 |
86 |
osh-native |
38 |
no-host |
configure.yash |
235,617 |
0 |
0 |
0 |
3,736 |
0 |
852 |
85 |
osh-native-souffle |
0 |
no-host |
hello-world |
147 |
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,985 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host