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 |
459 |
22 |
21 |
23.77 |
1.14 |
bin-true |
no-host |
679 |
544 |
2,315 |
810 |
803 |
3.41 |
1.19 |
configure.cpython |
no-host |
15,004 |
15,100 |
28,610 |
15,178 |
15,332 |
1.91 |
1.01 |
configure.ocaml |
no-host |
3,776 |
3,732 |
4,636 |
3,807 |
3,812 |
1.23 |
1.01 |
configure.tcc |
no-host |
47 |
42 |
204 |
49 |
48 |
4.31 |
1.03 |
configure.util-linux |
no-host |
13,917 |
14,837 |
31,314 |
14,287 |
14,249 |
2.25 |
1.03 |
configure.yash |
no-host |
1,823 |
1,756 |
2,457 |
1,816 |
1,819 |
1.35 |
1.00 |
hello-world |
no-host |
2 |
1 |
56 |
3 |
3 |
35.85 |
1.83 |
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,549 |
1,146 |
23,635 |
3,168 |
3,087 |
9.27 |
1.24 |
bin-true |
no-host |
104,327 |
65,461 |
769,533 |
124,215 |
124,190 |
7.38 |
1.19 |
configure.cpython |
no-host |
2,225,007 |
2,239,056 |
6,198,165 |
2,216,414 |
2,211,019 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,566 |
391,510 |
647,027 |
412,783 |
412,619 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,592 |
5,485 |
24,008 |
6,979 |
6,909 |
3.64 |
1.06 |
configure.util-linux |
no-host |
2,106,153 |
2,261,986 |
5,377,523 |
1,996,574 |
1,994,280 |
2.55 |
0.95 |
configure.yash |
no-host |
255,776 |
243,990 |
388,040 |
257,977 |
258,236 |
1.52 |
1.01 |
hello-world |
no-host |
152 |
81 |
3,950 |
342 |
336 |
25.99 |
2.25 |
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.4 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
810 |
1 |
2 |
2.6 |
8.0 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,178 |
1 |
61 |
14.9 |
27.4 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,287 |
3 |
59 |
21.2 |
30.3 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,807 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,816 |
1 |
2 |
2.5 |
24.4 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.9 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
803 |
1 |
2 |
2.6 |
7.5 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,332 |
2 |
61 |
14.9 |
27.5 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,249 |
3 |
59 |
21.2 |
30.1 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,812 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,819 |
1 |
2 |
2.5 |
24.4 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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 |
16 |
4 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
459 |
416 |
46 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
14 |
8 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
679 |
516 |
195 |
3.0 |
bash |
9 |
no-host |
bin-true |
544 |
420 |
133 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,315 |
1,521 |
1,045 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
810 |
580 |
248 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
803 |
576 |
242 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,004 |
9,064 |
6,308 |
27.5 |
bash |
10 |
no-host |
configure.cpython |
15,100 |
9,029 |
6,493 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,610 |
17,612 |
12,822 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,178 |
8,907 |
6,541 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,332 |
9,238 |
6,225 |
27.5 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,776 |
1,575 |
1,241 |
20.7 |
bash |
12 |
no-host |
configure.ocaml |
3,732 |
1,641 |
1,112 |
21.0 |
dash |
20 |
no-host |
configure.ocaml |
4,636 |
2,276 |
1,570 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,807 |
1,605 |
1,242 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,812 |
1,567 |
1,283 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
24 |
24 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
35 |
7 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
204 |
152 |
55 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
31 |
18 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
26 |
22 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,917 |
8,669 |
5,721 |
29.9 |
bash |
11 |
no-host |
configure.util-linux |
14,837 |
9,145 |
6,187 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,314 |
20,788 |
11,601 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,287 |
8,601 |
5,885 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,249 |
8,546 |
5,904 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,823 |
1,057 |
774 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,756 |
995 |
765 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,457 |
1,522 |
975 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,816 |
1,051 |
769 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,819 |
1,036 |
787 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
32 |
24 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
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,549 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,146 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,635 |
0 |
0 |
0 |
8 |
0 |
45 |
12 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,168 |
0 |
0 |
0 |
16 |
0 |
39 |
5 |
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,327 |
0 |
0 |
0 |
8 |
0 |
1,994 |
211 |
bash |
9 |
no-host |
bin-true |
65,461 |
0 |
0 |
0 |
8 |
0 |
1,986 |
54 |
dash |
17 |
no-host |
bin-true |
769,533 |
0 |
0 |
0 |
8 |
0 |
2,006 |
465 |
osh-cpython |
25 |
no-host |
bin-true |
124,215 |
0 |
0 |
0 |
16 |
0 |
1,992 |
74 |
osh-native |
33 |
no-host |
bin-true |
124,190 |
0 |
0 |
0 |
16 |
0 |
1,986 |
69 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,225,007 |
0 |
0 |
0 |
32,952 |
0 |
14,487 |
1,173 |
bash |
10 |
no-host |
configure.cpython |
2,239,056 |
0 |
0 |
0 |
32,992 |
0 |
14,603 |
1,252 |
dash |
18 |
no-host |
configure.cpython |
6,198,165 |
1 |
0 |
0 |
27,512 |
0 |
13,249 |
1,072 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,216,414 |
0 |
0 |
0 |
27,520 |
0 |
13,190 |
1,083 |
osh-native |
34 |
no-host |
configure.cpython |
2,211,019 |
0 |
0 |
0 |
27,520 |
0 |
13,253 |
1,153 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,566 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
150 |
bash |
12 |
no-host |
configure.ocaml |
391,510 |
0 |
0 |
0 |
5,112 |
0 |
1,934 |
221 |
dash |
20 |
no-host |
configure.ocaml |
647,027 |
1 |
0 |
0 |
5,112 |
0 |
1,860 |
145 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,783 |
0 |
0 |
0 |
5,120 |
0 |
1,924 |
180 |
osh-native |
36 |
no-host |
configure.ocaml |
412,619 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
144 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,592 |
0 |
0 |
0 |
104 |
0 |
48 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,485 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,008 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,979 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,909 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,106,153 |
0 |
0 |
0 |
42,400 |
0 |
18,529 |
908 |
bash |
11 |
no-host |
configure.util-linux |
2,261,986 |
2 |
0 |
0 |
42,584 |
0 |
17,437 |
1,009 |
dash |
19 |
no-host |
configure.util-linux |
5,377,523 |
18 |
0 |
0 |
39,112 |
0 |
16,989 |
1,388 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,996,574 |
0 |
0 |
0 |
39,120 |
0 |
16,980 |
914 |
osh-native |
35 |
no-host |
configure.util-linux |
1,994,280 |
2 |
0 |
0 |
39,136 |
0 |
16,973 |
906 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,776 |
0 |
0 |
0 |
4,120 |
0 |
867 |
76 |
bash |
14 |
no-host |
configure.yash |
243,990 |
0 |
0 |
0 |
3,720 |
0 |
868 |
78 |
dash |
22 |
no-host |
configure.yash |
388,040 |
0 |
0 |
0 |
3,728 |
0 |
854 |
109 |
osh-cpython |
30 |
no-host |
configure.yash |
257,977 |
0 |
0 |
0 |
3,736 |
0 |
851 |
87 |
osh-native |
38 |
no-host |
configure.yash |
258,236 |
0 |
0 |
0 |
3,736 |
0 |
846 |
76 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
dash |
16 |
no-host |
hello-world |
3,950 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
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