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 |
465 |
22 |
21 |
23.84 |
1.13 |
bin-true |
no-host |
675 |
544 |
2,299 |
809 |
804 |
3.41 |
1.20 |
configure.cpython |
no-host |
15,172 |
15,239 |
28,831 |
15,328 |
15,516 |
1.90 |
1.01 |
configure.ocaml |
no-host |
3,804 |
3,757 |
4,671 |
3,825 |
3,847 |
1.23 |
1.01 |
configure.tcc |
no-host |
49 |
41 |
204 |
48 |
48 |
4.21 |
1.00 |
configure.util-linux |
no-host |
14,073 |
14,939 |
31,642 |
14,377 |
14,435 |
2.25 |
1.02 |
configure.yash |
no-host |
1,829 |
1,773 |
2,490 |
1,850 |
1,839 |
1.36 |
1.01 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.49 |
1.96 |
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,546 |
1,135 |
23,671 |
3,185 |
3,065 |
9.30 |
1.25 |
bin-true |
no-host |
107,383 |
66,438 |
777,664 |
126,241 |
124,254 |
7.24 |
1.18 |
configure.cpython |
no-host |
2,221,240 |
2,252,073 |
6,207,020 |
2,223,710 |
2,202,183 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,804 |
391,211 |
647,194 |
413,191 |
412,675 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,561 |
5,472 |
24,062 |
6,961 |
6,898 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,098,828 |
2,262,258 |
5,383,121 |
1,995,946 |
1,992,911 |
2.56 |
0.95 |
configure.yash |
no-host |
255,813 |
245,148 |
389,578 |
257,944 |
257,473 |
1.52 |
1.01 |
hello-world |
no-host |
152 |
83 |
3,946 |
345 |
334 |
25.96 |
2.27 |
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.0 |
3,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
809 |
1 |
2 |
2.6 |
8.3 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,328 |
1 |
64 |
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,377 |
3 |
61 |
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,825 |
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 |
48 |
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,850 |
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 |
9.0 |
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.8 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
804 |
1 |
2 |
2.6 |
7.6 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,516 |
1 |
62 |
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,435 |
3 |
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,847 |
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,839 |
1 |
2 |
2.5 |
24.5 |
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.5 |
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 |
12 |
8 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
9 |
1 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
465 |
414 |
54 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
21 |
2 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
15 |
6 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
675 |
509 |
198 |
2.9 |
bash |
9 |
no-host |
bin-true |
544 |
427 |
127 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,299 |
1,558 |
1,002 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
809 |
580 |
245 |
8.3 |
osh-native |
33 |
no-host |
bin-true |
804 |
564 |
254 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,172 |
9,113 |
6,467 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,239 |
9,013 |
6,653 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
28,831 |
17,730 |
12,969 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,328 |
9,037 |
6,565 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,516 |
9,027 |
6,572 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,804 |
1,649 |
1,195 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,757 |
1,611 |
1,163 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,671 |
2,242 |
1,639 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,825 |
1,608 |
1,256 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,847 |
1,620 |
1,264 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
34 |
15 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
32 |
10 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
204 |
144 |
64 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
17 |
31 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
34 |
15 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,073 |
8,863 |
5,690 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,939 |
8,978 |
6,451 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,642 |
21,120 |
11,616 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,377 |
8,734 |
5,843 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,435 |
8,791 |
5,846 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,829 |
1,055 |
782 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,773 |
1,008 |
768 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,490 |
1,554 |
978 |
24.1 |
osh-cpython |
30 |
no-host |
configure.yash |
1,850 |
1,038 |
816 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,839 |
1,063 |
780 |
24.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
32 |
24 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.0 |
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,546 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,135 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,671 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,185 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,065 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,383 |
0 |
0 |
0 |
8 |
0 |
1,990 |
81 |
bash |
9 |
no-host |
bin-true |
66,438 |
0 |
0 |
0 |
8 |
0 |
1,992 |
42 |
dash |
17 |
no-host |
bin-true |
777,664 |
0 |
0 |
0 |
8 |
0 |
1,997 |
221 |
osh-cpython |
25 |
no-host |
bin-true |
126,241 |
0 |
0 |
0 |
16 |
0 |
1,982 |
39 |
osh-native |
33 |
no-host |
bin-true |
124,254 |
0 |
0 |
0 |
16 |
0 |
1,988 |
79 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,221,240 |
1 |
0 |
0 |
32,928 |
0 |
14,545 |
1,021 |
bash |
10 |
no-host |
configure.cpython |
2,252,073 |
1 |
0 |
0 |
32,992 |
0 |
14,656 |
1,052 |
dash |
18 |
no-host |
configure.cpython |
6,207,020 |
0 |
0 |
0 |
27,512 |
0 |
13,224 |
1,215 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,223,710 |
0 |
0 |
0 |
27,520 |
0 |
13,225 |
996 |
osh-native |
34 |
no-host |
configure.cpython |
2,202,183 |
0 |
0 |
0 |
27,520 |
0 |
13,228 |
995 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,804 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
154 |
bash |
12 |
no-host |
configure.ocaml |
391,211 |
0 |
0 |
0 |
5,112 |
0 |
1,858 |
145 |
dash |
20 |
no-host |
configure.ocaml |
647,194 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
164 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,191 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
173 |
osh-native |
36 |
no-host |
configure.ocaml |
412,675 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
235 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,561 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,472 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
dash |
21 |
no-host |
configure.tcc |
24,062 |
0 |
0 |
0 |
96 |
0 |
53 |
13 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,961 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,898 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,098,828 |
0 |
0 |
0 |
42,400 |
0 |
18,587 |
916 |
bash |
11 |
no-host |
configure.util-linux |
2,262,258 |
1 |
0 |
0 |
42,584 |
0 |
17,420 |
1,047 |
dash |
19 |
no-host |
configure.util-linux |
5,383,121 |
5 |
0 |
0 |
39,120 |
0 |
16,952 |
1,159 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,995,946 |
1 |
0 |
0 |
39,120 |
0 |
16,922 |
911 |
osh-native |
35 |
no-host |
configure.util-linux |
1,992,911 |
1 |
0 |
0 |
39,128 |
0 |
16,949 |
954 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,813 |
0 |
0 |
0 |
4,120 |
0 |
869 |
154 |
bash |
14 |
no-host |
configure.yash |
245,148 |
0 |
0 |
0 |
3,720 |
0 |
868 |
76 |
dash |
22 |
no-host |
configure.yash |
389,578 |
0 |
0 |
0 |
3,728 |
0 |
854 |
90 |
osh-cpython |
30 |
no-host |
configure.yash |
257,944 |
0 |
0 |
0 |
3,736 |
0 |
848 |
75 |
osh-native |
38 |
no-host |
configure.yash |
257,473 |
0 |
0 |
0 |
3,736 |
0 |
848 |
75 |
osh-native-souffle |
0 |
no-host |
hello-world |
152 |
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,946 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
334 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host