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 |
456 |
22 |
21 |
23.69 |
1.14 |
bin-true |
no-host |
672 |
538 |
2,286 |
810 |
804 |
3.40 |
1.20 |
configure.cpython |
no-host |
15,071 |
14,977 |
28,469 |
15,116 |
15,243 |
1.89 |
1.00 |
configure.ocaml |
no-host |
3,768 |
3,712 |
4,612 |
3,781 |
3,801 |
1.22 |
1.00 |
configure.tcc |
no-host |
49 |
41 |
201 |
48 |
48 |
4.14 |
0.99 |
configure.util-linux |
no-host |
13,928 |
14,716 |
31,166 |
14,278 |
14,220 |
2.24 |
1.03 |
configure.yash |
no-host |
1,803 |
1,748 |
2,430 |
1,805 |
1,805 |
1.35 |
1.00 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
37.59 |
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,559 |
1,134 |
23,400 |
3,183 |
3,093 |
9.14 |
1.24 |
bin-true |
no-host |
104,468 |
65,495 |
758,908 |
127,135 |
124,218 |
7.26 |
1.22 |
configure.cpython |
no-host |
2,222,318 |
2,248,220 |
6,194,736 |
2,218,725 |
2,214,758 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,496 |
391,657 |
643,564 |
412,868 |
412,930 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,566 |
5,480 |
23,937 |
6,944 |
6,905 |
3.65 |
1.06 |
configure.util-linux |
no-host |
2,091,993 |
2,264,901 |
5,356,730 |
2,003,681 |
1,996,825 |
2.56 |
0.96 |
configure.yash |
no-host |
255,043 |
244,568 |
385,929 |
258,361 |
258,244 |
1.51 |
1.01 |
hello-world |
no-host |
148 |
83 |
3,958 |
343 |
338 |
26.74 |
2.32 |
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 |
810 |
1 |
2 |
2.6 |
8.0 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,116 |
1 |
63 |
14.9 |
27.5 |
1,771,804 |
49,616 |
28,523 |
85,427 |
878,138 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,278 |
3 |
63 |
21.2 |
30.0 |
2,702,550 |
53,777 |
65,702 |
108,699 |
1,290,655 |
1,303,196 |
32,241 |
41 |
131,404 |
1 |
configure.ocaml |
no-host |
3,781 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,123 |
5,218 |
7,508 |
70,976 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,597 |
30,597 |
0 |
1,518 |
14,648 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,805 |
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 |
22 |
1 |
2 |
2.8 |
8.9 |
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 |
804 |
1 |
2 |
2.6 |
7.6 |
153,756 |
12,122 |
2,836 |
8,744 |
76,329 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,243 |
1 |
59 |
14.9 |
27.4 |
1,771,803 |
49,074 |
28,461 |
85,428 |
878,138 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,220 |
3 |
61 |
21.2 |
30.1 |
2,702,550 |
53,704 |
65,640 |
108,701 |
1,290,655 |
1,303,194 |
32,241 |
41 |
131,280 |
1 |
configure.ocaml |
no-host |
3,801 |
1 |
2 |
2.6 |
20.6 |
150,091 |
11,061 |
5,156 |
7,510 |
70,976 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,597 |
30,597 |
0 |
1,520 |
14,648 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,805 |
1 |
2 |
2.5 |
24.5 |
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 |
19 |
18 |
1 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
10 |
0 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
456 |
410 |
49 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
18 |
4 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
20 |
1 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
672 |
501 |
201 |
3.0 |
bash |
9 |
no-host |
bin-true |
538 |
403 |
142 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,286 |
1,494 |
1,048 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
810 |
565 |
263 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
804 |
580 |
238 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,071 |
9,085 |
6,388 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
14,977 |
9,018 |
6,384 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,469 |
17,064 |
13,233 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,116 |
8,928 |
6,459 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,243 |
8,874 |
6,482 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,768 |
1,565 |
1,242 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,712 |
1,517 |
1,215 |
20.4 |
dash |
20 |
no-host |
configure.ocaml |
4,612 |
2,190 |
1,634 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,781 |
1,573 |
1,244 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,801 |
1,571 |
1,268 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
29 |
20 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
41 |
22 |
19 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
201 |
144 |
60 |
19.4 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
28 |
20 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
30 |
19 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,928 |
8,570 |
5,837 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,716 |
9,017 |
6,197 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,166 |
20,728 |
11,514 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,278 |
8,611 |
5,867 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,220 |
8,687 |
5,733 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,803 |
993 |
818 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,748 |
1,004 |
749 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,430 |
1,609 |
863 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,805 |
973 |
837 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,805 |
1,056 |
753 |
24.5 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.6 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
28 |
27 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
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,559 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,134 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,400 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,183 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,093 |
0 |
0 |
0 |
16 |
0 |
39 |
6 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,468 |
0 |
0 |
0 |
8 |
0 |
1,993 |
44 |
bash |
9 |
no-host |
bin-true |
65,495 |
0 |
0 |
0 |
8 |
0 |
1,984 |
47 |
dash |
17 |
no-host |
bin-true |
758,908 |
0 |
0 |
0 |
8 |
0 |
1,994 |
320 |
osh-cpython |
25 |
no-host |
bin-true |
127,135 |
0 |
0 |
0 |
16 |
0 |
1,993 |
67 |
osh-native |
33 |
no-host |
bin-true |
124,218 |
0 |
0 |
0 |
16 |
0 |
1,992 |
77 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,222,318 |
0 |
0 |
0 |
32,928 |
0 |
14,496 |
1,010 |
bash |
10 |
no-host |
configure.cpython |
2,248,220 |
0 |
0 |
0 |
32,992 |
0 |
14,589 |
995 |
dash |
18 |
no-host |
configure.cpython |
6,194,736 |
0 |
0 |
0 |
27,512 |
0 |
13,212 |
1,268 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,218,725 |
0 |
0 |
0 |
27,520 |
0 |
13,196 |
955 |
osh-native |
34 |
no-host |
configure.cpython |
2,214,758 |
1 |
0 |
0 |
27,520 |
0 |
13,238 |
941 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,496 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
168 |
bash |
12 |
no-host |
configure.ocaml |
391,657 |
0 |
0 |
0 |
5,112 |
0 |
1,911 |
153 |
dash |
20 |
no-host |
configure.ocaml |
643,564 |
0 |
0 |
0 |
5,112 |
0 |
1,863 |
197 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,868 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
157 |
osh-native |
36 |
no-host |
configure.ocaml |
412,930 |
0 |
0 |
0 |
5,120 |
0 |
1,935 |
160 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,566 |
0 |
0 |
0 |
104 |
0 |
49 |
9 |
bash |
13 |
no-host |
configure.tcc |
5,480 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,937 |
0 |
0 |
0 |
96 |
0 |
53 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,944 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,905 |
0 |
0 |
0 |
104 |
0 |
47 |
5 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,091,993 |
0 |
0 |
0 |
42,400 |
0 |
18,636 |
1,319 |
bash |
11 |
no-host |
configure.util-linux |
2,264,901 |
0 |
0 |
0 |
42,592 |
0 |
17,478 |
1,028 |
dash |
19 |
no-host |
configure.util-linux |
5,356,730 |
4 |
0 |
0 |
39,112 |
0 |
16,972 |
1,050 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,003,681 |
2 |
0 |
0 |
39,128 |
0 |
16,975 |
1,109 |
osh-native |
35 |
no-host |
configure.util-linux |
1,996,825 |
0 |
0 |
0 |
39,136 |
0 |
17,027 |
962 |
osh-native-souffle |
6 |
no-host |
configure.yash |
255,043 |
0 |
0 |
0 |
4,120 |
0 |
869 |
77 |
bash |
14 |
no-host |
configure.yash |
244,568 |
0 |
0 |
0 |
3,720 |
0 |
864 |
64 |
dash |
22 |
no-host |
configure.yash |
385,929 |
0 |
0 |
0 |
3,728 |
0 |
852 |
82 |
osh-cpython |
30 |
no-host |
configure.yash |
258,361 |
0 |
0 |
0 |
3,736 |
0 |
849 |
96 |
osh-native |
38 |
no-host |
configure.yash |
258,244 |
0 |
0 |
0 |
3,744 |
0 |
848 |
86 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
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,958 |
0 |
0 |
0 |
8 |
0 |
7 |
7 |
osh-cpython |
24 |
no-host |
hello-world |
343 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host