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 |
21 |
25.95 |
1.19 |
bin-true |
no-host |
654 |
532 |
2,399 |
804 |
798 |
3.67 |
1.23 |
configure.cpython |
no-host |
14,752 |
14,872 |
28,793 |
15,301 |
15,284 |
1.95 |
1.04 |
configure.ocaml |
no-host |
3,763 |
3,728 |
4,741 |
3,829 |
3,855 |
1.26 |
1.02 |
configure.tcc |
no-host |
47 |
40 |
210 |
48 |
47 |
4.45 |
1.02 |
configure.util-linux |
no-host |
13,635 |
14,796 |
32,381 |
14,289 |
14,233 |
2.37 |
1.05 |
configure.yash |
no-host |
1,823 |
1,750 |
2,546 |
1,834 |
1,822 |
1.40 |
1.01 |
hello-world |
no-host |
1 |
1 |
58 |
3 |
3 |
44.70 |
2.22 |
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,523 |
1,099 |
24,342 |
3,197 |
3,072 |
9.65 |
1.27 |
bin-true |
no-host |
105,363 |
66,415 |
808,252 |
128,333 |
125,356 |
7.67 |
1.22 |
configure.cpython |
no-host |
1,993,058 |
2,026,881 |
6,097,025 |
2,015,546 |
1,993,597 |
3.06 |
1.01 |
configure.ocaml |
no-host |
373,291 |
353,665 |
615,311 |
376,690 |
375,734 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,051 |
5,002 |
24,051 |
6,506 |
6,448 |
3.97 |
1.08 |
configure.util-linux |
no-host |
1,909,079 |
2,074,240 |
5,288,036 |
1,815,086 |
1,809,390 |
2.77 |
0.95 |
configure.yash |
no-host |
233,690 |
221,348 |
369,714 |
234,941 |
235,221 |
1.58 |
1.01 |
hello-world |
no-host |
145 |
72 |
3,970 |
345 |
339 |
27.38 |
2.38 |
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.3 |
3,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
804 |
1 |
2 |
2.6 |
8.0 |
159,772 |
18,389 |
2,901 |
8,752 |
78,337 |
72,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,301 |
2 |
69 |
15.2 |
29.2 |
1,797,810 |
47,448 |
24,105 |
91,511 |
893,245 |
813,054 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,289 |
3 |
66 |
21.6 |
30.1 |
2,715,378 |
53,792 |
65,725 |
114,378 |
1,299,070 |
1,301,930 |
32,241 |
41 |
131,450 |
1 |
configure.ocaml |
no-host |
3,829 |
1 |
2 |
2.6 |
22.6 |
149,939 |
11,202 |
5,221 |
7,733 |
70,918 |
71,288 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
19.8 |
30,601 |
30,601 |
0 |
1,542 |
14,648 |
14,411 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,834 |
1 |
2 |
2.6 |
26.5 |
140,097 |
8,049 |
6,700 |
6,399 |
68,528 |
65,170 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.2 |
116,353 |
64,419 |
42,627 |
4,544 |
54,470 |
57,339 |
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 |
798 |
1 |
2 |
2.6 |
7.7 |
159,771 |
18,384 |
2,896 |
8,753 |
78,337 |
72,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,284 |
1 |
66 |
15.2 |
29.1 |
1,797,809 |
47,436 |
24,093 |
91,512 |
893,245 |
813,052 |
25,736 |
61 |
50,000 |
0 |
configure.util-linux |
no-host |
14,233 |
3 |
65 |
21.6 |
30.3 |
2,715,378 |
53,769 |
65,720 |
114,380 |
1,299,070 |
1,301,928 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,855 |
1 |
2 |
2.6 |
22.6 |
149,939 |
11,197 |
5,216 |
7,735 |
70,918 |
71,286 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.7 |
30,601 |
30,601 |
0 |
1,544 |
14,648 |
14,409 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,822 |
1 |
2 |
2.6 |
26.4 |
140,097 |
8,038 |
6,689 |
6,401 |
68,528 |
65,168 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.5 |
116,352 |
64,414 |
42,622 |
4,545 |
54,470 |
57,337 |
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 |
19 |
10 |
9 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
7 |
2 |
3.5 |
dash |
23 |
no-host |
abuild-print-help |
485 |
426 |
62 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
9 |
9.2 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
12 |
10 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
654 |
317 |
370 |
2.9 |
bash |
9 |
no-host |
bin-true |
532 |
280 |
263 |
1.6 |
dash |
17 |
no-host |
bin-true |
2,399 |
807 |
1,848 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
804 |
288 |
532 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
798 |
301 |
515 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,752 |
6,731 |
8,406 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,872 |
6,713 |
8,599 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,793 |
14,384 |
16,299 |
29.3 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,301 |
6,720 |
8,874 |
29.2 |
osh-native |
34 |
no-host |
configure.cpython |
15,284 |
6,744 |
8,710 |
29.1 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,763 |
1,371 |
1,434 |
22.6 |
bash |
12 |
no-host |
configure.ocaml |
3,728 |
1,302 |
1,448 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,741 |
1,917 |
2,049 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,829 |
1,286 |
1,586 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,855 |
1,377 |
1,518 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
47 |
20 |
28 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
40 |
20 |
20 |
19.5 |
dash |
21 |
no-host |
configure.tcc |
210 |
140 |
74 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
48 |
17 |
31 |
19.8 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
18 |
30 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,635 |
5,788 |
8,333 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,796 |
5,990 |
9,315 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
32,381 |
18,344 |
15,172 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,289 |
5,698 |
8,815 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,233 |
5,580 |
8,882 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,823 |
910 |
924 |
26.5 |
bash |
14 |
no-host |
configure.yash |
1,750 |
883 |
871 |
26.4 |
dash |
22 |
no-host |
configure.yash |
2,546 |
1,368 |
1,223 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,834 |
917 |
920 |
26.5 |
osh-native |
38 |
no-host |
configure.yash |
1,822 |
917 |
911 |
26.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 |
58 |
35 |
23 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.3 |
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,523 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,099 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,342 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,197 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
39 |
no-host |
abuild-print-help |
3,072 |
0 |
0 |
0 |
16 |
0 |
39 |
4 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,363 |
0 |
0 |
0 |
8 |
0 |
1,984 |
167 |
bash |
9 |
no-host |
bin-true |
66,415 |
0 |
0 |
0 |
8 |
0 |
1,979 |
104 |
dash |
17 |
no-host |
bin-true |
808,252 |
0 |
0 |
0 |
8 |
0 |
1,994 |
442 |
osh-cpython |
25 |
no-host |
bin-true |
128,333 |
0 |
0 |
0 |
16 |
0 |
1,975 |
104 |
osh-native |
33 |
no-host |
bin-true |
125,356 |
0 |
0 |
0 |
16 |
0 |
1,984 |
154 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,993,058 |
0 |
0 |
0 |
32,952 |
0 |
14,223 |
1,257 |
bash |
10 |
no-host |
configure.cpython |
2,026,881 |
0 |
0 |
0 |
32,992 |
0 |
14,336 |
1,295 |
dash |
18 |
no-host |
configure.cpython |
6,097,025 |
0 |
0 |
0 |
27,512 |
0 |
13,043 |
1,225 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,015,546 |
1 |
0 |
0 |
27,520 |
0 |
13,034 |
1,106 |
osh-native |
34 |
no-host |
configure.cpython |
1,993,597 |
0 |
0 |
0 |
27,520 |
0 |
13,056 |
1,032 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,291 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
205 |
bash |
12 |
no-host |
configure.ocaml |
353,665 |
0 |
0 |
0 |
5,112 |
0 |
1,943 |
166 |
dash |
20 |
no-host |
configure.ocaml |
615,311 |
0 |
0 |
0 |
5,112 |
0 |
1,847 |
210 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,690 |
0 |
0 |
0 |
5,120 |
0 |
1,928 |
211 |
osh-native |
36 |
no-host |
configure.ocaml |
375,734 |
0 |
0 |
0 |
5,120 |
0 |
1,917 |
202 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,051 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
5,002 |
0 |
0 |
0 |
96 |
0 |
46 |
4 |
dash |
21 |
no-host |
configure.tcc |
24,051 |
0 |
0 |
0 |
96 |
0 |
53 |
2 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,506 |
0 |
0 |
0 |
104 |
0 |
47 |
6 |
osh-native |
37 |
no-host |
configure.tcc |
6,448 |
0 |
0 |
0 |
104 |
0 |
47 |
1 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,909,079 |
1 |
0 |
0 |
42,400 |
0 |
18,460 |
1,219 |
bash |
11 |
no-host |
configure.util-linux |
2,074,240 |
0 |
0 |
0 |
42,584 |
0 |
17,303 |
1,367 |
dash |
19 |
no-host |
configure.util-linux |
5,288,036 |
4 |
0 |
0 |
39,112 |
0 |
16,984 |
1,254 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,815,086 |
1 |
0 |
0 |
39,128 |
0 |
17,007 |
1,147 |
osh-native |
35 |
no-host |
configure.util-linux |
1,809,390 |
0 |
0 |
0 |
39,136 |
0 |
16,932 |
1,184 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,690 |
0 |
0 |
0 |
4,120 |
0 |
868 |
93 |
bash |
14 |
no-host |
configure.yash |
221,348 |
0 |
0 |
0 |
3,720 |
0 |
865 |
89 |
dash |
22 |
no-host |
configure.yash |
369,714 |
0 |
0 |
0 |
3,728 |
0 |
854 |
112 |
osh-cpython |
30 |
no-host |
configure.yash |
234,941 |
0 |
0 |
0 |
3,736 |
0 |
847 |
97 |
osh-native |
38 |
no-host |
configure.yash |
235,221 |
0 |
0 |
0 |
3,736 |
0 |
853 |
98 |
osh-native-souffle |
0 |
no-host |
hello-world |
145 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
72 |
0 |
0 |
0 |
8 |
0 |
1 |
1 |
dash |
16 |
no-host |
hello-world |
3,970 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
339 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host