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 |
494 |
23 |
21 |
24.60 |
1.16 |
bin-true |
no-host |
715 |
558 |
2,395 |
837 |
826 |
3.35 |
1.17 |
configure.cpython |
no-host |
16,341 |
15,869 |
30,896 |
16,106 |
16,743 |
1.89 |
0.99 |
configure.ocaml |
no-host |
3,930 |
4,041 |
4,889 |
3,962 |
4,018 |
1.24 |
1.01 |
configure.tcc |
no-host |
51 |
43 |
206 |
49 |
50 |
4.05 |
0.97 |
configure.util-linux |
no-host |
14,922 |
15,658 |
33,994 |
15,289 |
15,121 |
2.28 |
1.02 |
configure.yash |
no-host |
1,965 |
1,833 |
2,581 |
1,901 |
1,884 |
1.31 |
0.97 |
hello-world |
no-host |
2 |
1 |
59 |
3 |
3 |
36.11 |
1.81 |
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,517 |
1,137 |
23,782 |
3,155 |
3,081 |
9.45 |
1.25 |
bin-true |
no-host |
106,440 |
66,420 |
769,624 |
127,177 |
123,166 |
7.23 |
1.19 |
configure.cpython |
no-host |
2,216,717 |
2,243,480 |
6,266,827 |
2,226,143 |
2,211,225 |
2.83 |
1.00 |
configure.ocaml |
no-host |
410,665 |
390,267 |
648,218 |
412,944 |
411,894 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,530 |
5,485 |
24,044 |
6,939 |
6,885 |
3.68 |
1.06 |
configure.util-linux |
no-host |
2,095,790 |
2,260,029 |
5,412,890 |
1,994,992 |
1,993,721 |
2.58 |
0.95 |
configure.yash |
no-host |
256,643 |
244,456 |
388,036 |
257,614 |
258,137 |
1.51 |
1.00 |
hello-world |
no-host |
153 |
82 |
3,956 |
342 |
334 |
25.86 |
2.24 |
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.2 |
3,790 |
3,790 |
0 |
694 |
1,862 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
837 |
1 |
2 |
2.6 |
8.4 |
153,754 |
12,330 |
2,895 |
8,743 |
76,326 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,106 |
2 |
68 |
14.9 |
27.3 |
1,773,988 |
49,869 |
28,520 |
85,415 |
880,352 |
808,221 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,289 |
3 |
67 |
21.2 |
30.1 |
2,704,717 |
53,774 |
65,699 |
108,691 |
1,292,840 |
1,303,186 |
32,239 |
41 |
131,398 |
1 |
configure.ocaml |
no-host |
3,962 |
1 |
2 |
2.6 |
20.6 |
150,088 |
11,120 |
5,215 |
7,508 |
70,973 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.4 |
30,594 |
30,594 |
0 |
1,518 |
14,645 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,901 |
1 |
2 |
2.5 |
24.4 |
139,423 |
8,032 |
6,694 |
5,989 |
67,949 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
8.9 |
116,300 |
64,411 |
42,621 |
4,532 |
54,440 |
57,328 |
277 |
3 |
85,242 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.8 |
3,789 |
3,789 |
0 |
695 |
1,862 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
826 |
1 |
2 |
2.6 |
7.6 |
153,753 |
12,119 |
2,833 |
8,744 |
76,326 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,743 |
2 |
69 |
14.9 |
27.4 |
1,773,987 |
49,071 |
28,458 |
85,416 |
880,352 |
808,219 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,121 |
3 |
67 |
21.2 |
30.1 |
2,704,826 |
53,701 |
65,637 |
108,723 |
1,292,876 |
1,303,227 |
32,242 |
41 |
131,274 |
1 |
configure.ocaml |
no-host |
4,018 |
1 |
2 |
2.6 |
20.6 |
150,088 |
11,058 |
5,153 |
7,510 |
70,973 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.4 |
30,594 |
30,594 |
0 |
1,520 |
14,645 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,884 |
1 |
2 |
2.5 |
24.2 |
139,423 |
7,970 |
6,632 |
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,299 |
64,349 |
42,559 |
4,533 |
54,440 |
57,326 |
277 |
3 |
85,118 |
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 |
11 |
10 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
7 |
3 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
494 |
451 |
46 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
16 |
8 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
13 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
715 |
513 |
233 |
3.0 |
bash |
9 |
no-host |
bin-true |
558 |
433 |
137 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,395 |
1,548 |
1,128 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
837 |
574 |
275 |
8.4 |
osh-native |
33 |
no-host |
bin-true |
826 |
586 |
253 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
16,341 |
9,702 |
7,028 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,869 |
9,546 |
6,755 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
30,896 |
18,316 |
14,624 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
16,106 |
9,370 |
6,977 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
16,743 |
9,563 |
7,024 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,930 |
1,640 |
1,331 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
4,041 |
1,693 |
1,357 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,889 |
2,433 |
1,677 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,962 |
1,753 |
1,247 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
4,018 |
1,690 |
1,365 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
51 |
30 |
22 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
31 |
12 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
206 |
149 |
61 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
34 |
16 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
37 |
13 |
19.4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,922 |
9,309 |
6,091 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,658 |
9,513 |
6,639 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
33,994 |
22,340 |
12,852 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,289 |
9,164 |
6,311 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
15,121 |
8,895 |
6,402 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,965 |
1,125 |
849 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,833 |
1,013 |
823 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,581 |
1,617 |
1,011 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,901 |
1,031 |
871 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,884 |
1,062 |
827 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
59 |
32 |
27 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
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,517 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,137 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,782 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,155 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,081 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,440 |
0 |
0 |
0 |
8 |
0 |
1,992 |
101 |
bash |
9 |
no-host |
bin-true |
66,420 |
0 |
0 |
0 |
8 |
0 |
1,980 |
28 |
dash |
17 |
no-host |
bin-true |
769,624 |
0 |
0 |
0 |
8 |
0 |
1,992 |
151 |
osh-cpython |
25 |
no-host |
bin-true |
127,177 |
0 |
0 |
0 |
16 |
0 |
1,983 |
47 |
osh-native |
33 |
no-host |
bin-true |
123,166 |
0 |
0 |
0 |
16 |
0 |
1,986 |
86 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,216,717 |
0 |
0 |
0 |
32,928 |
0 |
14,437 |
1,049 |
bash |
10 |
no-host |
configure.cpython |
2,243,480 |
0 |
0 |
0 |
32,992 |
0 |
14,671 |
1,065 |
dash |
18 |
no-host |
configure.cpython |
6,266,827 |
0 |
0 |
0 |
27,512 |
0 |
13,175 |
1,202 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,226,143 |
0 |
0 |
0 |
27,520 |
0 |
13,215 |
987 |
osh-native |
34 |
no-host |
configure.cpython |
2,211,225 |
0 |
0 |
0 |
27,520 |
0 |
13,204 |
958 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,665 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
131 |
bash |
12 |
no-host |
configure.ocaml |
390,267 |
0 |
0 |
0 |
5,112 |
0 |
1,876 |
144 |
dash |
20 |
no-host |
configure.ocaml |
648,218 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
183 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,944 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
146 |
osh-native |
36 |
no-host |
configure.ocaml |
411,894 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
214 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,530 |
0 |
0 |
0 |
104 |
0 |
49 |
0 |
bash |
13 |
no-host |
configure.tcc |
5,485 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
24,044 |
0 |
0 |
0 |
96 |
0 |
53 |
8 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,939 |
0 |
0 |
0 |
104 |
0 |
47 |
6 |
osh-native |
37 |
no-host |
configure.tcc |
6,885 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,095,790 |
0 |
0 |
0 |
42,400 |
0 |
18,558 |
1,011 |
bash |
11 |
no-host |
configure.util-linux |
2,260,029 |
1 |
0 |
0 |
42,592 |
0 |
17,356 |
1,016 |
dash |
19 |
no-host |
configure.util-linux |
5,412,890 |
1 |
0 |
0 |
39,120 |
0 |
16,933 |
1,197 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,994,992 |
0 |
0 |
0 |
39,128 |
0 |
16,958 |
1,020 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,721 |
2 |
0 |
0 |
39,152 |
0 |
16,990 |
987 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,643 |
0 |
0 |
0 |
4,120 |
0 |
867 |
85 |
bash |
14 |
no-host |
configure.yash |
244,456 |
0 |
0 |
0 |
3,720 |
0 |
865 |
71 |
dash |
22 |
no-host |
configure.yash |
388,036 |
0 |
0 |
0 |
3,728 |
0 |
855 |
88 |
osh-cpython |
30 |
no-host |
configure.yash |
257,614 |
0 |
0 |
0 |
3,736 |
0 |
845 |
81 |
osh-native |
38 |
no-host |
configure.yash |
258,137 |
0 |
0 |
0 |
3,736 |
0 |
847 |
73 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
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,956 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
334 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host