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 |
466 |
22 |
21 |
24.51 |
1.18 |
bin-true |
no-host |
675 |
543 |
2,319 |
810 |
809 |
3.43 |
1.20 |
configure.cpython |
no-host |
14,929 |
14,890 |
28,535 |
15,068 |
15,320 |
1.91 |
1.01 |
configure.ocaml |
no-host |
3,764 |
3,697 |
4,616 |
3,816 |
3,785 |
1.23 |
1.01 |
configure.tcc |
no-host |
47 |
42 |
202 |
48 |
48 |
4.32 |
1.04 |
configure.util-linux |
no-host |
13,872 |
14,778 |
31,072 |
14,267 |
14,205 |
2.24 |
1.03 |
configure.yash |
no-host |
1,790 |
1,753 |
2,433 |
1,828 |
1,805 |
1.36 |
1.02 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
39.21 |
1.89 |
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,138 |
23,595 |
3,187 |
3,112 |
9.32 |
1.26 |
bin-true |
no-host |
105,353 |
66,443 |
765,359 |
126,200 |
126,173 |
7.26 |
1.20 |
configure.cpython |
no-host |
2,221,509 |
2,242,586 |
6,227,764 |
2,218,330 |
2,212,461 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,408 |
389,949 |
643,798 |
413,146 |
412,471 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,545 |
5,469 |
23,979 |
6,944 |
6,905 |
3.66 |
1.06 |
configure.util-linux |
no-host |
2,089,977 |
2,267,928 |
5,360,815 |
2,005,805 |
1,996,929 |
2.57 |
0.96 |
configure.yash |
no-host |
256,348 |
245,038 |
385,892 |
258,582 |
258,197 |
1.51 |
1.01 |
hello-world |
no-host |
149 |
83 |
3,950 |
345 |
333 |
26.51 |
2.32 |
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,789 |
3,789 |
0 |
695 |
1,861 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
810 |
1 |
2 |
2.6 |
8.1 |
153,753 |
12,329 |
2,894 |
8,744 |
76,325 |
68,684 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,068 |
1 |
60 |
14.9 |
27.5 |
1,771,800 |
49,612 |
28,519 |
85,428 |
878,134 |
808,238 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,267 |
3 |
59 |
21.2 |
29.9 |
2,702,546 |
45,807 |
65,718 |
108,700 |
1,290,651 |
1,303,195 |
32,241 |
41 |
131,436 |
1 |
configure.ocaml |
no-host |
3,816 |
1 |
2 |
2.6 |
20.4 |
150,087 |
11,119 |
5,214 |
7,509 |
70,972 |
71,606 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,593 |
30,593 |
0 |
1,519 |
14,644 |
14,430 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,828 |
1 |
2 |
2.5 |
24.4 |
139,419 |
8,031 |
6,693 |
5,990 |
67,945 |
65,484 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,299 |
64,410 |
42,620 |
4,533 |
54,439 |
57,327 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.8 |
3,788 |
3,788 |
0 |
696 |
1,861 |
1,231 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
809 |
1 |
2 |
2.6 |
7.3 |
153,752 |
12,118 |
2,832 |
8,745 |
76,325 |
68,682 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,320 |
2 |
63 |
14.9 |
27.4 |
1,771,799 |
49,070 |
28,457 |
85,429 |
878,134 |
808,236 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,205 |
3 |
59 |
21.2 |
30.1 |
2,702,546 |
53,700 |
65,656 |
108,702 |
1,290,651 |
1,303,193 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,785 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,057 |
5,152 |
7,511 |
70,972 |
71,604 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,593 |
30,593 |
0 |
1,521 |
14,644 |
14,428 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,805 |
1 |
2 |
2.5 |
24.4 |
139,419 |
7,969 |
6,631 |
5,992 |
67,945 |
65,482 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,298 |
64,348 |
42,558 |
4,534 |
54,439 |
57,325 |
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 |
18 |
1 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
4 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
466 |
420 |
49 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
16 |
7 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
16 |
6 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
675 |
515 |
193 |
3.0 |
bash |
9 |
no-host |
bin-true |
543 |
412 |
140 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,319 |
1,540 |
1,040 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
810 |
589 |
236 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
809 |
576 |
249 |
7.3 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,929 |
8,849 |
6,444 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
14,890 |
8,943 |
6,370 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,535 |
17,475 |
12,894 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,068 |
9,059 |
6,272 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,320 |
9,069 |
6,334 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,764 |
1,616 |
1,188 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,697 |
1,597 |
1,118 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,616 |
2,239 |
1,586 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,816 |
1,577 |
1,277 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,785 |
1,667 |
1,154 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
22 |
20 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
202 |
174 |
31 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
30 |
19 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
25 |
23 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,872 |
8,760 |
5,580 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,778 |
9,126 |
6,144 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,072 |
20,483 |
11,647 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,267 |
8,550 |
5,912 |
29.9 |
osh-native |
35 |
no-host |
configure.util-linux |
14,205 |
8,696 |
5,704 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,790 |
1,015 |
784 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,753 |
1,044 |
711 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,433 |
1,526 |
948 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,828 |
1,104 |
727 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,805 |
1,066 |
742 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
24 |
33 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,138 |
0 |
0 |
0 |
8 |
0 |
39 |
2 |
dash |
23 |
no-host |
abuild-print-help |
23,595 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,187 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,112 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,353 |
0 |
0 |
0 |
8 |
0 |
1,991 |
69 |
bash |
9 |
no-host |
bin-true |
66,443 |
0 |
0 |
0 |
8 |
0 |
1,994 |
53 |
dash |
17 |
no-host |
bin-true |
765,359 |
0 |
0 |
0 |
8 |
0 |
1,993 |
262 |
osh-cpython |
25 |
no-host |
bin-true |
126,200 |
0 |
0 |
0 |
16 |
0 |
1,988 |
93 |
osh-native |
33 |
no-host |
bin-true |
126,173 |
0 |
0 |
0 |
16 |
0 |
1,993 |
44 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,221,509 |
0 |
0 |
0 |
32,952 |
0 |
14,534 |
1,014 |
bash |
10 |
no-host |
configure.cpython |
2,242,586 |
1 |
0 |
0 |
32,992 |
0 |
14,666 |
1,078 |
dash |
18 |
no-host |
configure.cpython |
6,227,764 |
0 |
0 |
0 |
27,512 |
0 |
13,259 |
1,153 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,330 |
0 |
0 |
0 |
27,520 |
0 |
13,216 |
1,100 |
osh-native |
34 |
no-host |
configure.cpython |
2,212,461 |
0 |
0 |
0 |
27,520 |
0 |
13,281 |
955 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,408 |
0 |
0 |
0 |
5,120 |
0 |
1,949 |
155 |
bash |
12 |
no-host |
configure.ocaml |
389,949 |
0 |
0 |
0 |
5,112 |
0 |
1,907 |
144 |
dash |
20 |
no-host |
configure.ocaml |
643,798 |
0 |
0 |
0 |
5,112 |
0 |
1,873 |
176 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,146 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
159 |
osh-native |
36 |
no-host |
configure.ocaml |
412,471 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
150 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,545 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,469 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,979 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,944 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,905 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,089,977 |
2 |
0 |
0 |
42,400 |
0 |
18,652 |
1,035 |
bash |
11 |
no-host |
configure.util-linux |
2,267,928 |
1 |
0 |
0 |
42,584 |
0 |
17,402 |
1,089 |
dash |
19 |
no-host |
configure.util-linux |
5,360,815 |
9 |
0 |
0 |
39,112 |
0 |
16,984 |
1,275 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,005,805 |
0 |
0 |
0 |
39,120 |
0 |
16,985 |
975 |
osh-native |
35 |
no-host |
configure.util-linux |
1,996,929 |
1 |
0 |
0 |
39,128 |
0 |
17,120 |
941 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,348 |
0 |
0 |
0 |
4,120 |
0 |
873 |
76 |
bash |
14 |
no-host |
configure.yash |
245,038 |
0 |
0 |
0 |
3,720 |
0 |
865 |
73 |
dash |
22 |
no-host |
configure.yash |
385,892 |
0 |
0 |
0 |
3,728 |
0 |
850 |
89 |
osh-cpython |
30 |
no-host |
configure.yash |
258,582 |
0 |
0 |
0 |
3,736 |
0 |
850 |
79 |
osh-native |
38 |
no-host |
configure.yash |
258,197 |
0 |
0 |
0 |
3,736 |
0 |
851 |
81 |
osh-native-souffle |
0 |
no-host |
hello-world |
149 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
83 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,950 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
333 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host