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 |
20 |
10 |
478 |
23 |
21 |
24.36 |
1.15 |
bin-true |
no-host |
677 |
552 |
2,362 |
813 |
819 |
3.49 |
1.20 |
configure.cpython |
no-host |
15,406 |
15,667 |
30,130 |
15,866 |
15,747 |
1.96 |
1.03 |
configure.ocaml |
no-host |
3,895 |
3,850 |
4,809 |
3,885 |
3,956 |
1.23 |
1.00 |
configure.tcc |
no-host |
49 |
43 |
206 |
50 |
49 |
4.19 |
1.01 |
configure.util-linux |
no-host |
14,345 |
15,425 |
33,001 |
14,909 |
14,847 |
2.30 |
1.04 |
configure.yash |
no-host |
1,883 |
1,861 |
2,577 |
1,890 |
1,876 |
1.37 |
1.00 |
hello-world |
no-host |
2 |
1 |
63 |
3 |
3 |
41.75 |
1.85 |
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,091 |
23,551 |
3,195 |
3,101 |
9.25 |
1.25 |
bin-true |
no-host |
106,392 |
66,424 |
765,515 |
126,137 |
124,161 |
7.20 |
1.19 |
configure.cpython |
no-host |
2,220,708 |
2,238,566 |
6,212,348 |
2,222,653 |
2,220,358 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,506 |
391,187 |
644,297 |
412,657 |
412,310 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,546 |
5,487 |
23,999 |
6,954 |
6,894 |
3.67 |
1.06 |
configure.util-linux |
no-host |
2,091,326 |
2,266,199 |
5,350,175 |
1,994,989 |
1,994,944 |
2.56 |
0.95 |
configure.yash |
no-host |
256,159 |
244,613 |
386,669 |
258,117 |
257,754 |
1.51 |
1.01 |
hello-world |
no-host |
155 |
82 |
3,954 |
340 |
337 |
25.51 |
2.19 |
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,793 |
3,793 |
0 |
694 |
1,865 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
813 |
1 |
2 |
2.6 |
7.7 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,866 |
1 |
65 |
14.9 |
27.4 |
1,771,758 |
49,616 |
28,523 |
85,415 |
878,122 |
808,221 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,909 |
3 |
64 |
21.2 |
30.1 |
2,702,524 |
53,777 |
65,702 |
108,691 |
1,290,647 |
1,303,186 |
32,239 |
41 |
131,404 |
1 |
configure.ocaml |
no-host |
3,885 |
1 |
2 |
2.6 |
20.4 |
150,091 |
11,123 |
5,218 |
7,508 |
70,976 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.4 |
30,597 |
30,597 |
0 |
1,518 |
14,648 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,890 |
1 |
2 |
2.5 |
24.4 |
139,423 |
8,035 |
6,697 |
5,989 |
67,949 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
9.0 |
116,303 |
64,414 |
42,624 |
4,532 |
54,443 |
57,328 |
277 |
3 |
85,248 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,792 |
3,792 |
0 |
695 |
1,865 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
819 |
1 |
2 |
2.6 |
7.3 |
153,756 |
12,122 |
2,836 |
8,744 |
76,329 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,747 |
1 |
64 |
14.9 |
27.4 |
1,771,757 |
49,074 |
28,461 |
85,416 |
878,122 |
808,219 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,847 |
3 |
63 |
21.2 |
30.1 |
2,702,524 |
53,704 |
65,640 |
108,693 |
1,290,647 |
1,303,184 |
32,239 |
41 |
131,280 |
1 |
configure.ocaml |
no-host |
3,956 |
1 |
2 |
2.6 |
20.7 |
150,091 |
11,061 |
5,156 |
7,510 |
70,976 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,597 |
30,597 |
0 |
1,520 |
14,648 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,876 |
1 |
2 |
2.5 |
24.4 |
139,423 |
7,973 |
6,635 |
5,991 |
67,949 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,302 |
64,352 |
42,562 |
4,533 |
54,443 |
57,326 |
277 |
3 |
85,124 |
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 |
20 |
14 |
6 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
8 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
478 |
418 |
63 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
17 |
6 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
16 |
6 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
677 |
513 |
198 |
2.9 |
bash |
9 |
no-host |
bin-true |
552 |
415 |
146 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,362 |
1,598 |
1,037 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
813 |
579 |
248 |
7.7 |
osh-native |
33 |
no-host |
bin-true |
819 |
559 |
275 |
7.3 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,406 |
9,150 |
6,666 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,667 |
9,385 |
6,686 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
30,130 |
18,100 |
13,997 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,866 |
9,268 |
6,872 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,747 |
9,166 |
6,709 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,895 |
1,622 |
1,314 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,850 |
1,581 |
1,284 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,809 |
2,315 |
1,711 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,885 |
1,616 |
1,308 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,956 |
1,685 |
1,291 |
20.7 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
34 |
15 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
21 |
23 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
206 |
163 |
46 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
26 |
24 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
32 |
18 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,345 |
8,927 |
5,887 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
15,425 |
9,331 |
6,597 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
33,001 |
21,769 |
12,383 |
30.0 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,909 |
8,874 |
6,227 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,847 |
8,961 |
6,076 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,883 |
1,107 |
785 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,861 |
1,027 |
837 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,577 |
1,620 |
1,001 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,890 |
1,085 |
809 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,876 |
1,120 |
760 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
63 |
36 |
27 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
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,546 |
0 |
0 |
0 |
16 |
0 |
41 |
3 |
bash |
15 |
no-host |
abuild-print-help |
1,091 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,551 |
0 |
0 |
0 |
8 |
0 |
45 |
10 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,195 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,101 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,392 |
0 |
0 |
0 |
8 |
0 |
1,986 |
47 |
bash |
9 |
no-host |
bin-true |
66,424 |
0 |
0 |
0 |
8 |
0 |
1,987 |
40 |
dash |
17 |
no-host |
bin-true |
765,515 |
0 |
0 |
0 |
8 |
0 |
1,996 |
191 |
osh-cpython |
25 |
no-host |
bin-true |
126,137 |
0 |
0 |
0 |
16 |
0 |
1,992 |
57 |
osh-native |
33 |
no-host |
bin-true |
124,161 |
0 |
0 |
0 |
16 |
0 |
1,985 |
60 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,220,708 |
0 |
0 |
0 |
32,928 |
0 |
14,510 |
923 |
bash |
10 |
no-host |
configure.cpython |
2,238,566 |
0 |
0 |
0 |
32,992 |
0 |
14,669 |
1,012 |
dash |
18 |
no-host |
configure.cpython |
6,212,348 |
0 |
0 |
0 |
27,512 |
0 |
13,287 |
1,166 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,222,653 |
0 |
0 |
0 |
27,520 |
0 |
13,212 |
990 |
osh-native |
34 |
no-host |
configure.cpython |
2,220,358 |
0 |
0 |
0 |
27,520 |
0 |
13,264 |
1,071 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,506 |
0 |
0 |
0 |
5,120 |
0 |
1,940 |
157 |
bash |
12 |
no-host |
configure.ocaml |
391,187 |
0 |
0 |
0 |
5,112 |
0 |
1,876 |
137 |
dash |
20 |
no-host |
configure.ocaml |
644,297 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
251 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,657 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
175 |
osh-native |
36 |
no-host |
configure.ocaml |
412,310 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
136 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,546 |
0 |
0 |
0 |
104 |
0 |
49 |
4 |
bash |
13 |
no-host |
configure.tcc |
5,487 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
23,999 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,954 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,894 |
0 |
0 |
0 |
104 |
0 |
48 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,091,326 |
1 |
0 |
0 |
42,400 |
0 |
18,555 |
1,195 |
bash |
11 |
no-host |
configure.util-linux |
2,266,199 |
1 |
0 |
0 |
42,584 |
0 |
17,386 |
1,004 |
dash |
19 |
no-host |
configure.util-linux |
5,350,175 |
8 |
0 |
0 |
39,136 |
0 |
16,967 |
1,133 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,994,989 |
3 |
0 |
0 |
39,128 |
0 |
16,986 |
923 |
osh-native |
35 |
no-host |
configure.util-linux |
1,994,944 |
0 |
0 |
0 |
39,136 |
0 |
16,944 |
995 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,159 |
0 |
0 |
0 |
4,120 |
0 |
868 |
71 |
bash |
14 |
no-host |
configure.yash |
244,613 |
0 |
0 |
0 |
3,720 |
0 |
868 |
68 |
dash |
22 |
no-host |
configure.yash |
386,669 |
0 |
0 |
0 |
3,728 |
0 |
851 |
90 |
osh-cpython |
30 |
no-host |
configure.yash |
258,117 |
0 |
0 |
0 |
3,736 |
0 |
845 |
88 |
osh-native |
38 |
no-host |
configure.yash |
257,754 |
0 |
0 |
0 |
3,736 |
0 |
848 |
75 |
osh-native-souffle |
0 |
no-host |
hello-world |
155 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,954 |
0 |
0 |
0 |
8 |
0 |
7 |
8 |
osh-cpython |
24 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host