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 |
10 |
469 |
22 |
21 |
24.60 |
1.14 |
bin-true |
no-host |
685 |
546 |
2,337 |
825 |
806 |
3.41 |
1.20 |
configure.cpython |
no-host |
15,442 |
15,458 |
29,485 |
15,593 |
15,715 |
1.91 |
1.01 |
configure.ocaml |
no-host |
3,868 |
3,842 |
4,790 |
3,874 |
3,902 |
1.24 |
1.00 |
configure.tcc |
no-host |
48 |
42 |
208 |
50 |
50 |
4.34 |
1.03 |
configure.util-linux |
no-host |
14,288 |
15,281 |
32,455 |
14,796 |
14,629 |
2.27 |
1.04 |
configure.yash |
no-host |
1,846 |
1,826 |
2,532 |
1,848 |
1,874 |
1.37 |
1.00 |
hello-world |
no-host |
2 |
1 |
62 |
3 |
3 |
40.32 |
1.84 |
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,548 |
1,108 |
23,516 |
3,158 |
3,103 |
9.23 |
1.24 |
bin-true |
no-host |
106,347 |
65,433 |
765,798 |
127,153 |
124,225 |
7.20 |
1.20 |
configure.cpython |
no-host |
2,224,656 |
2,243,658 |
6,192,426 |
2,215,377 |
2,222,549 |
2.78 |
1.00 |
configure.ocaml |
no-host |
410,616 |
391,197 |
643,872 |
413,008 |
412,481 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,593 |
5,496 |
24,042 |
6,963 |
6,894 |
3.65 |
1.06 |
configure.util-linux |
no-host |
2,094,699 |
2,258,198 |
5,355,774 |
1,998,770 |
1,991,801 |
2.56 |
0.95 |
configure.yash |
no-host |
256,611 |
245,153 |
386,497 |
257,000 |
258,054 |
1.51 |
1.00 |
hello-world |
no-host |
150 |
84 |
3,952 |
347 |
336 |
26.35 |
2.31 |
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 |
825 |
1 |
2 |
2.6 |
8.1 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,593 |
2 |
63 |
14.9 |
27.3 |
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,796 |
3 |
63 |
21.2 |
30.0 |
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,874 |
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 |
50 |
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,848 |
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 |
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 |
806 |
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,715 |
1 |
63 |
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,629 |
3 |
62 |
21.2 |
30.0 |
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,902 |
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 |
50 |
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,874 |
1 |
2 |
2.5 |
24.2 |
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 |
2 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
9 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
469 |
419 |
54 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
20 |
3 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
685 |
519 |
199 |
3.0 |
bash |
9 |
no-host |
bin-true |
546 |
420 |
136 |
1.3 |
dash |
17 |
no-host |
bin-true |
2,337 |
1,469 |
1,139 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
825 |
571 |
267 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
806 |
566 |
254 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,442 |
9,191 |
6,649 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,458 |
9,271 |
6,608 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
29,485 |
18,055 |
13,337 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,593 |
9,034 |
6,814 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,715 |
9,399 |
6,447 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,868 |
1,629 |
1,276 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,842 |
1,613 |
1,246 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,790 |
2,336 |
1,666 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,874 |
1,669 |
1,244 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,902 |
1,682 |
1,257 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
25 |
23 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
27 |
16 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
208 |
164 |
48 |
19.1 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
36 |
14 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
29 |
21 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,288 |
8,867 |
5,894 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
15,281 |
9,223 |
6,553 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,455 |
21,643 |
11,941 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,796 |
8,957 |
6,031 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,629 |
8,895 |
5,925 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,846 |
1,072 |
782 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,826 |
1,070 |
755 |
24.2 |
dash |
22 |
no-host |
configure.yash |
2,532 |
1,477 |
1,094 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,848 |
1,087 |
764 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,874 |
1,019 |
860 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
62 |
37 |
25 |
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,548 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,108 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,516 |
0 |
0 |
0 |
8 |
0 |
45 |
14 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,158 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,103 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,347 |
0 |
0 |
0 |
8 |
0 |
1,992 |
60 |
bash |
9 |
no-host |
bin-true |
65,433 |
0 |
0 |
0 |
8 |
0 |
1,988 |
43 |
dash |
17 |
no-host |
bin-true |
765,798 |
0 |
0 |
0 |
8 |
0 |
1,990 |
170 |
osh-cpython |
25 |
no-host |
bin-true |
127,153 |
0 |
0 |
0 |
16 |
0 |
1,987 |
102 |
osh-native |
33 |
no-host |
bin-true |
124,225 |
0 |
0 |
0 |
16 |
0 |
1,987 |
53 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,224,656 |
0 |
0 |
0 |
32,928 |
0 |
14,563 |
1,058 |
bash |
10 |
no-host |
configure.cpython |
2,243,658 |
0 |
0 |
0 |
32,992 |
0 |
14,673 |
967 |
dash |
18 |
no-host |
configure.cpython |
6,192,426 |
0 |
0 |
0 |
27,512 |
0 |
13,275 |
1,173 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,215,377 |
1 |
0 |
0 |
27,520 |
0 |
13,279 |
987 |
osh-native |
34 |
no-host |
configure.cpython |
2,222,549 |
0 |
0 |
0 |
27,520 |
0 |
13,305 |
1,018 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,616 |
0 |
0 |
0 |
5,120 |
0 |
1,944 |
155 |
bash |
12 |
no-host |
configure.ocaml |
391,197 |
0 |
0 |
0 |
5,112 |
0 |
1,873 |
140 |
dash |
20 |
no-host |
configure.ocaml |
643,872 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
225 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,008 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
184 |
osh-native |
36 |
no-host |
configure.ocaml |
412,481 |
0 |
0 |
0 |
5,120 |
0 |
1,936 |
145 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,593 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,496 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,042 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,963 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,894 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,094,699 |
0 |
0 |
0 |
42,400 |
0 |
18,637 |
1,030 |
bash |
11 |
no-host |
configure.util-linux |
2,258,198 |
1 |
0 |
0 |
42,584 |
0 |
17,437 |
1,169 |
dash |
19 |
no-host |
configure.util-linux |
5,355,774 |
4 |
0 |
0 |
39,136 |
0 |
17,007 |
1,113 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,998,770 |
1 |
0 |
0 |
39,120 |
0 |
17,139 |
972 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,801 |
0 |
0 |
0 |
39,136 |
0 |
16,991 |
938 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,611 |
0 |
0 |
0 |
4,120 |
0 |
870 |
86 |
bash |
14 |
no-host |
configure.yash |
245,153 |
0 |
0 |
0 |
3,720 |
0 |
867 |
97 |
dash |
22 |
no-host |
configure.yash |
386,497 |
0 |
0 |
0 |
3,728 |
0 |
852 |
88 |
osh-cpython |
30 |
no-host |
configure.yash |
257,000 |
0 |
0 |
0 |
3,736 |
0 |
852 |
70 |
osh-native |
38 |
no-host |
configure.yash |
258,054 |
0 |
0 |
0 |
3,736 |
0 |
852 |
74 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
84 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,952 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
347 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host