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 |
473 |
22 |
21 |
24.83 |
1.14 |
bin-true |
no-host |
674 |
546 |
2,306 |
810 |
807 |
3.42 |
1.20 |
configure.cpython |
no-host |
15,146 |
15,175 |
29,034 |
15,379 |
15,456 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,837 |
3,749 |
4,704 |
3,844 |
3,853 |
1.23 |
1.00 |
configure.tcc |
no-host |
48 |
42 |
205 |
49 |
49 |
4.28 |
1.02 |
configure.util-linux |
no-host |
14,051 |
14,982 |
31,981 |
14,539 |
14,411 |
2.28 |
1.03 |
configure.yash |
no-host |
1,843 |
1,790 |
2,510 |
1,837 |
1,836 |
1.36 |
1.00 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
38.00 |
1.88 |
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,527 |
1,106 |
23,775 |
3,162 |
3,116 |
9.41 |
1.25 |
bin-true |
no-host |
104,356 |
66,456 |
766,356 |
126,143 |
125,230 |
7.34 |
1.21 |
configure.cpython |
no-host |
2,222,289 |
2,238,813 |
6,225,332 |
2,225,171 |
2,203,794 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,452 |
390,719 |
646,542 |
413,261 |
412,665 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,569 |
5,475 |
24,086 |
6,962 |
6,921 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,101,327 |
2,264,023 |
5,376,281 |
1,994,470 |
1,990,621 |
2.56 |
0.95 |
configure.yash |
no-host |
256,610 |
244,298 |
387,584 |
257,801 |
257,638 |
1.51 |
1.00 |
hello-world |
no-host |
155 |
85 |
3,939 |
345 |
335 |
25.41 |
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.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 |
78,327 |
66,676 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,379 |
1 |
61 |
14.9 |
27.3 |
1,771,747 |
49,125 |
28,512 |
85,415 |
908,079 |
778,253 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,539 |
3 |
61 |
21.2 |
30.3 |
2,702,513 |
45,898 |
65,711 |
108,691 |
1,320,585 |
1,273,237 |
32,239 |
41 |
131,422 |
1 |
configure.ocaml |
no-host |
3,844 |
1 |
2 |
2.6 |
20.4 |
150,080 |
11,112 |
5,207 |
7,508 |
71,612 |
70,960 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,518 |
14,782 |
14,286 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,837 |
1 |
2 |
2.5 |
24.4 |
139,412 |
8,024 |
6,686 |
5,989 |
70,287 |
63,136 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,292 |
64,403 |
42,613 |
4,532 |
54,527 |
57,233 |
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 |
807 |
1 |
2 |
2.6 |
7.6 |
153,745 |
12,111 |
2,825 |
8,744 |
78,327 |
66,674 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,456 |
1 |
60 |
14.9 |
27.3 |
1,771,746 |
44,577 |
28,450 |
85,416 |
908,079 |
778,251 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,411 |
3 |
60 |
21.2 |
30.3 |
2,702,513 |
53,693 |
65,649 |
108,693 |
1,320,585 |
1,273,235 |
32,239 |
41 |
131,298 |
1 |
configure.ocaml |
no-host |
3,853 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
71,612 |
70,958 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,520 |
14,782 |
14,284 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,836 |
1 |
2 |
2.5 |
24.5 |
139,412 |
7,962 |
6,624 |
5,991 |
70,287 |
63,134 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.8 |
116,291 |
64,341 |
42,551 |
4,533 |
54,527 |
57,231 |
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 |
13 |
6 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
473 |
426 |
49 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
15 |
7 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
16 |
5 |
8.8 |
osh-native-souffle |
1 |
no-host |
bin-true |
674 |
494 |
209 |
2.9 |
bash |
9 |
no-host |
bin-true |
546 |
421 |
134 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,306 |
1,553 |
1,009 |
18.2 |
osh-cpython |
25 |
no-host |
bin-true |
810 |
582 |
244 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
807 |
581 |
242 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,146 |
9,186 |
6,345 |
27.1 |
bash |
10 |
no-host |
configure.cpython |
15,175 |
9,067 |
6,511 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,034 |
17,708 |
13,187 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,379 |
9,238 |
6,384 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,456 |
8,986 |
6,580 |
27.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,837 |
1,608 |
1,261 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,749 |
1,541 |
1,224 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,704 |
2,291 |
1,627 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,844 |
1,538 |
1,345 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,853 |
1,611 |
1,280 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
25 |
23 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
26 |
16 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
205 |
134 |
75 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
31 |
18 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
35 |
14 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,051 |
8,813 |
5,704 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,982 |
9,264 |
6,183 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
31,981 |
21,600 |
11,486 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,539 |
8,552 |
6,164 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,411 |
8,636 |
5,955 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,843 |
1,083 |
767 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,790 |
1,033 |
759 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,510 |
1,585 |
967 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,837 |
1,051 |
790 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,836 |
1,089 |
750 |
24.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
58 |
33 |
25 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
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,527 |
0 |
0 |
0 |
16 |
0 |
40 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,106 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,775 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,162 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,116 |
0 |
0 |
0 |
16 |
0 |
39 |
6 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,356 |
0 |
0 |
0 |
8 |
0 |
1,989 |
45 |
bash |
9 |
no-host |
bin-true |
66,456 |
0 |
0 |
0 |
8 |
0 |
1,986 |
50 |
dash |
17 |
no-host |
bin-true |
766,356 |
0 |
0 |
0 |
8 |
0 |
2,000 |
300 |
osh-cpython |
25 |
no-host |
bin-true |
126,143 |
0 |
0 |
0 |
16 |
0 |
1,995 |
53 |
osh-native |
33 |
no-host |
bin-true |
125,230 |
0 |
0 |
0 |
16 |
0 |
1,986 |
68 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,222,289 |
1 |
0 |
0 |
32,928 |
0 |
14,560 |
984 |
bash |
10 |
no-host |
configure.cpython |
2,238,813 |
0 |
0 |
0 |
32,992 |
0 |
14,607 |
916 |
dash |
18 |
no-host |
configure.cpython |
6,225,332 |
0 |
0 |
0 |
27,512 |
0 |
13,220 |
1,170 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,225,171 |
0 |
0 |
0 |
27,520 |
0 |
13,210 |
1,019 |
osh-native |
34 |
no-host |
configure.cpython |
2,203,794 |
0 |
0 |
0 |
27,520 |
0 |
13,180 |
891 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,452 |
0 |
0 |
0 |
5,120 |
0 |
1,960 |
160 |
bash |
12 |
no-host |
configure.ocaml |
390,719 |
0 |
0 |
0 |
5,112 |
0 |
1,870 |
128 |
dash |
20 |
no-host |
configure.ocaml |
646,542 |
1 |
0 |
0 |
5,112 |
0 |
1,860 |
156 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,261 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
160 |
osh-native |
36 |
no-host |
configure.ocaml |
412,665 |
0 |
0 |
0 |
5,120 |
0 |
1,922 |
230 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,569 |
0 |
0 |
0 |
104 |
0 |
49 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,475 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,086 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,962 |
0 |
0 |
0 |
104 |
0 |
46 |
11 |
osh-native |
37 |
no-host |
configure.tcc |
6,921 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,101,327 |
0 |
0 |
0 |
42,400 |
0 |
18,552 |
1,021 |
bash |
11 |
no-host |
configure.util-linux |
2,264,023 |
0 |
0 |
0 |
42,584 |
0 |
17,423 |
1,070 |
dash |
19 |
no-host |
configure.util-linux |
5,376,281 |
4 |
0 |
0 |
39,112 |
0 |
16,996 |
1,090 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,994,470 |
0 |
0 |
0 |
39,120 |
0 |
16,957 |
946 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,621 |
1 |
0 |
0 |
39,128 |
0 |
16,976 |
973 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,610 |
0 |
0 |
0 |
4,120 |
0 |
869 |
76 |
bash |
14 |
no-host |
configure.yash |
244,298 |
0 |
0 |
0 |
3,720 |
0 |
868 |
80 |
dash |
22 |
no-host |
configure.yash |
387,584 |
0 |
0 |
0 |
3,728 |
0 |
851 |
92 |
osh-cpython |
30 |
no-host |
configure.yash |
257,801 |
0 |
0 |
0 |
3,736 |
0 |
846 |
78 |
osh-native |
38 |
no-host |
configure.yash |
257,638 |
0 |
0 |
0 |
3,736 |
0 |
851 |
76 |
osh-native-souffle |
0 |
no-host |
hello-world |
155 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
85 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,939 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
335 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host