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 |
18 |
9 |
470 |
22 |
20 |
25.42 |
1.17 |
bin-true |
no-host |
661 |
515 |
2,347 |
784 |
776 |
3.55 |
1.18 |
configure.cpython |
no-host |
14,405 |
14,435 |
28,271 |
14,613 |
14,642 |
1.96 |
1.01 |
configure.ocaml |
no-host |
3,711 |
3,653 |
4,563 |
3,727 |
3,730 |
1.23 |
1.00 |
configure.tcc |
no-host |
46 |
40 |
203 |
47 |
47 |
4.44 |
1.03 |
configure.util-linux |
no-host |
13,366 |
14,246 |
31,047 |
13,803 |
13,731 |
2.32 |
1.03 |
configure.yash |
no-host |
1,790 |
1,714 |
2,418 |
1,769 |
1,767 |
1.35 |
0.99 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
43.63 |
2.17 |
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,529 |
1,087 |
24,157 |
3,199 |
3,101 |
9.55 |
1.26 |
bin-true |
no-host |
109,360 |
65,438 |
802,472 |
128,140 |
125,158 |
7.34 |
1.17 |
configure.cpython |
no-host |
1,990,298 |
2,016,218 |
6,103,273 |
2,011,430 |
2,007,636 |
3.07 |
1.01 |
configure.ocaml |
no-host |
373,030 |
354,045 |
616,218 |
377,074 |
375,723 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,073 |
5,019 |
24,049 |
6,489 |
6,468 |
3.96 |
1.07 |
configure.util-linux |
no-host |
1,909,375 |
2,074,486 |
5,311,987 |
1,819,897 |
1,817,397 |
2.78 |
0.95 |
configure.yash |
no-host |
233,412 |
222,231 |
368,746 |
235,418 |
235,561 |
1.58 |
1.01 |
hello-world |
no-host |
148 |
77 |
3,969 |
348 |
339 |
26.82 |
2.35 |
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.3 |
6.2 |
3,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
784 |
1 |
2 |
2.6 |
8.1 |
156,772 |
15,414 |
2,901 |
8,752 |
77,337 |
70,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,613 |
1 |
65 |
15.5 |
29.0 |
1,785,013 |
30,559 |
28,526 |
91,505 |
887,089 |
806,419 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
13,803 |
3 |
61 |
21.6 |
30.3 |
2,709,214 |
53,761 |
65,725 |
114,372 |
1,296,230 |
1,298,612 |
32,241 |
41 |
131,450 |
1 |
configure.ocaml |
no-host |
3,727 |
1 |
2 |
2.6 |
22.5 |
149,859 |
11,178 |
5,221 |
7,733 |
70,879 |
71,247 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.8 |
30,575 |
30,575 |
0 |
1,542 |
14,636 |
14,397 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,769 |
1 |
2 |
2.6 |
26.4 |
139,881 |
8,045 |
6,700 |
6,397 |
68,350 |
65,134 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,337 |
64,419 |
42,627 |
4,544 |
54,462 |
57,331 |
277 |
3 |
85,254 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,804 |
3,804 |
0 |
701 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
776 |
1 |
2 |
2.6 |
7.7 |
156,771 |
15,409 |
2,896 |
8,753 |
77,337 |
70,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,642 |
2 |
64 |
15.4 |
29.3 |
1,785,012 |
30,546 |
28,521 |
91,506 |
887,089 |
806,417 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
13,731 |
3 |
61 |
21.6 |
30.4 |
2,709,214 |
53,738 |
65,720 |
114,374 |
1,296,230 |
1,298,610 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,730 |
1 |
2 |
2.6 |
22.6 |
149,859 |
11,173 |
5,216 |
7,735 |
70,879 |
71,245 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.6 |
30,575 |
30,575 |
0 |
1,544 |
14,636 |
14,395 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,767 |
1 |
2 |
2.6 |
26.4 |
139,881 |
8,034 |
6,689 |
6,399 |
68,350 |
65,132 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.7 |
116,336 |
64,414 |
42,622 |
4,545 |
54,462 |
57,329 |
277 |
3 |
85,244 |
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 |
18 |
10 |
9 |
4.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
470 |
415 |
58 |
22.7 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
12 |
10 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
13 |
7 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
661 |
299 |
395 |
2.9 |
bash |
9 |
no-host |
bin-true |
515 |
273 |
253 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,347 |
787 |
1,813 |
18.4 |
osh-cpython |
25 |
no-host |
bin-true |
784 |
298 |
503 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
776 |
289 |
503 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,405 |
6,519 |
8,278 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,435 |
6,557 |
8,299 |
28.9 |
dash |
18 |
no-host |
configure.cpython |
28,271 |
14,207 |
15,905 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,613 |
6,433 |
8,463 |
29.0 |
osh-native |
34 |
no-host |
configure.cpython |
14,642 |
6,403 |
8,512 |
29.3 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,711 |
1,322 |
1,427 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,653 |
1,279 |
1,393 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,563 |
1,844 |
1,932 |
22.4 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,727 |
1,280 |
1,488 |
22.5 |
osh-native |
36 |
no-host |
configure.ocaml |
3,730 |
1,279 |
1,489 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
18 |
28 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
40 |
21 |
19 |
19.7 |
dash |
21 |
no-host |
configure.tcc |
203 |
140 |
66 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
22 |
25 |
19.8 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
21 |
26 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,366 |
5,681 |
8,164 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,246 |
5,869 |
8,883 |
30.4 |
dash |
19 |
no-host |
configure.util-linux |
31,047 |
17,761 |
14,354 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,803 |
5,493 |
8,531 |
30.3 |
osh-native |
35 |
no-host |
configure.util-linux |
13,731 |
5,523 |
8,415 |
30.4 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,790 |
876 |
915 |
26.4 |
bash |
14 |
no-host |
configure.yash |
1,714 |
893 |
826 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,418 |
1,342 |
1,114 |
26.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,769 |
906 |
867 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,767 |
910 |
861 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
35 |
21 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.2 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
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,529 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,087 |
0 |
0 |
0 |
8 |
0 |
39 |
1 |
dash |
23 |
no-host |
abuild-print-help |
24,157 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,199 |
0 |
0 |
0 |
16 |
0 |
38 |
4 |
osh-native |
39 |
no-host |
abuild-print-help |
3,101 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
1 |
no-host |
bin-true |
109,360 |
0 |
0 |
0 |
8 |
0 |
1,981 |
204 |
bash |
9 |
no-host |
bin-true |
65,438 |
0 |
0 |
0 |
8 |
0 |
1,970 |
74 |
dash |
17 |
no-host |
bin-true |
802,472 |
0 |
0 |
0 |
8 |
0 |
1,991 |
207 |
osh-cpython |
25 |
no-host |
bin-true |
128,140 |
0 |
0 |
0 |
16 |
0 |
1,988 |
170 |
osh-native |
33 |
no-host |
bin-true |
125,158 |
0 |
0 |
0 |
16 |
0 |
1,983 |
126 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,990,298 |
0 |
0 |
0 |
32,928 |
0 |
14,202 |
1,312 |
bash |
10 |
no-host |
configure.cpython |
2,016,218 |
0 |
0 |
0 |
32,992 |
0 |
14,348 |
1,304 |
dash |
18 |
no-host |
configure.cpython |
6,103,273 |
0 |
0 |
0 |
27,512 |
0 |
13,053 |
1,221 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,011,430 |
0 |
0 |
0 |
27,520 |
0 |
13,017 |
1,199 |
osh-native |
34 |
no-host |
configure.cpython |
2,007,636 |
0 |
0 |
0 |
27,520 |
0 |
13,057 |
1,190 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,030 |
0 |
0 |
0 |
5,120 |
0 |
1,950 |
203 |
bash |
12 |
no-host |
configure.ocaml |
354,045 |
0 |
0 |
0 |
5,112 |
0 |
1,921 |
186 |
dash |
20 |
no-host |
configure.ocaml |
616,218 |
0 |
0 |
0 |
5,112 |
0 |
1,841 |
190 |
osh-cpython |
28 |
no-host |
configure.ocaml |
377,074 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
206 |
osh-native |
36 |
no-host |
configure.ocaml |
375,723 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
209 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,073 |
0 |
0 |
0 |
104 |
0 |
49 |
1 |
bash |
13 |
no-host |
configure.tcc |
5,019 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,049 |
0 |
0 |
0 |
96 |
0 |
53 |
10 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,489 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native |
37 |
no-host |
configure.tcc |
6,468 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,909,375 |
1 |
0 |
0 |
42,400 |
0 |
18,436 |
1,243 |
bash |
11 |
no-host |
configure.util-linux |
2,074,486 |
2 |
0 |
0 |
42,584 |
0 |
17,270 |
1,411 |
dash |
19 |
no-host |
configure.util-linux |
5,311,987 |
16 |
0 |
0 |
39,112 |
0 |
17,021 |
1,457 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,819,897 |
0 |
0 |
0 |
39,120 |
0 |
17,041 |
1,383 |
osh-native |
35 |
no-host |
configure.util-linux |
1,817,397 |
0 |
0 |
0 |
39,128 |
0 |
17,014 |
1,225 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,412 |
0 |
0 |
0 |
4,120 |
0 |
890 |
92 |
bash |
14 |
no-host |
configure.yash |
222,231 |
0 |
0 |
0 |
3,720 |
0 |
866 |
86 |
dash |
22 |
no-host |
configure.yash |
368,746 |
0 |
0 |
0 |
3,728 |
0 |
852 |
103 |
osh-cpython |
30 |
no-host |
configure.yash |
235,418 |
0 |
0 |
0 |
3,736 |
0 |
849 |
119 |
osh-native |
38 |
no-host |
configure.yash |
235,561 |
0 |
0 |
0 |
3,736 |
0 |
852 |
108 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
77 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,969 |
0 |
0 |
0 |
8 |
0 |
7 |
3 |
osh-cpython |
24 |
no-host |
hello-world |
348 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host