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 |
485 |
22 |
23 |
25.19 |
1.16 |
bin-true |
no-host |
688 |
545 |
2,341 |
824 |
813 |
3.40 |
1.20 |
configure.cpython |
no-host |
15,488 |
15,454 |
29,441 |
15,935 |
15,874 |
1.90 |
1.03 |
configure.ocaml |
no-host |
3,865 |
3,835 |
4,822 |
3,909 |
4,004 |
1.25 |
1.01 |
configure.tcc |
no-host |
48 |
43 |
210 |
50 |
52 |
4.36 |
1.05 |
configure.util-linux |
no-host |
14,351 |
15,271 |
32,533 |
14,799 |
15,038 |
2.27 |
1.03 |
configure.yash |
no-host |
1,867 |
1,826 |
2,599 |
1,890 |
1,957 |
1.39 |
1.01 |
hello-world |
no-host |
2 |
1 |
59 |
3 |
3 |
33.39 |
1.68 |
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,515 |
1,111 |
23,655 |
3,199 |
3,096 |
9.41 |
1.27 |
bin-true |
no-host |
107,322 |
65,407 |
777,659 |
127,244 |
125,224 |
7.25 |
1.19 |
configure.cpython |
no-host |
2,222,226 |
2,235,583 |
6,207,344 |
2,225,000 |
2,200,772 |
2.79 |
1.00 |
configure.ocaml |
no-host |
410,489 |
391,314 |
646,784 |
413,295 |
412,309 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,545 |
5,484 |
24,107 |
6,976 |
6,918 |
3.68 |
1.07 |
configure.util-linux |
no-host |
2,103,404 |
2,260,509 |
5,393,807 |
1,990,814 |
1,990,224 |
2.56 |
0.95 |
configure.yash |
no-host |
256,208 |
244,492 |
389,163 |
257,796 |
257,689 |
1.52 |
1.01 |
hello-world |
no-host |
154 |
83 |
3,951 |
341 |
339 |
25.66 |
2.21 |
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,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
824 |
1 |
2 |
2.6 |
8.1 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,935 |
1 |
67 |
14.9 |
27.5 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,799 |
3 |
67 |
21.2 |
30.4 |
2,702,513 |
53,766 |
65,691 |
108,691 |
1,290,640 |
1,303,182 |
32,239 |
41 |
131,382 |
1 |
configure.ocaml |
no-host |
3,909 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,112 |
5,207 |
7,508 |
70,969 |
71,603 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,890 |
1 |
2 |
2.5 |
24.4 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,292 |
64,403 |
42,613 |
4,532 |
54,436 |
57,324 |
277 |
3 |
85,226 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
813 |
1 |
2 |
2.6 |
7.7 |
153,745 |
12,111 |
2,825 |
8,744 |
76,322 |
68,679 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,874 |
1 |
66 |
14.9 |
27.4 |
1,771,746 |
44,577 |
28,450 |
85,416 |
878,115 |
808,215 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,038 |
3 |
67 |
21.2 |
30.3 |
2,702,513 |
53,693 |
65,629 |
108,693 |
1,290,640 |
1,303,180 |
32,239 |
41 |
131,258 |
1 |
configure.ocaml |
no-host |
4,004 |
1 |
2 |
2.6 |
20.6 |
150,080 |
11,050 |
5,145 |
7,510 |
70,969 |
71,601 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
52 |
0 |
0 |
1.3 |
19.1 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,957 |
1 |
2 |
2.5 |
24.4 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
8.7 |
116,291 |
64,341 |
42,551 |
4,533 |
54,436 |
57,322 |
277 |
3 |
85,102 |
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 |
14 |
6 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
8 |
1 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
485 |
429 |
60 |
22.3 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
20 |
3 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
23 |
20 |
3 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
688 |
506 |
214 |
3.0 |
bash |
9 |
no-host |
bin-true |
545 |
424 |
133 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,341 |
1,526 |
1,083 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
824 |
574 |
264 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
813 |
593 |
235 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,488 |
9,252 |
6,646 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,454 |
9,340 |
6,528 |
27.5 |
dash |
18 |
no-host |
configure.cpython |
29,441 |
17,886 |
13,475 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,935 |
9,329 |
6,875 |
27.5 |
osh-native |
34 |
no-host |
configure.cpython |
15,874 |
9,300 |
6,705 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,865 |
1,659 |
1,242 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,835 |
1,637 |
1,217 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,822 |
2,329 |
1,711 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,909 |
1,691 |
1,256 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
4,004 |
1,655 |
1,388 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
25 |
23 |
19.1 |
bash |
13 |
no-host |
configure.tcc |
43 |
31 |
12 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
210 |
142 |
72 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
32 |
19 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
52 |
29 |
23 |
19.1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,351 |
9,065 |
5,762 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
15,271 |
9,287 |
6,486 |
30.1 |
dash |
19 |
no-host |
configure.util-linux |
32,533 |
21,491 |
12,172 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,799 |
8,862 |
6,130 |
30.4 |
osh-native |
35 |
no-host |
configure.util-linux |
15,038 |
9,132 |
6,091 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,867 |
1,040 |
836 |
24.5 |
bash |
14 |
no-host |
configure.yash |
1,826 |
1,017 |
804 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,599 |
1,628 |
1,014 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,890 |
1,079 |
814 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,957 |
1,092 |
867 |
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 |
59 |
47 |
11 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
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,515 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,111 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
23,655 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,199 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,096 |
0 |
0 |
0 |
16 |
0 |
39 |
4 |
osh-native-souffle |
1 |
no-host |
bin-true |
107,322 |
0 |
0 |
0 |
8 |
0 |
1,990 |
74 |
bash |
9 |
no-host |
bin-true |
65,407 |
0 |
0 |
0 |
8 |
0 |
1,992 |
39 |
dash |
17 |
no-host |
bin-true |
777,659 |
0 |
0 |
0 |
8 |
0 |
2,000 |
227 |
osh-cpython |
25 |
no-host |
bin-true |
127,244 |
0 |
0 |
0 |
16 |
0 |
1,985 |
73 |
osh-native |
33 |
no-host |
bin-true |
125,224 |
0 |
0 |
0 |
16 |
0 |
1,991 |
134 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,222,226 |
1 |
0 |
0 |
32,928 |
0 |
14,551 |
1,005 |
bash |
10 |
no-host |
configure.cpython |
2,235,583 |
1 |
0 |
0 |
32,992 |
0 |
14,682 |
1,146 |
dash |
18 |
no-host |
configure.cpython |
6,207,344 |
0 |
0 |
0 |
27,512 |
0 |
13,287 |
1,150 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,225,000 |
0 |
0 |
0 |
27,520 |
0 |
13,197 |
1,052 |
osh-native |
34 |
no-host |
configure.cpython |
2,200,772 |
0 |
0 |
0 |
27,520 |
0 |
13,250 |
912 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,489 |
0 |
0 |
0 |
5,120 |
0 |
1,946 |
138 |
bash |
12 |
no-host |
configure.ocaml |
391,314 |
0 |
0 |
0 |
5,112 |
0 |
1,916 |
137 |
dash |
20 |
no-host |
configure.ocaml |
646,784 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
163 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,295 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
158 |
osh-native |
36 |
no-host |
configure.ocaml |
412,309 |
0 |
0 |
0 |
5,120 |
0 |
1,932 |
158 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,545 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,484 |
0 |
0 |
0 |
96 |
0 |
47 |
0 |
dash |
21 |
no-host |
configure.tcc |
24,107 |
0 |
0 |
0 |
96 |
0 |
52 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,976 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,918 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,103,404 |
0 |
0 |
0 |
42,400 |
0 |
18,599 |
946 |
bash |
11 |
no-host |
configure.util-linux |
2,260,509 |
0 |
0 |
0 |
42,592 |
0 |
17,435 |
1,076 |
dash |
19 |
no-host |
configure.util-linux |
5,393,807 |
7 |
0 |
0 |
39,136 |
0 |
16,972 |
1,297 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,990,814 |
0 |
0 |
0 |
39,128 |
0 |
16,978 |
913 |
osh-native |
35 |
no-host |
configure.util-linux |
1,990,224 |
0 |
0 |
0 |
39,136 |
0 |
16,981 |
931 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,208 |
0 |
0 |
0 |
4,120 |
0 |
867 |
82 |
bash |
14 |
no-host |
configure.yash |
244,492 |
0 |
0 |
0 |
3,720 |
0 |
869 |
70 |
dash |
22 |
no-host |
configure.yash |
389,163 |
1 |
0 |
0 |
3,728 |
0 |
859 |
99 |
osh-cpython |
30 |
no-host |
configure.yash |
257,796 |
0 |
0 |
0 |
3,736 |
0 |
847 |
93 |
osh-native |
38 |
no-host |
configure.yash |
257,689 |
0 |
0 |
0 |
3,736 |
0 |
849 |
79 |
osh-native-souffle |
0 |
no-host |
hello-world |
154 |
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,951 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host