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 |
20 |
10 |
472 |
23 |
21 |
23.81 |
1.15 |
bin-true |
no-host |
676 |
549 |
2,311 |
819 |
810 |
3.42 |
1.21 |
configure.cpython |
no-host |
15,436 |
15,637 |
29,626 |
15,853 |
15,940 |
1.92 |
1.03 |
configure.ocaml |
no-host |
3,962 |
3,847 |
4,792 |
3,909 |
3,924 |
1.21 |
0.99 |
configure.tcc |
no-host |
49 |
44 |
210 |
50 |
50 |
4.27 |
1.02 |
configure.util-linux |
no-host |
14,464 |
15,231 |
31,963 |
15,049 |
14,879 |
2.21 |
1.04 |
configure.yash |
no-host |
1,906 |
1,849 |
2,542 |
1,865 |
1,900 |
1.33 |
0.98 |
hello-world |
no-host |
1 |
1 |
57 |
3 |
3 |
38.17 |
1.89 |
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,539 |
1,105 |
23,416 |
3,182 |
3,088 |
9.22 |
1.25 |
bin-true |
no-host |
103,366 |
67,390 |
758,928 |
125,122 |
127,077 |
7.34 |
1.21 |
configure.cpython |
no-host |
2,215,851 |
2,245,244 |
6,193,384 |
2,222,028 |
2,213,652 |
2.80 |
1.00 |
configure.ocaml |
no-host |
410,203 |
390,539 |
644,173 |
412,457 |
412,628 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,565 |
5,482 |
23,910 |
6,955 |
6,931 |
3.64 |
1.06 |
configure.util-linux |
no-host |
2,100,222 |
2,268,399 |
5,349,157 |
2,001,226 |
1,985,544 |
2.55 |
0.95 |
configure.yash |
no-host |
256,007 |
245,232 |
386,945 |
258,173 |
258,099 |
1.51 |
1.01 |
hello-world |
no-host |
155 |
82 |
3,956 |
344 |
342 |
25.52 |
2.22 |
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 |
819 |
1 |
2 |
2.6 |
8.0 |
153,757 |
12,333 |
2,898 |
8,743 |
76,329 |
68,685 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,853 |
2 |
70 |
14.9 |
27.4 |
1,771,804 |
49,616 |
28,523 |
85,427 |
878,138 |
808,239 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,049 |
3 |
68 |
21.2 |
30.3 |
2,702,550 |
53,777 |
65,702 |
108,699 |
1,290,655 |
1,303,196 |
32,241 |
41 |
131,404 |
1 |
configure.ocaml |
no-host |
3,909 |
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,865 |
1 |
2 |
2.5 |
24.2 |
139,423 |
8,035 |
6,697 |
5,989 |
67,949 |
65,485 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
23 |
1 |
2 |
2.8 |
8.9 |
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 |
810 |
1 |
2 |
2.6 |
7.7 |
153,756 |
12,122 |
2,836 |
8,744 |
76,329 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,940 |
1 |
66 |
14.9 |
27.4 |
1,771,803 |
49,074 |
28,461 |
85,428 |
878,138 |
808,237 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,879 |
3 |
65 |
21.2 |
30.0 |
2,702,550 |
53,704 |
65,640 |
108,701 |
1,290,655 |
1,303,194 |
32,241 |
41 |
131,280 |
1 |
configure.ocaml |
no-host |
3,924 |
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,900 |
1 |
2 |
2.5 |
24.4 |
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 |
20 |
14 |
7 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
10 |
0 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
472 |
434 |
41 |
22.8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
23 |
6 |
17 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
17 |
5 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
676 |
503 |
203 |
3.0 |
bash |
9 |
no-host |
bin-true |
549 |
412 |
145 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,311 |
1,530 |
1,042 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
819 |
571 |
260 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
810 |
560 |
266 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,436 |
9,304 |
6,548 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,637 |
9,286 |
6,792 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
29,626 |
18,065 |
13,466 |
27.4 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,853 |
9,353 |
6,771 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,940 |
9,260 |
6,796 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,962 |
1,661 |
1,337 |
20.6 |
bash |
12 |
no-host |
configure.ocaml |
3,847 |
1,622 |
1,246 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,792 |
2,342 |
1,658 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,909 |
1,647 |
1,301 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,924 |
1,713 |
1,244 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
49 |
32 |
18 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
44 |
37 |
7 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
210 |
140 |
73 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
50 |
35 |
16 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
33 |
17 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,464 |
9,066 |
5,876 |
30.4 |
bash |
11 |
no-host |
configure.util-linux |
15,231 |
9,251 |
6,487 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,963 |
21,355 |
11,701 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,049 |
8,996 |
6,250 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,879 |
8,841 |
6,236 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,906 |
1,089 |
827 |
24.2 |
bash |
14 |
no-host |
configure.yash |
1,849 |
1,125 |
728 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,542 |
1,534 |
1,051 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,865 |
1,144 |
725 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,900 |
1,067 |
838 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
57 |
33 |
24 |
18.1 |
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,539 |
0 |
0 |
0 |
16 |
0 |
41 |
2 |
bash |
15 |
no-host |
abuild-print-help |
1,105 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,416 |
0 |
0 |
0 |
8 |
0 |
45 |
9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,182 |
0 |
0 |
0 |
16 |
0 |
38 |
1 |
osh-native |
39 |
no-host |
abuild-print-help |
3,088 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
103,366 |
0 |
0 |
0 |
8 |
0 |
1,986 |
128 |
bash |
9 |
no-host |
bin-true |
67,390 |
0 |
0 |
0 |
8 |
0 |
1,987 |
31 |
dash |
17 |
no-host |
bin-true |
758,928 |
0 |
0 |
0 |
8 |
0 |
1,998 |
308 |
osh-cpython |
25 |
no-host |
bin-true |
125,122 |
0 |
0 |
0 |
16 |
0 |
1,982 |
98 |
osh-native |
33 |
no-host |
bin-true |
127,077 |
0 |
0 |
0 |
16 |
0 |
1,990 |
63 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,215,851 |
0 |
0 |
0 |
32,928 |
0 |
14,543 |
984 |
bash |
10 |
no-host |
configure.cpython |
2,245,244 |
0 |
0 |
0 |
32,992 |
0 |
14,589 |
983 |
dash |
18 |
no-host |
configure.cpython |
6,193,384 |
0 |
0 |
0 |
27,512 |
0 |
13,287 |
1,092 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,222,028 |
0 |
0 |
0 |
27,520 |
0 |
13,228 |
899 |
osh-native |
34 |
no-host |
configure.cpython |
2,213,652 |
0 |
0 |
0 |
27,520 |
0 |
13,195 |
1,040 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,203 |
0 |
0 |
0 |
5,120 |
0 |
1,958 |
138 |
bash |
12 |
no-host |
configure.ocaml |
390,539 |
0 |
0 |
0 |
5,112 |
0 |
1,901 |
169 |
dash |
20 |
no-host |
configure.ocaml |
644,173 |
0 |
0 |
0 |
5,112 |
0 |
1,862 |
196 |
osh-cpython |
28 |
no-host |
configure.ocaml |
412,457 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
177 |
osh-native |
36 |
no-host |
configure.ocaml |
412,628 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
156 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,565 |
0 |
0 |
0 |
104 |
0 |
48 |
5 |
bash |
13 |
no-host |
configure.tcc |
5,482 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
dash |
21 |
no-host |
configure.tcc |
23,910 |
0 |
0 |
0 |
96 |
0 |
53 |
7 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,955 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native |
37 |
no-host |
configure.tcc |
6,931 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,100,222 |
0 |
0 |
0 |
42,400 |
0 |
18,556 |
938 |
bash |
11 |
no-host |
configure.util-linux |
2,268,399 |
2 |
0 |
0 |
42,584 |
0 |
17,453 |
988 |
dash |
19 |
no-host |
configure.util-linux |
5,349,157 |
6 |
0 |
0 |
39,112 |
0 |
16,961 |
1,253 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,001,226 |
1 |
0 |
0 |
39,120 |
0 |
16,996 |
997 |
osh-native |
35 |
no-host |
configure.util-linux |
1,985,544 |
0 |
0 |
0 |
39,136 |
0 |
17,006 |
895 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,007 |
0 |
0 |
0 |
4,120 |
0 |
873 |
72 |
bash |
14 |
no-host |
configure.yash |
245,232 |
0 |
0 |
0 |
3,720 |
0 |
871 |
76 |
dash |
22 |
no-host |
configure.yash |
386,945 |
1 |
0 |
0 |
3,728 |
0 |
855 |
110 |
osh-cpython |
30 |
no-host |
configure.yash |
258,173 |
0 |
0 |
0 |
3,736 |
0 |
850 |
79 |
osh-native |
38 |
no-host |
configure.yash |
258,099 |
0 |
0 |
0 |
3,736 |
0 |
846 |
74 |
osh-native-souffle |
0 |
no-host |
hello-world |
155 |
0 |
0 |
0 |
8 |
0 |
2 |
0 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,956 |
0 |
0 |
0 |
8 |
0 |
7 |
5 |
osh-cpython |
24 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
342 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host