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 |
472 |
22 |
21 |
24.65 |
1.15 |
bin-true |
no-host |
674 |
542 |
2,292 |
816 |
806 |
3.40 |
1.21 |
configure.cpython |
no-host |
14,997 |
15,098 |
28,861 |
15,258 |
15,524 |
1.92 |
1.02 |
configure.ocaml |
no-host |
3,800 |
3,756 |
4,653 |
3,829 |
3,819 |
1.22 |
1.01 |
configure.tcc |
no-host |
47 |
42 |
202 |
48 |
48 |
4.28 |
1.02 |
configure.util-linux |
no-host |
13,993 |
14,868 |
31,431 |
14,372 |
14,394 |
2.25 |
1.03 |
configure.yash |
no-host |
1,815 |
1,783 |
2,460 |
1,828 |
1,828 |
1.36 |
1.01 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
37.99 |
1.91 |
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,542 |
1,126 |
23,561 |
3,179 |
3,103 |
9.27 |
1.25 |
bin-true |
no-host |
104,372 |
65,427 |
764,645 |
126,123 |
125,243 |
7.33 |
1.21 |
configure.cpython |
no-host |
2,223,291 |
2,242,318 |
6,208,980 |
2,223,743 |
2,221,228 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,705 |
390,974 |
644,185 |
413,233 |
412,614 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,536 |
5,460 |
23,943 |
6,983 |
6,914 |
3.66 |
1.07 |
configure.util-linux |
no-host |
2,095,208 |
2,262,267 |
5,354,941 |
1,995,218 |
1,993,068 |
2.56 |
0.95 |
configure.yash |
no-host |
256,563 |
244,798 |
386,779 |
258,389 |
258,173 |
1.51 |
1.01 |
hello-world |
no-host |
151 |
82 |
3,949 |
342 |
340 |
26.15 |
2.26 |
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,789 |
3,789 |
0 |
694 |
1,861 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
816 |
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,258 |
1 |
63 |
14.9 |
27.4 |
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,372 |
3 |
62 |
21.2 |
30.1 |
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,829 |
1 |
2 |
2.6 |
20.4 |
150,087 |
11,119 |
5,214 |
7,508 |
70,972 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
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.4 |
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.9 |
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 |
5.9 |
3,788 |
3,788 |
0 |
695 |
1,861 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
806 |
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,524 |
2 |
66 |
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,394 |
3 |
63 |
21.2 |
30.3 |
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,819 |
1 |
2 |
2.6 |
20.4 |
150,087 |
11,057 |
5,152 |
7,510 |
70,972 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
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,828 |
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.7 |
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 |
17 |
3 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
10 |
6 |
4 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
472 |
424 |
50 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
19 |
3 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
19 |
3 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
674 |
501 |
201 |
2.9 |
bash |
9 |
no-host |
bin-true |
542 |
417 |
135 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,292 |
1,513 |
1,040 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
816 |
578 |
251 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
806 |
556 |
264 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,997 |
9,029 |
6,366 |
27.3 |
bash |
10 |
no-host |
configure.cpython |
15,098 |
9,124 |
6,400 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,861 |
17,656 |
13,062 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,258 |
9,065 |
6,466 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,524 |
9,050 |
6,490 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,800 |
1,623 |
1,216 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,756 |
1,611 |
1,162 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,653 |
2,161 |
1,704 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,829 |
1,606 |
1,261 |
20.4 |
osh-native |
36 |
no-host |
configure.ocaml |
3,819 |
1,610 |
1,245 |
20.4 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
36 |
12 |
19.4 |
bash |
13 |
no-host |
configure.tcc |
42 |
15 |
27 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
202 |
134 |
72 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
29 |
20 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
33 |
16 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,993 |
8,894 |
5,566 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,868 |
9,114 |
6,247 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
31,431 |
20,832 |
11,685 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,372 |
8,692 |
5,876 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,394 |
8,741 |
5,850 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,815 |
1,056 |
767 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,783 |
1,021 |
764 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,460 |
1,457 |
1,044 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,828 |
1,072 |
759 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,828 |
1,013 |
814 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
2 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
16 |
no-host |
hello-world |
57 |
37 |
20 |
18.3 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,542 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,126 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,561 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,179 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,103 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,372 |
0 |
0 |
0 |
8 |
0 |
1,997 |
65 |
bash |
9 |
no-host |
bin-true |
65,427 |
0 |
0 |
0 |
8 |
0 |
1,986 |
59 |
dash |
17 |
no-host |
bin-true |
764,645 |
0 |
0 |
0 |
8 |
0 |
1,995 |
207 |
osh-cpython |
25 |
no-host |
bin-true |
126,123 |
0 |
0 |
0 |
16 |
0 |
1,989 |
62 |
osh-native |
33 |
no-host |
bin-true |
125,243 |
0 |
0 |
0 |
16 |
0 |
1,988 |
62 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,223,291 |
1 |
0 |
0 |
32,928 |
0 |
14,554 |
1,095 |
bash |
10 |
no-host |
configure.cpython |
2,242,318 |
0 |
0 |
0 |
32,992 |
0 |
14,567 |
927 |
dash |
18 |
no-host |
configure.cpython |
6,208,980 |
0 |
0 |
0 |
27,512 |
0 |
13,139 |
1,100 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,223,743 |
0 |
0 |
0 |
27,520 |
0 |
13,171 |
997 |
osh-native |
34 |
no-host |
configure.cpython |
2,221,228 |
0 |
0 |
0 |
27,520 |
0 |
13,286 |
964 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,705 |
0 |
0 |
0 |
5,120 |
0 |
1,958 |
170 |
bash |
12 |
no-host |
configure.ocaml |
390,974 |
0 |
0 |
0 |
5,112 |
0 |
1,872 |
167 |
dash |
20 |
no-host |
configure.ocaml |
644,185 |
0 |
0 |
0 |
5,112 |
0 |
1,861 |
189 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,233 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
152 |
osh-native |
36 |
no-host |
configure.ocaml |
412,614 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
159 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,536 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,460 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
dash |
21 |
no-host |
configure.tcc |
23,943 |
0 |
0 |
0 |
96 |
0 |
53 |
8 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,983 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native |
37 |
no-host |
configure.tcc |
6,914 |
0 |
0 |
0 |
104 |
0 |
47 |
2 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,095,208 |
1 |
0 |
0 |
42,400 |
0 |
18,602 |
1,031 |
bash |
11 |
no-host |
configure.util-linux |
2,262,267 |
0 |
0 |
0 |
42,584 |
0 |
17,468 |
1,059 |
dash |
19 |
no-host |
configure.util-linux |
5,354,941 |
12 |
0 |
0 |
39,112 |
0 |
17,021 |
1,185 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,995,218 |
0 |
0 |
0 |
39,128 |
0 |
16,976 |
923 |
osh-native |
35 |
no-host |
configure.util-linux |
1,993,068 |
0 |
0 |
0 |
39,136 |
0 |
16,987 |
943 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,563 |
0 |
0 |
0 |
4,120 |
0 |
866 |
75 |
bash |
14 |
no-host |
configure.yash |
244,798 |
0 |
0 |
0 |
3,720 |
0 |
871 |
75 |
dash |
22 |
no-host |
configure.yash |
386,779 |
0 |
0 |
0 |
3,728 |
0 |
852 |
83 |
osh-cpython |
30 |
no-host |
configure.yash |
258,389 |
0 |
0 |
0 |
3,736 |
0 |
846 |
89 |
osh-native |
38 |
no-host |
configure.yash |
258,173 |
0 |
0 |
0 |
3,736 |
0 |
846 |
78 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
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,949 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
342 |
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