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 |
460 |
22 |
21 |
23.89 |
1.15 |
bin-true |
no-host |
679 |
546 |
2,295 |
822 |
806 |
3.38 |
1.21 |
configure.cpython |
no-host |
15,099 |
15,004 |
28,877 |
15,198 |
15,437 |
1.91 |
1.01 |
configure.ocaml |
no-host |
3,796 |
3,756 |
4,692 |
3,830 |
3,826 |
1.24 |
1.01 |
configure.tcc |
no-host |
47 |
41 |
201 |
49 |
48 |
4.25 |
1.03 |
configure.util-linux |
no-host |
13,885 |
14,790 |
31,351 |
14,303 |
14,402 |
2.26 |
1.03 |
configure.yash |
no-host |
1,810 |
1,770 |
2,442 |
1,853 |
1,826 |
1.35 |
1.02 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.85 |
1.95 |
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,504 |
1,086 |
23,675 |
3,169 |
3,082 |
9.45 |
1.27 |
bin-true |
no-host |
106,368 |
65,457 |
776,665 |
128,250 |
125,293 |
7.30 |
1.21 |
configure.cpython |
no-host |
2,234,002 |
2,248,221 |
6,204,426 |
2,216,643 |
2,213,743 |
2.78 |
0.99 |
configure.ocaml |
no-host |
409,864 |
391,685 |
647,227 |
413,345 |
412,502 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,543 |
5,479 |
24,066 |
6,927 |
6,916 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,102,390 |
2,258,721 |
5,397,349 |
1,988,270 |
1,986,020 |
2.57 |
0.95 |
configure.yash |
no-host |
256,771 |
245,257 |
389,103 |
258,554 |
257,304 |
1.52 |
1.01 |
hello-world |
no-host |
155 |
83 |
3,948 |
345 |
337 |
25.47 |
2.23 |
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,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
822 |
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,198 |
1 |
60 |
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,303 |
3 |
59 |
21.2 |
30.1 |
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,830 |
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,853 |
1 |
2 |
2.5 |
24.5 |
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 |
6.0 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
806 |
1 |
2 |
2.6 |
7.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,437 |
1 |
59 |
14.9 |
27.4 |
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,402 |
2 |
60 |
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,826 |
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,826 |
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 |
18 |
2 |
4.2 |
bash |
15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
460 |
419 |
44 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
15 |
7 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
13 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
679 |
496 |
215 |
2.9 |
bash |
9 |
no-host |
bin-true |
546 |
419 |
135 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,295 |
1,454 |
1,100 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
822 |
586 |
250 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
806 |
563 |
255 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,099 |
9,115 |
6,367 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,004 |
9,210 |
6,209 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
28,877 |
17,460 |
13,304 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,198 |
8,817 |
6,637 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,437 |
9,042 |
6,477 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,796 |
1,675 |
1,158 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,756 |
1,589 |
1,187 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,692 |
2,276 |
1,628 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,830 |
1,618 |
1,250 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,826 |
1,577 |
1,280 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
29 |
19 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
25 |
17 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
201 |
160 |
45 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
32 |
17 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
30 |
19 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,885 |
8,720 |
5,637 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,790 |
9,001 |
6,262 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,351 |
20,815 |
11,622 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,303 |
8,671 |
5,815 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,402 |
8,735 |
5,854 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,810 |
1,011 |
807 |
24.1 |
bash |
14 |
no-host |
configure.yash |
1,770 |
1,072 |
701 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,442 |
1,515 |
969 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,853 |
1,073 |
782 |
24.5 |
osh-native |
38 |
no-host |
configure.yash |
1,826 |
1,042 |
785 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
34 |
22 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,504 |
0 |
0 |
0 |
16 |
0 |
41 |
3 |
bash |
15 |
no-host |
abuild-print-help |
1,086 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,675 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,169 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,082 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,368 |
0 |
0 |
0 |
8 |
0 |
1,990 |
67 |
bash |
9 |
no-host |
bin-true |
65,457 |
0 |
0 |
0 |
8 |
0 |
1,984 |
61 |
dash |
17 |
no-host |
bin-true |
776,665 |
0 |
0 |
0 |
8 |
0 |
1,998 |
323 |
osh-cpython |
25 |
no-host |
bin-true |
128,250 |
0 |
0 |
0 |
16 |
0 |
1,988 |
192 |
osh-native |
33 |
no-host |
bin-true |
125,293 |
0 |
0 |
0 |
16 |
0 |
1,989 |
94 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,234,002 |
0 |
0 |
0 |
32,928 |
0 |
14,503 |
1,192 |
bash |
10 |
no-host |
configure.cpython |
2,248,221 |
0 |
0 |
0 |
32,992 |
0 |
14,645 |
1,109 |
dash |
18 |
no-host |
configure.cpython |
6,204,426 |
1 |
0 |
0 |
27,512 |
0 |
13,209 |
1,089 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,216,643 |
0 |
0 |
0 |
27,520 |
0 |
13,186 |
976 |
osh-native |
34 |
no-host |
configure.cpython |
2,213,743 |
0 |
0 |
0 |
27,520 |
0 |
13,245 |
1,066 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
409,864 |
0 |
0 |
0 |
5,120 |
0 |
1,955 |
172 |
bash |
12 |
no-host |
configure.ocaml |
391,685 |
0 |
0 |
0 |
5,112 |
0 |
1,940 |
160 |
dash |
20 |
no-host |
configure.ocaml |
647,227 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
173 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,345 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
174 |
osh-native |
36 |
no-host |
configure.ocaml |
412,502 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
166 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,543 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,479 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,066 |
0 |
0 |
0 |
96 |
0 |
53 |
9 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,927 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,916 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,102,390 |
0 |
0 |
0 |
42,400 |
0 |
18,597 |
926 |
bash |
11 |
no-host |
configure.util-linux |
2,258,721 |
1 |
0 |
0 |
42,584 |
0 |
17,433 |
1,046 |
dash |
19 |
no-host |
configure.util-linux |
5,397,349 |
12 |
0 |
0 |
39,112 |
0 |
17,153 |
1,142 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,988,270 |
0 |
0 |
0 |
39,120 |
0 |
16,942 |
931 |
osh-native |
35 |
no-host |
configure.util-linux |
1,986,020 |
1 |
0 |
0 |
39,128 |
0 |
16,983 |
1,027 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,771 |
0 |
0 |
0 |
4,120 |
0 |
868 |
77 |
bash |
14 |
no-host |
configure.yash |
245,257 |
0 |
0 |
0 |
3,720 |
0 |
865 |
88 |
dash |
22 |
no-host |
configure.yash |
389,103 |
0 |
0 |
0 |
3,728 |
0 |
852 |
82 |
osh-cpython |
30 |
no-host |
configure.yash |
258,554 |
0 |
0 |
0 |
3,736 |
0 |
847 |
84 |
osh-native |
38 |
no-host |
configure.yash |
257,304 |
0 |
0 |
0 |
3,736 |
0 |
848 |
78 |
osh-native-souffle |
0 |
no-host |
hello-world |
155 |
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,948 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
0 |
1 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host