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 |
16 |
9 |
538 |
22 |
21 |
33.54 |
1.37 |
| bin-true |
no-host |
647 |
464 |
2,539 |
830 |
837 |
3.93 |
1.28 |
| configure.cpython |
no-host |
14,257 |
14,318 |
30,646 |
15,117 |
15,196 |
2.15 |
1.06 |
| configure.ocaml |
no-host |
3,798 |
3,744 |
4,765 |
3,837 |
3,830 |
1.25 |
1.01 |
| configure.tcc |
no-host |
47 |
43 |
227 |
51 |
50 |
4.80 |
1.08 |
| configure.util-linux |
no-host |
12,967 |
13,859 |
33,007 |
14,167 |
14,213 |
2.55 |
1.09 |
| configure.yash |
no-host |
1,753 |
1,727 |
2,490 |
1,793 |
1,795 |
1.42 |
1.02 |
| hello-world |
no-host |
1 |
1 |
62 |
3 |
3 |
45.19 |
2.23 |
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,432 |
1,176 |
24,812 |
3,475 |
3,368 |
10.20 |
1.43 |
| bin-true |
no-host |
100,917 |
49,440 |
835,983 |
135,349 |
135,297 |
8.28 |
1.34 |
| configure.cpython |
no-host |
1,619,699 |
1,645,092 |
5,956,859 |
1,805,582 |
1,784,700 |
3.68 |
1.11 |
| configure.ocaml |
no-host |
298,588 |
280,965 |
556,056 |
316,480 |
315,185 |
1.86 |
1.06 |
| configure.tcc |
no-host |
5,235 |
4,215 |
23,754 |
5,908 |
5,897 |
4.54 |
1.13 |
| configure.util-linux |
no-host |
1,528,726 |
1,700,956 |
4,967,921 |
1,726,591 |
1,706,058 |
3.25 |
1.13 |
| configure.yash |
no-host |
173,625 |
159,559 |
315,554 |
179,181 |
178,813 |
1.82 |
1.03 |
| hello-world |
no-host |
154 |
86 |
3,876 |
383 |
376 |
25.17 |
2.49 |
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.9 |
3,826 |
3,826 |
0 |
704 |
1,881 |
1,241 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
830 |
1 |
2 |
2.6 |
8.7 |
156,798 |
15,428 |
2,915 |
8,761 |
77,348 |
70,689 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
15,117 |
1 |
68 |
15.2 |
34.4 |
1,782,989 |
46,101 |
25,356 |
91,622 |
885,112 |
806,255 |
25,789 |
62 |
50,000 |
0 |
| configure.util-linux |
no-host |
14,167 |
3 |
64 |
21.4 |
39.4 |
2,707,122 |
126,354 |
66,586 |
113,463 |
1,294,568 |
1,299,091 |
32,539 |
41 |
133,172 |
1 |
| configure.ocaml |
no-host |
3,837 |
1 |
2 |
2.7 |
28.8 |
149,873 |
12,476 |
6,519 |
7,819 |
70,840 |
71,214 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
51 |
0 |
0 |
1.3 |
26.3 |
30,628 |
30,628 |
0 |
1,582 |
14,646 |
14,400 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,793 |
1 |
2 |
2.6 |
33.2 |
140,017 |
8,080 |
6,714 |
6,526 |
68,348 |
65,143 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
10.0 |
116,368 |
64,438 |
42,639 |
4,562 |
54,472 |
57,334 |
277 |
3 |
85,278 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.4 |
3,825 |
3,825 |
0 |
705 |
1,881 |
1,239 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
837 |
1 |
2 |
2.6 |
8.3 |
156,797 |
15,423 |
2,910 |
8,762 |
77,348 |
70,687 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
15,196 |
1 |
68 |
15.2 |
34.4 |
1,782,988 |
46,087 |
25,352 |
91,623 |
885,112 |
806,253 |
25,789 |
62 |
50,000 |
0 |
| configure.util-linux |
no-host |
14,213 |
3 |
63 |
21.4 |
39.6 |
2,707,122 |
126,347 |
66,579 |
113,465 |
1,294,568 |
1,299,089 |
32,539 |
41 |
133,158 |
1 |
| configure.ocaml |
no-host |
3,830 |
1 |
2 |
2.7 |
28.7 |
149,873 |
12,470 |
6,513 |
7,821 |
70,840 |
71,212 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
26.3 |
30,628 |
30,628 |
0 |
1,584 |
14,646 |
14,398 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,795 |
1 |
2 |
2.6 |
33.1 |
140,017 |
8,069 |
6,703 |
6,528 |
68,348 |
65,141 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
1 |
2 |
2.8 |
9.2 |
116,367 |
64,433 |
42,634 |
4,563 |
54,472 |
57,332 |
277 |
3 |
85,268 |
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 |
16 |
9 |
8 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
2 |
7 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
538 |
477 |
65 |
22.7 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
22 |
12 |
11 |
10.0 |
osh-native |
| 39 |
no-host |
abuild-print-help |
21 |
12 |
10 |
9.2 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
647 |
318 |
367 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
464 |
283 |
187 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
2,539 |
888 |
1,929 |
18.2 |
osh-cpython |
| 25 |
no-host |
bin-true |
830 |
298 |
547 |
8.7 |
osh-native |
| 33 |
no-host |
bin-true |
837 |
287 |
568 |
8.3 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
14,257 |
7,656 |
6,988 |
34.8 |
bash |
| 10 |
no-host |
configure.cpython |
14,318 |
7,749 |
6,955 |
34.3 |
dash |
| 18 |
no-host |
configure.cpython |
30,646 |
16,763 |
15,941 |
34.7 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
15,117 |
7,483 |
7,941 |
34.4 |
osh-native |
| 34 |
no-host |
configure.cpython |
15,196 |
7,401 |
7,953 |
34.4 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
3,798 |
1,460 |
1,362 |
28.6 |
bash |
| 12 |
no-host |
configure.ocaml |
3,744 |
1,472 |
1,295 |
28.5 |
dash |
| 20 |
no-host |
configure.ocaml |
4,765 |
2,128 |
1,864 |
28.7 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
3,837 |
1,507 |
1,373 |
28.8 |
osh-native |
| 36 |
no-host |
configure.ocaml |
3,830 |
1,512 |
1,358 |
28.7 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
47 |
24 |
24 |
26.4 |
bash |
| 13 |
no-host |
configure.tcc |
43 |
18 |
25 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
227 |
159 |
72 |
26.2 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
51 |
25 |
27 |
26.3 |
osh-native |
| 37 |
no-host |
configure.tcc |
50 |
29 |
22 |
26.3 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
12,967 |
6,651 |
6,783 |
39.6 |
bash |
| 11 |
no-host |
configure.util-linux |
13,859 |
6,461 |
7,913 |
39.9 |
dash |
| 19 |
no-host |
configure.util-linux |
33,007 |
20,558 |
13,553 |
39.5 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
14,167 |
6,371 |
8,033 |
39.4 |
osh-native |
| 35 |
no-host |
configure.util-linux |
14,213 |
6,378 |
7,913 |
39.6 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
1,753 |
954 |
807 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,727 |
948 |
782 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
2,490 |
1,474 |
1,060 |
33.2 |
osh-cpython |
| 30 |
no-host |
configure.yash |
1,793 |
955 |
837 |
33.2 |
osh-native |
| 38 |
no-host |
configure.yash |
1,795 |
972 |
822 |
33.1 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
62 |
42 |
19 |
18.2 |
osh-cpython |
| 24 |
no-host |
hello-world |
3 |
1 |
2 |
6.9 |
osh-native |
| 32 |
no-host |
hello-world |
3 |
2 |
1 |
6.4 |
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,432 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,176 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
24,812 |
0 |
0 |
0 |
8 |
0 |
45 |
8 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
3,475 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
| 39 |
no-host |
abuild-print-help |
3,368 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
100,917 |
0 |
0 |
0 |
8 |
0 |
1,980 |
84 |
bash |
| 9 |
no-host |
bin-true |
49,440 |
0 |
0 |
0 |
8 |
0 |
2,957 |
61 |
dash |
| 17 |
no-host |
bin-true |
835,983 |
0 |
0 |
0 |
8 |
0 |
1,974 |
232 |
osh-cpython |
| 25 |
no-host |
bin-true |
135,349 |
0 |
0 |
0 |
16 |
0 |
1,953 |
108 |
osh-native |
| 33 |
no-host |
bin-true |
135,297 |
0 |
0 |
0 |
16 |
0 |
1,971 |
127 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
1,619,699 |
0 |
0 |
0 |
25,272 |
0 |
14,025 |
1,170 |
bash |
| 10 |
no-host |
configure.cpython |
1,645,092 |
1 |
0 |
0 |
25,272 |
0 |
14,068 |
1,175 |
dash |
| 18 |
no-host |
configure.cpython |
5,956,859 |
0 |
0 |
0 |
25,272 |
0 |
12,876 |
1,173 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
1,805,582 |
0 |
0 |
0 |
25,280 |
0 |
12,854 |
1,116 |
osh-native |
| 34 |
no-host |
configure.cpython |
1,784,700 |
0 |
0 |
0 |
25,280 |
0 |
12,846 |
1,066 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
298,588 |
0 |
0 |
0 |
4,432 |
0 |
2,022 |
180 |
bash |
| 12 |
no-host |
configure.ocaml |
280,965 |
0 |
0 |
0 |
4,432 |
0 |
2,093 |
213 |
dash |
| 20 |
no-host |
configure.ocaml |
556,056 |
0 |
0 |
0 |
4,432 |
0 |
1,912 |
197 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
316,480 |
0 |
0 |
0 |
4,440 |
0 |
1,999 |
213 |
osh-native |
| 36 |
no-host |
configure.ocaml |
315,185 |
0 |
0 |
0 |
4,440 |
0 |
2,004 |
212 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
5,235 |
0 |
0 |
0 |
80 |
0 |
49 |
6 |
bash |
| 13 |
no-host |
configure.tcc |
4,215 |
0 |
0 |
0 |
88 |
0 |
52 |
4 |
dash |
| 21 |
no-host |
configure.tcc |
23,754 |
0 |
0 |
0 |
88 |
0 |
53 |
7 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
5,908 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
osh-native |
| 37 |
no-host |
configure.tcc |
5,897 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
1,528,726 |
0 |
0 |
0 |
35,944 |
0 |
18,913 |
1,122 |
bash |
| 11 |
no-host |
configure.util-linux |
1,700,956 |
1 |
0 |
0 |
35,936 |
0 |
17,009 |
1,262 |
dash |
| 19 |
no-host |
configure.util-linux |
4,967,921 |
7 |
0 |
0 |
35,944 |
0 |
17,521 |
1,087 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
1,726,591 |
0 |
0 |
0 |
35,944 |
0 |
17,514 |
1,036 |
osh-native |
| 35 |
no-host |
configure.util-linux |
1,706,058 |
4 |
0 |
0 |
35,952 |
0 |
17,483 |
988 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
173,625 |
0 |
0 |
0 |
3,616 |
0 |
876 |
127 |
bash |
| 14 |
no-host |
configure.yash |
159,559 |
0 |
0 |
0 |
3,616 |
0 |
1,000 |
132 |
dash |
| 22 |
no-host |
configure.yash |
315,554 |
0 |
0 |
0 |
3,616 |
0 |
861 |
132 |
osh-cpython |
| 30 |
no-host |
configure.yash |
179,181 |
0 |
0 |
0 |
3,624 |
0 |
856 |
143 |
osh-native |
| 38 |
no-host |
configure.yash |
178,813 |
0 |
0 |
0 |
3,624 |
0 |
859 |
124 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
154 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
86 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
3,876 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
| 24 |
no-host |
hello-world |
383 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native |
| 32 |
no-host |
hello-world |
376 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host