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 |
545 |
22 |
20 |
34.98 |
1.38 |
| bin-true |
no-host |
635 |
433 |
2,436 |
805 |
806 |
3.84 |
1.27 |
| configure.cpython |
no-host |
13,652 |
13,617 |
29,926 |
14,820 |
14,718 |
2.19 |
1.09 |
| configure.ocaml |
no-host |
3,619 |
3,636 |
4,743 |
3,820 |
3,691 |
1.31 |
1.06 |
| configure.tcc |
no-host |
45 |
42 |
221 |
50 |
48 |
4.91 |
1.11 |
| configure.util-linux |
no-host |
12,402 |
13,210 |
32,766 |
13,631 |
13,846 |
2.64 |
1.10 |
| configure.yash |
no-host |
1,688 |
1,661 |
2,459 |
1,742 |
1,692 |
1.46 |
1.03 |
| hello-world |
no-host |
1 |
1 |
63 |
3 |
3 |
53.00 |
2.52 |
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,422 |
1,174 |
24,864 |
3,477 |
3,337 |
10.27 |
1.44 |
| bin-true |
no-host |
102,937 |
49,375 |
831,663 |
136,266 |
138,258 |
8.08 |
1.32 |
| configure.cpython |
no-host |
1,621,483 |
1,641,315 |
6,012,919 |
1,801,613 |
1,784,444 |
3.71 |
1.11 |
| configure.ocaml |
no-host |
298,787 |
280,827 |
557,320 |
317,974 |
315,290 |
1.87 |
1.06 |
| configure.tcc |
no-host |
5,201 |
4,199 |
23,889 |
5,937 |
5,918 |
4.59 |
1.14 |
| configure.util-linux |
no-host |
1,537,144 |
1,696,210 |
5,003,440 |
1,720,714 |
1,706,464 |
3.26 |
1.12 |
| configure.yash |
no-host |
173,755 |
159,469 |
316,364 |
179,323 |
179,109 |
1.82 |
1.03 |
| hello-world |
no-host |
153 |
86 |
3,892 |
382 |
379 |
25.44 |
2.50 |
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.8 |
3,826 |
3,826 |
0 |
704 |
1,881 |
1,241 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
805 |
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 |
14,820 |
1 |
66 |
15.2 |
34.5 |
1,782,989 |
46,101 |
25,356 |
91,622 |
885,112 |
806,255 |
25,789 |
62 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,631 |
3 |
60 |
21.4 |
39.6 |
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,820 |
1 |
2 |
2.7 |
28.6 |
149,873 |
12,476 |
6,519 |
7,819 |
70,840 |
71,214 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
50 |
0 |
0 |
1.3 |
26.2 |
30,628 |
30,628 |
0 |
1,582 |
14,646 |
14,400 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,742 |
1 |
2 |
2.6 |
33.1 |
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 |
9.8 |
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 |
806 |
1 |
2 |
2.6 |
8.4 |
156,797 |
15,423 |
2,910 |
8,762 |
77,348 |
70,687 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,718 |
1 |
65 |
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 |
13,846 |
3 |
62 |
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,691 |
1 |
2 |
2.7 |
28.6 |
149,873 |
12,470 |
6,513 |
7,821 |
70,840 |
71,212 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
26.0 |
30,628 |
30,628 |
0 |
1,584 |
14,646 |
14,398 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,692 |
1 |
2 |
2.6 |
33.4 |
140,017 |
8,069 |
6,703 |
6,528 |
68,348 |
65,141 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
9.3 |
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 |
10 |
6 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
3 |
6 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
545 |
481 |
68 |
22.7 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
22 |
11 |
12 |
9.8 |
osh-native |
| 39 |
no-host |
abuild-print-help |
20 |
10 |
11 |
9.3 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
635 |
307 |
365 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
433 |
275 |
165 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
2,436 |
839 |
1,868 |
18.2 |
osh-cpython |
| 25 |
no-host |
bin-true |
805 |
314 |
509 |
8.7 |
osh-native |
| 33 |
no-host |
bin-true |
806 |
303 |
519 |
8.4 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
13,652 |
7,370 |
6,662 |
34.6 |
bash |
| 10 |
no-host |
configure.cpython |
13,617 |
7,425 |
6,582 |
34.6 |
dash |
| 18 |
no-host |
configure.cpython |
29,926 |
16,409 |
15,542 |
34.4 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
14,820 |
7,428 |
7,695 |
34.5 |
osh-native |
| 34 |
no-host |
configure.cpython |
14,718 |
7,360 |
7,527 |
34.4 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
3,619 |
1,409 |
1,250 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,636 |
1,442 |
1,215 |
28.5 |
dash |
| 20 |
no-host |
configure.ocaml |
4,743 |
2,117 |
1,857 |
28.8 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
3,820 |
1,509 |
1,354 |
28.6 |
osh-native |
| 36 |
no-host |
configure.ocaml |
3,691 |
1,437 |
1,292 |
28.6 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
45 |
24 |
22 |
26.1 |
bash |
| 13 |
no-host |
configure.tcc |
42 |
25 |
17 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
221 |
161 |
64 |
26.2 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
50 |
27 |
24 |
26.2 |
osh-native |
| 37 |
no-host |
configure.tcc |
48 |
23 |
25 |
26.0 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
12,402 |
6,507 |
6,351 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,210 |
6,376 |
7,315 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
32,766 |
20,550 |
13,324 |
39.7 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
13,631 |
6,287 |
7,578 |
39.6 |
osh-native |
| 35 |
no-host |
configure.util-linux |
13,846 |
6,327 |
7,600 |
39.6 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
1,688 |
959 |
735 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,661 |
911 |
751 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
2,459 |
1,463 |
1,040 |
33.4 |
osh-cpython |
| 30 |
no-host |
configure.yash |
1,742 |
940 |
805 |
33.1 |
osh-native |
| 38 |
no-host |
configure.yash |
1,692 |
958 |
737 |
33.4 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.1 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
63 |
41 |
22 |
18.0 |
osh-cpython |
| 24 |
no-host |
hello-world |
3 |
0 |
3 |
6.8 |
osh-native |
| 32 |
no-host |
hello-world |
3 |
1 |
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,422 |
0 |
0 |
0 |
8 |
0 |
41 |
1 |
bash |
| 15 |
no-host |
abuild-print-help |
1,174 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
24,864 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
3,477 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 39 |
no-host |
abuild-print-help |
3,337 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
102,937 |
0 |
0 |
0 |
8 |
0 |
1,982 |
59 |
bash |
| 9 |
no-host |
bin-true |
49,375 |
0 |
0 |
0 |
8 |
0 |
2,983 |
47 |
dash |
| 17 |
no-host |
bin-true |
831,663 |
0 |
0 |
0 |
8 |
0 |
1,992 |
120 |
osh-cpython |
| 25 |
no-host |
bin-true |
136,266 |
0 |
0 |
0 |
16 |
0 |
1,979 |
64 |
osh-native |
| 33 |
no-host |
bin-true |
138,258 |
0 |
0 |
0 |
16 |
0 |
1,968 |
88 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
1,621,483 |
0 |
0 |
0 |
25,272 |
0 |
14,046 |
1,149 |
bash |
| 10 |
no-host |
configure.cpython |
1,641,315 |
1 |
0 |
0 |
25,272 |
0 |
14,076 |
1,021 |
dash |
| 18 |
no-host |
configure.cpython |
6,012,919 |
0 |
0 |
0 |
25,272 |
0 |
12,871 |
901 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
1,801,613 |
0 |
0 |
0 |
25,280 |
0 |
12,815 |
998 |
osh-native |
| 34 |
no-host |
configure.cpython |
1,784,444 |
0 |
0 |
0 |
25,280 |
0 |
12,826 |
1,120 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
298,787 |
0 |
0 |
0 |
4,432 |
0 |
2,013 |
191 |
bash |
| 12 |
no-host |
configure.ocaml |
280,827 |
0 |
0 |
0 |
4,432 |
0 |
2,094 |
193 |
dash |
| 20 |
no-host |
configure.ocaml |
557,320 |
1 |
0 |
0 |
4,432 |
0 |
1,914 |
174 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
317,974 |
0 |
0 |
0 |
4,440 |
0 |
2,003 |
201 |
osh-native |
| 36 |
no-host |
configure.ocaml |
315,290 |
0 |
0 |
0 |
4,440 |
0 |
2,001 |
210 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
5,201 |
0 |
0 |
0 |
80 |
0 |
49 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,199 |
0 |
0 |
0 |
88 |
0 |
52 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
23,889 |
0 |
0 |
0 |
88 |
0 |
53 |
3 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
5,937 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
osh-native |
| 37 |
no-host |
configure.tcc |
5,918 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
1,537,144 |
2 |
0 |
0 |
35,944 |
0 |
18,976 |
1,042 |
bash |
| 11 |
no-host |
configure.util-linux |
1,696,210 |
1 |
0 |
0 |
35,936 |
0 |
17,060 |
1,235 |
dash |
| 19 |
no-host |
configure.util-linux |
5,003,440 |
0 |
0 |
0 |
35,960 |
0 |
17,501 |
876 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
1,720,714 |
2 |
0 |
0 |
35,944 |
0 |
17,523 |
1,104 |
osh-native |
| 35 |
no-host |
configure.util-linux |
1,706,464 |
0 |
0 |
0 |
35,944 |
0 |
17,455 |
1,106 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
173,755 |
0 |
0 |
0 |
3,616 |
0 |
879 |
110 |
bash |
| 14 |
no-host |
configure.yash |
159,469 |
0 |
0 |
0 |
3,616 |
0 |
997 |
101 |
dash |
| 22 |
no-host |
configure.yash |
316,364 |
0 |
0 |
0 |
3,616 |
0 |
862 |
102 |
osh-cpython |
| 30 |
no-host |
configure.yash |
179,323 |
0 |
0 |
0 |
3,624 |
0 |
857 |
102 |
osh-native |
| 38 |
no-host |
configure.yash |
179,109 |
0 |
0 |
0 |
3,624 |
0 |
859 |
96 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
153 |
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,892 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
| 24 |
no-host |
hello-world |
382 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 32 |
no-host |
hello-world |
379 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host