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 |
458 |
22 |
21 |
24.43 |
1.16 |
bin-true |
no-host |
678 |
540 |
2,313 |
809 |
816 |
3.41 |
1.19 |
configure.cpython |
no-host |
14,990 |
15,056 |
28,683 |
15,252 |
15,306 |
1.91 |
1.02 |
configure.ocaml |
no-host |
3,818 |
3,732 |
4,642 |
3,818 |
3,799 |
1.22 |
1.00 |
configure.tcc |
no-host |
48 |
41 |
204 |
49 |
49 |
4.26 |
1.03 |
configure.util-linux |
no-host |
13,981 |
14,809 |
31,380 |
14,454 |
14,298 |
2.24 |
1.03 |
configure.yash |
no-host |
1,818 |
1,758 |
2,450 |
1,828 |
1,825 |
1.35 |
1.01 |
hello-world |
no-host |
2 |
1 |
57 |
3 |
3 |
37.72 |
1.86 |
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,516 |
1,093 |
23,507 |
3,163 |
3,112 |
9.34 |
1.26 |
bin-true |
no-host |
106,338 |
65,412 |
758,443 |
126,122 |
127,256 |
7.13 |
1.19 |
configure.cpython |
no-host |
2,222,162 |
2,247,335 |
6,202,089 |
2,219,244 |
2,214,571 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,747 |
391,179 |
644,469 |
413,635 |
412,468 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,555 |
5,489 |
23,871 |
6,967 |
6,870 |
3.64 |
1.06 |
configure.util-linux |
no-host |
2,097,762 |
2,259,578 |
5,345,854 |
1,996,949 |
1,995,465 |
2.55 |
0.95 |
configure.yash |
no-host |
256,551 |
244,562 |
387,686 |
257,836 |
258,311 |
1.51 |
1.01 |
hello-world |
no-host |
153 |
81 |
3,952 |
345 |
340 |
25.83 |
2.25 |
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.4 |
3,789 |
3,789 |
0 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
809 |
1 |
2 |
2.6 |
8.0 |
153,753 |
12,329 |
2,894 |
8,743 |
76,325 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,252 |
1 |
61 |
14.9 |
27.5 |
1,771,800 |
49,612 |
28,519 |
85,427 |
878,134 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,454 |
3 |
62 |
21.2 |
30.0 |
2,702,546 |
45,807 |
65,718 |
108,699 |
1,290,651 |
1,303,196 |
32,241 |
41 |
131,436 |
1 |
configure.ocaml |
no-host |
3,818 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,119 |
5,214 |
7,508 |
70,972 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,593 |
30,593 |
0 |
1,518 |
14,644 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,828 |
1 |
2 |
2.5 |
24.2 |
139,419 |
8,031 |
6,693 |
5,989 |
67,945 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.8 |
116,299 |
64,410 |
42,620 |
4,532 |
54,439 |
57,328 |
277 |
3 |
85,240 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
6.0 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
816 |
1 |
2 |
2.6 |
7.6 |
153,752 |
12,118 |
2,832 |
8,744 |
76,325 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,306 |
1 |
63 |
14.9 |
27.4 |
1,771,799 |
49,070 |
28,457 |
85,428 |
878,134 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,298 |
3 |
62 |
21.2 |
30.1 |
2,702,546 |
53,700 |
65,656 |
108,701 |
1,290,651 |
1,303,194 |
32,241 |
41 |
131,312 |
1 |
configure.ocaml |
no-host |
3,799 |
1 |
2 |
2.6 |
20.6 |
150,087 |
11,057 |
5,152 |
7,510 |
70,972 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,593 |
30,593 |
0 |
1,520 |
14,644 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,825 |
1 |
2 |
2.5 |
24.4 |
139,419 |
7,969 |
6,631 |
5,991 |
67,945 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.4 |
116,298 |
64,348 |
42,558 |
4,533 |
54,439 |
57,326 |
277 |
3 |
85,116 |
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 |
8 |
12 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
2 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
458 |
434 |
27 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
19 |
3 |
8.8 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
14 |
8 |
8.4 |
osh-native-souffle |
1 |
no-host |
bin-true |
678 |
491 |
217 |
3.0 |
bash |
9 |
no-host |
bin-true |
540 |
434 |
115 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,313 |
1,546 |
1,020 |
18.3 |
osh-cpython |
25 |
no-host |
bin-true |
809 |
551 |
274 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
816 |
590 |
240 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,990 |
9,089 |
6,297 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,056 |
9,130 |
6,356 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
28,683 |
17,518 |
13,001 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,252 |
9,024 |
6,463 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,306 |
9,065 |
6,374 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,818 |
1,639 |
1,215 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,732 |
1,512 |
1,238 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,642 |
2,233 |
1,615 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,818 |
1,653 |
1,205 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,799 |
1,651 |
1,184 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
26 |
22 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
41 |
25 |
16 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
204 |
132 |
75 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
49 |
28 |
21 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
26 |
23 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,981 |
8,747 |
5,714 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
14,809 |
9,170 |
6,134 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,380 |
21,065 |
11,386 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,454 |
8,771 |
5,876 |
30.0 |
osh-native |
35 |
no-host |
configure.util-linux |
14,298 |
8,651 |
5,852 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,818 |
1,088 |
739 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,758 |
951 |
810 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,450 |
1,549 |
942 |
24.5 |
osh-cpython |
30 |
no-host |
configure.yash |
1,828 |
1,104 |
728 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,825 |
1,099 |
729 |
24.4 |
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 |
57 |
34 |
22 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
6.0 |
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,516 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,093 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,507 |
0 |
0 |
0 |
8 |
0 |
45 |
11 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,163 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,112 |
0 |
0 |
0 |
16 |
0 |
39 |
6 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,338 |
0 |
0 |
0 |
8 |
0 |
1,997 |
110 |
bash |
9 |
no-host |
bin-true |
65,412 |
0 |
0 |
0 |
8 |
0 |
1,990 |
54 |
dash |
17 |
no-host |
bin-true |
758,443 |
0 |
0 |
0 |
8 |
0 |
2,002 |
414 |
osh-cpython |
25 |
no-host |
bin-true |
126,122 |
0 |
0 |
0 |
16 |
0 |
1,990 |
126 |
osh-native |
33 |
no-host |
bin-true |
127,256 |
0 |
0 |
0 |
16 |
0 |
1,994 |
68 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,222,162 |
0 |
0 |
0 |
32,928 |
0 |
14,525 |
1,276 |
bash |
10 |
no-host |
configure.cpython |
2,247,335 |
0 |
0 |
0 |
32,992 |
0 |
14,641 |
1,032 |
dash |
18 |
no-host |
configure.cpython |
6,202,089 |
1 |
0 |
0 |
27,512 |
0 |
13,254 |
1,152 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,219,244 |
1 |
0 |
0 |
27,520 |
0 |
13,186 |
957 |
osh-native |
34 |
no-host |
configure.cpython |
2,214,571 |
4 |
0 |
0 |
27,520 |
0 |
13,297 |
1,037 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,747 |
0 |
0 |
0 |
5,120 |
0 |
1,955 |
154 |
bash |
12 |
no-host |
configure.ocaml |
391,179 |
0 |
0 |
0 |
5,112 |
0 |
1,927 |
259 |
dash |
20 |
no-host |
configure.ocaml |
644,469 |
0 |
0 |
0 |
5,112 |
0 |
1,850 |
189 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,635 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
176 |
osh-native |
36 |
no-host |
configure.ocaml |
412,468 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
160 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,555 |
0 |
0 |
0 |
104 |
0 |
48 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,489 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
23,871 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,967 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,870 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,097,762 |
1 |
0 |
0 |
42,400 |
0 |
18,584 |
1,019 |
bash |
11 |
no-host |
configure.util-linux |
2,259,578 |
3 |
0 |
0 |
42,584 |
0 |
17,447 |
1,071 |
dash |
19 |
no-host |
configure.util-linux |
5,345,854 |
10 |
0 |
0 |
39,112 |
0 |
16,863 |
1,329 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,996,949 |
2 |
0 |
0 |
39,120 |
0 |
17,029 |
1,104 |
osh-native |
35 |
no-host |
configure.util-linux |
1,995,465 |
0 |
0 |
0 |
39,128 |
0 |
16,970 |
973 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,551 |
0 |
0 |
0 |
4,120 |
0 |
872 |
77 |
bash |
14 |
no-host |
configure.yash |
244,562 |
0 |
0 |
0 |
3,720 |
0 |
871 |
101 |
dash |
22 |
no-host |
configure.yash |
387,686 |
0 |
0 |
0 |
3,728 |
0 |
852 |
95 |
osh-cpython |
30 |
no-host |
configure.yash |
257,836 |
0 |
0 |
0 |
3,736 |
0 |
849 |
73 |
osh-native |
38 |
no-host |
configure.yash |
258,311 |
0 |
0 |
0 |
3,736 |
0 |
846 |
84 |
osh-native-souffle |
0 |
no-host |
hello-world |
153 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
81 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,952 |
0 |
0 |
0 |
8 |
0 |
7 |
6 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
340 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host