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 |
467 |
22 |
21 |
24.04 |
1.13 |
bin-true |
no-host |
678 |
541 |
2,304 |
802 |
807 |
3.40 |
1.18 |
configure.cpython |
no-host |
15,096 |
15,124 |
28,689 |
15,267 |
15,435 |
1.90 |
1.01 |
configure.ocaml |
no-host |
3,808 |
3,736 |
4,668 |
3,830 |
3,823 |
1.23 |
1.01 |
configure.tcc |
no-host |
48 |
42 |
203 |
48 |
48 |
4.28 |
1.01 |
configure.util-linux |
no-host |
13,992 |
14,850 |
31,532 |
14,402 |
14,299 |
2.25 |
1.03 |
configure.yash |
no-host |
1,824 |
1,769 |
2,462 |
1,828 |
1,834 |
1.35 |
1.00 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
39.26 |
1.92 |
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,541 |
1,115 |
23,443 |
3,177 |
3,077 |
9.23 |
1.25 |
bin-true |
no-host |
108,424 |
67,422 |
757,861 |
124,142 |
124,231 |
6.99 |
1.14 |
configure.cpython |
no-host |
2,218,872 |
2,251,068 |
6,196,327 |
2,219,800 |
2,211,781 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,593 |
391,373 |
644,099 |
413,229 |
412,392 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,572 |
5,486 |
23,866 |
6,945 |
6,908 |
3.63 |
1.06 |
configure.util-linux |
no-host |
2,095,636 |
2,263,039 |
5,346,077 |
2,001,032 |
1,991,208 |
2.55 |
0.95 |
configure.yash |
no-host |
256,057 |
245,198 |
386,367 |
258,396 |
258,103 |
1.51 |
1.01 |
hello-world |
no-host |
150 |
82 |
3,951 |
341 |
340 |
26.34 |
2.27 |
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,791 |
3,791 |
0 |
694 |
1,863 |
1,234 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
802 |
1 |
2 |
2.6 |
7.7 |
153,755 |
12,331 |
2,896 |
8,743 |
76,327 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,267 |
1 |
61 |
14.9 |
27.4 |
1,771,756 |
49,614 |
28,521 |
85,415 |
878,120 |
808,221 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,402 |
3 |
61 |
21.2 |
30.1 |
2,702,522 |
45,809 |
65,720 |
108,691 |
1,290,645 |
1,303,186 |
32,239 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,830 |
1 |
2 |
2.6 |
20.6 |
150,089 |
11,121 |
5,216 |
7,508 |
70,974 |
71,607 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.4 |
30,595 |
30,595 |
0 |
1,518 |
14,646 |
14,431 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,828 |
1 |
2 |
2.5 |
24.4 |
139,421 |
8,033 |
6,695 |
5,989 |
67,947 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,301 |
64,412 |
42,622 |
4,532 |
54,441 |
57,328 |
277 |
3 |
85,244 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
6.0 |
3,790 |
3,790 |
0 |
695 |
1,863 |
1,232 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
807 |
1 |
2 |
2.6 |
7.6 |
153,754 |
12,120 |
2,834 |
8,744 |
76,327 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,435 |
1 |
62 |
14.9 |
27.4 |
1,771,755 |
49,072 |
28,459 |
85,416 |
878,120 |
808,219 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,299 |
3 |
60 |
21.2 |
30.3 |
2,702,522 |
53,702 |
65,658 |
108,693 |
1,290,645 |
1,303,184 |
32,239 |
41 |
131,316 |
1 |
configure.ocaml |
no-host |
3,823 |
1 |
2 |
2.6 |
20.6 |
150,089 |
11,059 |
5,154 |
7,510 |
70,974 |
71,605 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.3 |
30,595 |
30,595 |
0 |
1,520 |
14,646 |
14,429 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,834 |
1 |
2 |
2.5 |
24.2 |
139,421 |
7,971 |
6,633 |
5,991 |
67,947 |
65,483 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.7 |
116,300 |
64,350 |
42,560 |
4,533 |
54,441 |
57,326 |
277 |
3 |
85,120 |
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 |
10 |
9 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
8 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
467 |
423 |
47 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
14 |
9 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
13 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
678 |
516 |
197 |
3.0 |
bash |
9 |
no-host |
bin-true |
541 |
410 |
143 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,304 |
1,515 |
1,053 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
802 |
566 |
252 |
7.7 |
osh-native |
33 |
no-host |
bin-true |
807 |
567 |
254 |
7.6 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,096 |
9,081 |
6,421 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,124 |
9,218 |
6,339 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,689 |
17,667 |
12,859 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,267 |
9,028 |
6,510 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,435 |
9,182 |
6,380 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,808 |
1,651 |
1,193 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,736 |
1,558 |
1,197 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,668 |
2,319 |
1,556 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,830 |
1,673 |
1,195 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,823 |
1,553 |
1,307 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
28 |
20 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
25 |
16 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
203 |
138 |
69 |
19.1 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
22 |
27 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
48 |
32 |
17 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,992 |
8,865 |
5,600 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,850 |
9,268 |
6,077 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
31,532 |
21,135 |
11,500 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,402 |
8,629 |
5,977 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,299 |
8,751 |
5,749 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,824 |
985 |
849 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,769 |
1,027 |
745 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,462 |
1,500 |
1,004 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,828 |
1,072 |
760 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,834 |
1,093 |
745 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
1 |
0 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
38 |
20 |
18.1 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
0 |
3 |
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,541 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,115 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,443 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,177 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,077 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
108,424 |
0 |
0 |
0 |
8 |
0 |
1,992 |
90 |
bash |
9 |
no-host |
bin-true |
67,422 |
0 |
0 |
0 |
8 |
0 |
1,989 |
40 |
dash |
17 |
no-host |
bin-true |
757,861 |
0 |
0 |
0 |
8 |
0 |
2,002 |
335 |
osh-cpython |
25 |
no-host |
bin-true |
124,142 |
0 |
0 |
0 |
16 |
0 |
1,992 |
60 |
osh-native |
33 |
no-host |
bin-true |
124,231 |
0 |
0 |
0 |
16 |
0 |
1,991 |
114 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,218,872 |
1 |
0 |
0 |
32,928 |
0 |
14,569 |
1,079 |
bash |
10 |
no-host |
configure.cpython |
2,251,068 |
1 |
0 |
0 |
32,992 |
0 |
14,667 |
1,100 |
dash |
18 |
no-host |
configure.cpython |
6,196,327 |
1 |
0 |
0 |
27,512 |
0 |
13,240 |
1,019 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,219,800 |
0 |
0 |
0 |
27,520 |
0 |
13,199 |
912 |
osh-native |
34 |
no-host |
configure.cpython |
2,211,781 |
0 |
0 |
0 |
27,520 |
0 |
13,338 |
849 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,593 |
0 |
0 |
0 |
5,120 |
0 |
1,948 |
152 |
bash |
12 |
no-host |
configure.ocaml |
391,373 |
0 |
0 |
0 |
5,112 |
0 |
1,859 |
150 |
dash |
20 |
no-host |
configure.ocaml |
644,099 |
1 |
0 |
0 |
5,112 |
0 |
1,856 |
192 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,229 |
0 |
0 |
0 |
5,120 |
0 |
1,923 |
176 |
osh-native |
36 |
no-host |
configure.ocaml |
412,392 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
156 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,572 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,486 |
0 |
0 |
0 |
96 |
0 |
47 |
4 |
dash |
21 |
no-host |
configure.tcc |
23,866 |
0 |
0 |
0 |
96 |
0 |
53 |
14 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,945 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,908 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,095,636 |
0 |
0 |
0 |
42,400 |
0 |
18,543 |
898 |
bash |
11 |
no-host |
configure.util-linux |
2,263,039 |
0 |
0 |
0 |
42,584 |
0 |
17,573 |
1,095 |
dash |
19 |
no-host |
configure.util-linux |
5,346,077 |
8 |
0 |
0 |
39,128 |
0 |
16,975 |
1,282 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,001,032 |
0 |
0 |
0 |
39,120 |
0 |
16,928 |
1,015 |
osh-native |
35 |
no-host |
configure.util-linux |
1,991,208 |
0 |
0 |
0 |
39,128 |
0 |
16,951 |
958 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,057 |
0 |
0 |
0 |
4,120 |
0 |
869 |
61 |
bash |
14 |
no-host |
configure.yash |
245,198 |
0 |
0 |
0 |
3,720 |
0 |
869 |
80 |
dash |
22 |
no-host |
configure.yash |
386,367 |
0 |
0 |
0 |
3,728 |
0 |
853 |
85 |
osh-cpython |
30 |
no-host |
configure.yash |
258,396 |
0 |
0 |
0 |
3,736 |
0 |
845 |
74 |
osh-native |
38 |
no-host |
configure.yash |
258,103 |
0 |
0 |
0 |
3,736 |
0 |
849 |
84 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
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,951 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
24 |
no-host |
hello-world |
341 |
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