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 |
15 |
9 |
521 |
21 |
21 |
34.10 |
1.40 |
| bin-true |
no-host |
606 |
433 |
2,420 |
778 |
786 |
4.00 |
1.28 |
| configure.cpython |
no-host |
13,455 |
13,501 |
28,698 |
14,287 |
14,477 |
2.13 |
1.06 |
| configure.ocaml |
no-host |
3,590 |
3,541 |
4,528 |
3,679 |
3,729 |
1.26 |
1.02 |
| configure.tcc |
no-host |
46 |
41 |
216 |
50 |
48 |
4.75 |
1.09 |
| configure.util-linux |
no-host |
12,226 |
13,012 |
31,403 |
13,382 |
13,497 |
2.57 |
1.09 |
| configure.yash |
no-host |
1,648 |
1,599 |
2,356 |
1,723 |
1,696 |
1.43 |
1.05 |
| hello-world |
no-host |
1 |
1 |
59 |
3 |
3 |
50.98 |
2.42 |
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,383 |
1,161 |
24,813 |
3,435 |
3,377 |
10.41 |
1.44 |
| bin-true |
no-host |
100,907 |
49,444 |
835,078 |
134,267 |
135,291 |
8.28 |
1.33 |
| configure.cpython |
no-host |
1,627,303 |
1,636,209 |
5,959,201 |
1,813,608 |
1,791,110 |
3.66 |
1.11 |
| configure.ocaml |
no-host |
299,154 |
280,674 |
556,929 |
316,378 |
315,200 |
1.86 |
1.06 |
| configure.tcc |
no-host |
5,190 |
4,218 |
23,790 |
5,976 |
5,927 |
4.58 |
1.15 |
| configure.util-linux |
no-host |
1,536,495 |
1,696,815 |
4,965,376 |
1,715,166 |
1,702,554 |
3.23 |
1.12 |
| configure.yash |
no-host |
173,531 |
159,542 |
314,892 |
179,834 |
179,449 |
1.81 |
1.04 |
| hello-world |
no-host |
152 |
87 |
3,880 |
381 |
379 |
25.53 |
2.51 |
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 |
778 |
1 |
2 |
2.6 |
8.5 |
156,798 |
15,428 |
2,915 |
8,761 |
77,348 |
70,689 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,287 |
1 |
61 |
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 |
13,382 |
3 |
58 |
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,679 |
1 |
2 |
2.7 |
28.7 |
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.0 |
30,628 |
30,628 |
0 |
1,582 |
14,646 |
14,400 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,723 |
1 |
2 |
2.6 |
33.5 |
140,017 |
8,080 |
6,714 |
6,526 |
68,348 |
65,143 |
2,095 |
3 |
50,000 |
0 |
| abuild-print-help |
no-host |
21 |
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 |
786 |
1 |
2 |
2.6 |
8.1 |
156,797 |
15,423 |
2,910 |
8,762 |
77,348 |
70,687 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,477 |
1 |
62 |
15.2 |
34.5 |
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,497 |
3 |
58 |
21.4 |
39.7 |
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,729 |
1 |
2 |
2.7 |
28.5 |
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,696 |
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 |
21 |
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 |
15 |
10 |
6 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
4 |
4.1 |
dash |
| 23 |
no-host |
abuild-print-help |
521 |
463 |
62 |
22.7 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
21 |
11 |
11 |
9.8 |
osh-native |
| 39 |
no-host |
abuild-print-help |
21 |
11 |
11 |
9.3 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
606 |
317 |
324 |
3.3 |
bash |
| 9 |
no-host |
bin-true |
433 |
283 |
156 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
2,420 |
879 |
1,801 |
18.2 |
osh-cpython |
| 25 |
no-host |
bin-true |
778 |
326 |
469 |
8.5 |
osh-native |
| 33 |
no-host |
bin-true |
786 |
305 |
497 |
8.1 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
13,455 |
7,312 |
6,517 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
13,501 |
7,308 |
6,577 |
34.5 |
dash |
| 18 |
no-host |
configure.cpython |
28,698 |
15,833 |
14,773 |
34.5 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
14,287 |
7,142 |
7,443 |
34.4 |
osh-native |
| 34 |
no-host |
configure.cpython |
14,477 |
7,315 |
7,327 |
34.5 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
3,590 |
1,415 |
1,213 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,541 |
1,419 |
1,144 |
28.8 |
dash |
| 20 |
no-host |
configure.ocaml |
4,528 |
2,049 |
1,696 |
28.7 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
3,679 |
1,473 |
1,247 |
28.7 |
osh-native |
| 36 |
no-host |
configure.ocaml |
3,729 |
1,481 |
1,286 |
28.5 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
46 |
25 |
21 |
26.1 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
21 |
20 |
26.1 |
dash |
| 21 |
no-host |
configure.tcc |
216 |
152 |
68 |
26.3 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
50 |
25 |
25 |
26.0 |
osh-native |
| 37 |
no-host |
configure.tcc |
48 |
29 |
20 |
26.0 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
12,226 |
6,400 |
6,275 |
39.5 |
bash |
| 11 |
no-host |
configure.util-linux |
13,012 |
6,272 |
7,218 |
39.7 |
dash |
| 19 |
no-host |
configure.util-linux |
31,403 |
19,732 |
12,713 |
39.9 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
13,382 |
6,238 |
7,370 |
39.6 |
osh-native |
| 35 |
no-host |
configure.util-linux |
13,497 |
6,297 |
7,272 |
39.7 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
1,648 |
912 |
744 |
33.5 |
bash |
| 14 |
no-host |
configure.yash |
1,599 |
914 |
687 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
2,356 |
1,426 |
972 |
33.4 |
osh-cpython |
| 30 |
no-host |
configure.yash |
1,723 |
956 |
769 |
33.5 |
osh-native |
| 38 |
no-host |
configure.yash |
1,696 |
926 |
773 |
33.4 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
1 |
1 |
0 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
59 |
40 |
20 |
18.1 |
osh-cpython |
| 24 |
no-host |
hello-world |
3 |
1 |
2 |
6.8 |
osh-native |
| 32 |
no-host |
hello-world |
3 |
1 |
2 |
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,383 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,161 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
24,813 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
3,435 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native |
| 39 |
no-host |
abuild-print-help |
3,377 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
100,907 |
0 |
0 |
0 |
8 |
0 |
1,978 |
62 |
bash |
| 9 |
no-host |
bin-true |
49,444 |
0 |
0 |
0 |
8 |
0 |
2,978 |
51 |
dash |
| 17 |
no-host |
bin-true |
835,078 |
0 |
0 |
0 |
8 |
0 |
1,990 |
116 |
osh-cpython |
| 25 |
no-host |
bin-true |
134,267 |
0 |
0 |
0 |
16 |
0 |
1,986 |
83 |
osh-native |
| 33 |
no-host |
bin-true |
135,291 |
0 |
0 |
0 |
16 |
0 |
1,973 |
86 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
1,627,303 |
0 |
0 |
0 |
25,272 |
0 |
14,061 |
1,056 |
bash |
| 10 |
no-host |
configure.cpython |
1,636,209 |
0 |
0 |
0 |
25,272 |
0 |
14,072 |
1,042 |
dash |
| 18 |
no-host |
configure.cpython |
5,959,201 |
0 |
0 |
0 |
25,272 |
0 |
12,871 |
920 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
1,813,608 |
0 |
0 |
0 |
25,280 |
0 |
12,865 |
1,111 |
osh-native |
| 34 |
no-host |
configure.cpython |
1,791,110 |
0 |
0 |
0 |
25,280 |
0 |
12,837 |
1,024 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
299,154 |
0 |
0 |
0 |
4,432 |
0 |
2,013 |
201 |
bash |
| 12 |
no-host |
configure.ocaml |
280,674 |
0 |
0 |
0 |
4,432 |
0 |
2,100 |
205 |
dash |
| 20 |
no-host |
configure.ocaml |
556,929 |
0 |
0 |
0 |
4,432 |
0 |
1,912 |
178 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
316,378 |
0 |
0 |
0 |
4,440 |
0 |
1,997 |
208 |
osh-native |
| 36 |
no-host |
configure.ocaml |
315,200 |
0 |
0 |
0 |
4,440 |
0 |
2,001 |
198 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
5,190 |
0 |
0 |
0 |
80 |
0 |
48 |
3 |
bash |
| 13 |
no-host |
configure.tcc |
4,218 |
0 |
0 |
0 |
88 |
0 |
52 |
1 |
dash |
| 21 |
no-host |
configure.tcc |
23,790 |
0 |
0 |
0 |
88 |
0 |
53 |
4 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
5,976 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
osh-native |
| 37 |
no-host |
configure.tcc |
5,927 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
1,536,495 |
1 |
0 |
0 |
35,944 |
0 |
18,981 |
1,062 |
bash |
| 11 |
no-host |
configure.util-linux |
1,696,815 |
0 |
0 |
0 |
35,936 |
0 |
17,041 |
1,220 |
dash |
| 19 |
no-host |
configure.util-linux |
4,965,376 |
1 |
0 |
0 |
35,944 |
0 |
17,532 |
855 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
1,715,166 |
1 |
0 |
0 |
35,944 |
0 |
17,542 |
1,152 |
osh-native |
| 35 |
no-host |
configure.util-linux |
1,702,554 |
1 |
0 |
0 |
35,944 |
0 |
17,527 |
1,095 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
173,531 |
0 |
0 |
0 |
3,616 |
0 |
876 |
97 |
bash |
| 14 |
no-host |
configure.yash |
159,542 |
0 |
0 |
0 |
3,624 |
0 |
999 |
106 |
dash |
| 22 |
no-host |
configure.yash |
314,892 |
0 |
0 |
0 |
3,616 |
0 |
860 |
95 |
osh-cpython |
| 30 |
no-host |
configure.yash |
179,834 |
0 |
0 |
0 |
3,624 |
0 |
858 |
107 |
osh-native |
| 38 |
no-host |
configure.yash |
179,449 |
0 |
0 |
0 |
3,632 |
0 |
857 |
107 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
87 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
3,880 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
| 24 |
no-host |
hello-world |
381 |
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