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 |
21 |
10 |
470 |
24 |
22 |
22.73 |
1.15 |
bin-true |
no-host |
688 |
554 |
2,349 |
841 |
834 |
3.41 |
1.22 |
configure.cpython |
no-host |
15,501 |
15,713 |
30,186 |
16,016 |
15,945 |
1.95 |
1.03 |
configure.ocaml |
no-host |
3,941 |
3,820 |
4,795 |
3,958 |
3,933 |
1.22 |
1.00 |
configure.tcc |
no-host |
50 |
43 |
208 |
51 |
50 |
4.20 |
1.03 |
configure.util-linux |
no-host |
14,473 |
15,392 |
32,454 |
15,070 |
14,867 |
2.24 |
1.04 |
configure.yash |
no-host |
1,902 |
1,832 |
2,571 |
1,900 |
1,893 |
1.35 |
1.00 |
hello-world |
no-host |
2 |
1 |
58 |
3 |
3 |
35.25 |
1.76 |
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,532 |
1,112 |
23,743 |
3,157 |
3,095 |
9.38 |
1.25 |
bin-true |
no-host |
106,328 |
66,358 |
773,235 |
125,251 |
124,296 |
7.27 |
1.18 |
configure.cpython |
no-host |
2,227,094 |
2,238,441 |
6,217,653 |
2,215,512 |
2,207,374 |
2.79 |
0.99 |
configure.ocaml |
no-host |
409,579 |
390,986 |
646,123 |
413,026 |
413,025 |
1.58 |
1.01 |
configure.tcc |
no-host |
6,528 |
5,465 |
24,084 |
6,960 |
6,906 |
3.69 |
1.07 |
configure.util-linux |
no-host |
2,105,348 |
2,262,763 |
5,386,958 |
1,996,804 |
1,987,163 |
2.56 |
0.95 |
configure.yash |
no-host |
256,705 |
243,680 |
388,695 |
257,476 |
258,216 |
1.51 |
1.00 |
hello-world |
no-host |
150 |
82 |
3,938 |
341 |
336 |
26.25 |
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,782 |
3,782 |
0 |
694 |
1,858 |
1,230 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
841 |
1 |
2 |
2.6 |
7.9 |
153,746 |
12,267 |
2,887 |
8,743 |
76,322 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
16,016 |
1 |
71 |
14.9 |
27.3 |
1,771,747 |
49,125 |
28,512 |
85,415 |
878,115 |
808,217 |
25,733 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
15,070 |
3 |
68 |
21.2 |
30.3 |
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,958 |
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 |
51 |
0 |
0 |
1.3 |
19.4 |
30,586 |
30,586 |
0 |
1,518 |
14,641 |
14,427 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,900 |
1 |
2 |
2.5 |
24.2 |
139,412 |
8,024 |
6,686 |
5,989 |
67,942 |
65,481 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
24 |
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.8 |
3,781 |
3,781 |
0 |
695 |
1,858 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
834 |
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,945 |
1 |
67 |
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 |
14,867 |
3 |
66 |
21.2 |
30.1 |
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 |
3,933 |
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 |
50 |
0 |
0 |
1.3 |
19.3 |
30,586 |
30,586 |
0 |
1,520 |
14,641 |
14,425 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,893 |
1 |
2 |
2.5 |
24.2 |
139,412 |
7,962 |
6,624 |
5,991 |
67,942 |
65,479 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
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 |
21 |
11 |
10 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
10 |
5 |
5 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
470 |
417 |
56 |
22.5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
24 |
15 |
9 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
22 |
17 |
5 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
688 |
505 |
215 |
2.9 |
bash |
9 |
no-host |
bin-true |
554 |
417 |
143 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,349 |
1,520 |
1,096 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
841 |
571 |
286 |
7.9 |
osh-native |
33 |
no-host |
bin-true |
834 |
569 |
280 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,501 |
9,157 |
6,747 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,713 |
9,568 |
6,580 |
27.3 |
dash |
18 |
no-host |
configure.cpython |
30,186 |
18,405 |
13,716 |
27.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
16,016 |
9,507 |
6,797 |
27.3 |
osh-native |
34 |
no-host |
configure.cpython |
15,945 |
9,352 |
6,696 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,941 |
1,728 |
1,255 |
20.4 |
bash |
12 |
no-host |
configure.ocaml |
3,820 |
1,590 |
1,249 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,795 |
2,256 |
1,758 |
20.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,958 |
1,753 |
1,245 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,933 |
1,759 |
1,213 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
50 |
29 |
21 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
43 |
22 |
21 |
19.3 |
dash |
21 |
no-host |
configure.tcc |
208 |
164 |
47 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
51 |
26 |
25 |
19.4 |
osh-native |
37 |
no-host |
configure.tcc |
50 |
28 |
22 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,473 |
9,090 |
5,876 |
30.0 |
bash |
11 |
no-host |
configure.util-linux |
15,392 |
9,422 |
6,481 |
30.0 |
dash |
19 |
no-host |
configure.util-linux |
32,454 |
21,562 |
12,019 |
30.1 |
osh-cpython |
27 |
no-host |
configure.util-linux |
15,070 |
9,001 |
6,279 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
14,867 |
8,893 |
6,175 |
30.1 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,902 |
1,078 |
833 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,832 |
1,020 |
815 |
24.5 |
dash |
22 |
no-host |
configure.yash |
2,571 |
1,602 |
1,012 |
24.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,900 |
1,112 |
791 |
24.2 |
osh-native |
38 |
no-host |
configure.yash |
1,893 |
1,070 |
827 |
24.2 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
58 |
33 |
25 |
18.2 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
3 |
0 |
5.8 |
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,532 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,112 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
23,743 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,157 |
0 |
0 |
0 |
16 |
0 |
39 |
30 |
osh-native |
39 |
no-host |
abuild-print-help |
3,095 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
106,328 |
0 |
0 |
0 |
8 |
0 |
1,991 |
56 |
bash |
9 |
no-host |
bin-true |
66,358 |
0 |
0 |
0 |
8 |
0 |
1,988 |
45 |
dash |
17 |
no-host |
bin-true |
773,235 |
0 |
0 |
0 |
8 |
0 |
1,995 |
88 |
osh-cpython |
25 |
no-host |
bin-true |
125,251 |
0 |
0 |
0 |
16 |
0 |
1,986 |
107 |
osh-native |
33 |
no-host |
bin-true |
124,296 |
0 |
0 |
0 |
16 |
0 |
1,992 |
88 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,227,094 |
0 |
0 |
0 |
32,928 |
0 |
14,534 |
1,337 |
bash |
10 |
no-host |
configure.cpython |
2,238,441 |
0 |
0 |
0 |
32,992 |
0 |
14,637 |
987 |
dash |
18 |
no-host |
configure.cpython |
6,217,653 |
0 |
0 |
0 |
27,512 |
0 |
13,193 |
1,149 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,215,512 |
0 |
0 |
0 |
27,520 |
0 |
13,407 |
1,019 |
osh-native |
34 |
no-host |
configure.cpython |
2,207,374 |
0 |
0 |
0 |
27,520 |
0 |
13,281 |
951 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
409,579 |
0 |
0 |
0 |
5,120 |
0 |
1,942 |
177 |
bash |
12 |
no-host |
configure.ocaml |
390,986 |
0 |
0 |
0 |
5,112 |
0 |
1,926 |
131 |
dash |
20 |
no-host |
configure.ocaml |
646,123 |
0 |
0 |
0 |
5,112 |
0 |
1,874 |
159 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,026 |
0 |
0 |
0 |
5,120 |
0 |
1,934 |
173 |
osh-native |
36 |
no-host |
configure.ocaml |
413,025 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
153 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,528 |
0 |
0 |
0 |
104 |
0 |
48 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,465 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,084 |
0 |
0 |
0 |
96 |
0 |
53 |
13 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,960 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native |
37 |
no-host |
configure.tcc |
6,906 |
0 |
0 |
0 |
104 |
0 |
47 |
10 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,105,348 |
0 |
0 |
0 |
42,400 |
0 |
18,592 |
988 |
bash |
11 |
no-host |
configure.util-linux |
2,262,763 |
1 |
0 |
0 |
42,584 |
0 |
17,429 |
1,140 |
dash |
19 |
no-host |
configure.util-linux |
5,386,958 |
7 |
0 |
0 |
39,112 |
0 |
16,974 |
1,288 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,996,804 |
0 |
0 |
0 |
39,128 |
0 |
17,003 |
966 |
osh-native |
35 |
no-host |
configure.util-linux |
1,987,163 |
1 |
0 |
0 |
39,136 |
0 |
16,965 |
1,036 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,705 |
0 |
0 |
0 |
4,120 |
0 |
869 |
80 |
bash |
14 |
no-host |
configure.yash |
243,680 |
0 |
0 |
0 |
3,720 |
0 |
870 |
94 |
dash |
22 |
no-host |
configure.yash |
388,695 |
0 |
0 |
0 |
3,728 |
0 |
853 |
92 |
osh-cpython |
30 |
no-host |
configure.yash |
257,476 |
0 |
0 |
0 |
3,736 |
0 |
847 |
171 |
osh-native |
38 |
no-host |
configure.yash |
258,216 |
0 |
0 |
0 |
3,736 |
0 |
849 |
77 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
0 |
1 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,938 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
341 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
336 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host