oilshell.org
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 |
455 |
22 |
21 |
23.39 |
1.15 |
bin-true |
no-host |
669 |
545 |
2,257 |
813 |
821 |
3.38 |
1.22 |
configure.cpython |
no-host |
15,134 |
15,262 |
28,662 |
15,593 |
15,486 |
1.89 |
1.03 |
configure.ocaml |
no-host |
3,822 |
3,739 |
4,669 |
3,860 |
3,887 |
1.22 |
1.01 |
configure.tcc |
no-host |
48 |
42 |
193 |
51 |
49 |
4.02 |
1.06 |
configure.util-linux |
no-host |
14,086 |
14,962 |
31,210 |
14,545 |
14,593 |
2.22 |
1.03 |
configure.yash |
no-host |
1,845 |
1,779 |
2,471 |
1,838 |
1,858 |
1.34 |
1.00 |
hello-world |
no-host |
2 |
1 |
49 |
3 |
3 |
30.12 |
1.81 |
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,543 |
1,090 |
23,275 |
3,215 |
3,103 |
9.15 |
1.26 |
bin-true |
no-host |
104,372 |
66,443 |
758,970 |
127,138 |
128,936 |
7.27 |
1.22 |
configure.cpython |
no-host |
2,222,148 |
2,249,676 |
6,236,406 |
2,234,502 |
2,221,791 |
2.81 |
1.01 |
configure.ocaml |
no-host |
410,289 |
391,484 |
645,420 |
413,968 |
412,871 |
1.57 |
1.01 |
configure.tcc |
no-host |
6,559 |
5,476 |
23,530 |
6,984 |
6,906 |
3.59 |
1.06 |
configure.util-linux |
no-host |
2,103,218 |
2,255,325 |
5,347,727 |
2,003,664 |
1,995,564 |
2.54 |
0.95 |
configure.yash |
no-host |
256,113 |
244,402 |
386,956 |
258,528 |
258,304 |
1.51 |
1.01 |
hello-world |
no-host |
150 |
82 |
3,728 |
348 |
344 |
24.85 |
2.32 |
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,773 |
3,773 |
0 |
694 |
1,851 |
1,228 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
813 |
1 |
2 |
2.6 |
8.0 |
154,738 |
13,218 |
2,875 |
9,744 |
78,320 |
66,674 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,593 |
2 |
64 |
15.0 |
27.4 |
1,772,720 |
49,852 |
28,585 |
86,397 |
908,072 |
778,251 |
22,694 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,545 |
3 |
63 |
21.3 |
30.1 |
2,703,488 |
42,056 |
65,868 |
109,675 |
1,320,578 |
1,273,235 |
27,391 |
41 |
131,736 |
1 |
configure.ocaml |
no-host |
3,860 |
1 |
2 |
2.6 |
20.6 |
150,094 |
11,049 |
5,219 |
7,531 |
71,605 |
70,958 |
1,448 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
51 |
0 |
0 |
1.3 |
19.3 |
30,579 |
30,579 |
0 |
1,520 |
14,775 |
14,284 |
226 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,838 |
1 |
2 |
2.6 |
24.4 |
139,747 |
8,018 |
6,677 |
6,336 |
70,280 |
63,131 |
1,803 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
9.0 |
116,322 |
64,528 |
42,738 |
4,571 |
54,520 |
57,231 |
270 |
3 |
85,476 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.2 |
5.9 |
3,772 |
3,772 |
0 |
695 |
1,851 |
1,226 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
821 |
1 |
2 |
2.6 |
7.7 |
154,737 |
13,061 |
2,813 |
9,745 |
78,320 |
66,672 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,486 |
2 |
62 |
14.9 |
27.4 |
1,772,719 |
49,103 |
28,523 |
86,398 |
908,072 |
778,249 |
22,694 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,593 |
3 |
63 |
21.3 |
30.0 |
2,703,488 |
42,739 |
65,826 |
109,677 |
1,320,578 |
1,273,233 |
27,391 |
41 |
131,652 |
1 |
configure.ocaml |
no-host |
3,887 |
1 |
2 |
2.6 |
20.6 |
150,094 |
10,987 |
5,157 |
7,533 |
71,605 |
70,956 |
1,448 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
19.3 |
30,579 |
30,579 |
0 |
1,522 |
14,775 |
14,282 |
226 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,858 |
1 |
2 |
2.6 |
24.4 |
139,747 |
7,956 |
6,615 |
6,338 |
70,280 |
63,129 |
1,803 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
8.5 |
116,321 |
64,466 |
42,676 |
4,572 |
54,520 |
57,229 |
270 |
3 |
85,352 |
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.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
7 |
3 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
455 |
408 |
51 |
22.0 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
17 |
6 |
9.0 |
osh-native |
39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
8.5 |
osh-native-souffle |
1 |
no-host |
bin-true |
669 |
493 |
207 |
2.9 |
bash |
9 |
no-host |
bin-true |
545 |
426 |
128 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,257 |
1,487 |
1,033 |
17.7 |
osh-cpython |
25 |
no-host |
bin-true |
813 |
571 |
257 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
821 |
572 |
264 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
15,134 |
9,136 |
6,404 |
27.4 |
bash |
10 |
no-host |
configure.cpython |
15,262 |
9,350 |
6,343 |
27.4 |
dash |
18 |
no-host |
configure.cpython |
28,662 |
17,492 |
13,024 |
27.5 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,593 |
9,117 |
6,745 |
27.4 |
osh-native |
34 |
no-host |
configure.cpython |
15,486 |
9,225 |
6,404 |
27.4 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,822 |
1,697 |
1,164 |
20.7 |
bash |
12 |
no-host |
configure.ocaml |
3,739 |
1,566 |
1,192 |
20.6 |
dash |
20 |
no-host |
configure.ocaml |
4,669 |
2,363 |
1,515 |
20.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,860 |
1,698 |
1,203 |
20.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,887 |
1,741 |
1,182 |
20.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
48 |
30 |
19 |
19.3 |
bash |
13 |
no-host |
configure.tcc |
42 |
20 |
22 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
193 |
132 |
64 |
19.3 |
osh-cpython |
29 |
no-host |
configure.tcc |
51 |
28 |
23 |
19.3 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
41 |
9 |
19.3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
14,086 |
8,873 |
5,686 |
30.1 |
bash |
11 |
no-host |
configure.util-linux |
14,962 |
9,338 |
6,117 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,210 |
20,857 |
11,438 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,545 |
8,813 |
5,917 |
30.1 |
osh-native |
35 |
no-host |
configure.util-linux |
14,593 |
8,682 |
6,106 |
30.0 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,845 |
1,077 |
776 |
24.4 |
bash |
14 |
no-host |
configure.yash |
1,779 |
1,063 |
719 |
24.4 |
dash |
22 |
no-host |
configure.yash |
2,471 |
1,499 |
1,014 |
24.2 |
osh-cpython |
30 |
no-host |
configure.yash |
1,838 |
1,128 |
715 |
24.4 |
osh-native |
38 |
no-host |
configure.yash |
1,858 |
1,087 |
776 |
24.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
2 |
0 |
2 |
2.8 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
16 |
no-host |
hello-world |
49 |
29 |
20 |
17.7 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
3 |
0 |
6.2 |
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,543 |
0 |
0 |
0 |
16 |
0 |
41 |
1 |
bash |
15 |
no-host |
abuild-print-help |
1,090 |
0 |
0 |
0 |
8 |
0 |
39 |
2 |
dash |
23 |
no-host |
abuild-print-help |
23,275 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,215 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native |
39 |
no-host |
abuild-print-help |
3,103 |
0 |
0 |
0 |
16 |
0 |
39 |
3 |
osh-native-souffle |
1 |
no-host |
bin-true |
104,372 |
0 |
0 |
0 |
8 |
0 |
1,988 |
73 |
bash |
9 |
no-host |
bin-true |
66,443 |
0 |
0 |
0 |
8 |
0 |
1,985 |
64 |
dash |
17 |
no-host |
bin-true |
758,970 |
0 |
0 |
0 |
8 |
0 |
1,996 |
233 |
osh-cpython |
25 |
no-host |
bin-true |
127,138 |
0 |
0 |
0 |
16 |
0 |
1,987 |
71 |
osh-native |
33 |
no-host |
bin-true |
128,936 |
0 |
0 |
0 |
16 |
0 |
1,988 |
67 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,222,148 |
0 |
0 |
0 |
32,928 |
0 |
14,474 |
1,067 |
bash |
10 |
no-host |
configure.cpython |
2,249,676 |
0 |
0 |
0 |
32,992 |
0 |
14,581 |
1,163 |
dash |
18 |
no-host |
configure.cpython |
6,236,406 |
0 |
0 |
0 |
27,512 |
0 |
13,256 |
1,229 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,234,502 |
0 |
0 |
0 |
27,520 |
0 |
13,287 |
1,178 |
osh-native |
34 |
no-host |
configure.cpython |
2,221,791 |
0 |
0 |
0 |
27,520 |
0 |
13,236 |
962 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
410,289 |
0 |
0 |
0 |
5,120 |
0 |
1,949 |
161 |
bash |
12 |
no-host |
configure.ocaml |
391,484 |
0 |
0 |
0 |
5,112 |
0 |
1,937 |
162 |
dash |
20 |
no-host |
configure.ocaml |
645,420 |
0 |
0 |
0 |
5,112 |
0 |
1,856 |
174 |
osh-cpython |
28 |
no-host |
configure.ocaml |
413,968 |
0 |
0 |
0 |
5,120 |
0 |
1,933 |
188 |
osh-native |
36 |
no-host |
configure.ocaml |
412,871 |
0 |
0 |
0 |
5,120 |
0 |
1,929 |
283 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,559 |
0 |
0 |
0 |
104 |
0 |
48 |
5 |
bash |
13 |
no-host |
configure.tcc |
5,476 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
23,530 |
0 |
0 |
0 |
96 |
0 |
53 |
11 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,984 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native |
37 |
no-host |
configure.tcc |
6,906 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
2,103,218 |
1 |
0 |
0 |
42,400 |
0 |
18,622 |
1,083 |
bash |
11 |
no-host |
configure.util-linux |
2,255,325 |
1 |
0 |
0 |
42,592 |
0 |
17,511 |
1,140 |
dash |
19 |
no-host |
configure.util-linux |
5,347,727 |
8 |
0 |
0 |
39,112 |
0 |
16,939 |
1,243 |
osh-cpython |
27 |
no-host |
configure.util-linux |
2,003,664 |
0 |
0 |
0 |
39,120 |
0 |
16,979 |
1,045 |
osh-native |
35 |
no-host |
configure.util-linux |
1,995,564 |
0 |
0 |
0 |
39,128 |
0 |
16,991 |
1,015 |
osh-native-souffle |
6 |
no-host |
configure.yash |
256,113 |
0 |
0 |
0 |
4,120 |
0 |
871 |
84 |
bash |
14 |
no-host |
configure.yash |
244,402 |
0 |
0 |
0 |
3,720 |
0 |
868 |
77 |
dash |
22 |
no-host |
configure.yash |
386,956 |
0 |
0 |
0 |
3,728 |
0 |
853 |
80 |
osh-cpython |
30 |
no-host |
configure.yash |
258,528 |
0 |
0 |
0 |
3,736 |
0 |
847 |
79 |
osh-native |
38 |
no-host |
configure.yash |
258,304 |
0 |
0 |
0 |
3,736 |
0 |
850 |
71 |
osh-native-souffle |
0 |
no-host |
hello-world |
150 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
82 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,728 |
0 |
0 |
0 |
8 |
0 |
7 |
4 |
osh-cpython |
24 |
no-host |
hello-world |
348 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
32 |
no-host |
hello-world |
344 |
0 |
0 |
0 |
16 |
0 |
0 |
1 |
osh-native-souffle |
Shell and Host