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 |
534 |
22 |
21 |
34.16 |
1.41 |
| bin-true |
no-host |
612 |
438 |
2,437 |
801 |
827 |
3.98 |
1.31 |
| configure.cpython |
no-host |
13,920 |
13,998 |
29,460 |
14,772 |
14,766 |
2.12 |
1.06 |
| configure.ocaml |
no-host |
3,678 |
3,629 |
4,691 |
3,751 |
3,751 |
1.28 |
1.02 |
| configure.tcc |
no-host |
46 |
41 |
222 |
49 |
48 |
4.87 |
1.07 |
| configure.util-linux |
no-host |
12,672 |
13,452 |
32,585 |
13,740 |
13,796 |
2.57 |
1.08 |
| configure.yash |
no-host |
1,703 |
1,655 |
2,438 |
1,735 |
1,729 |
1.43 |
1.02 |
| hello-world |
no-host |
1 |
1 |
63 |
3 |
3 |
51.10 |
2.33 |
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,407 |
1,157 |
24,573 |
3,463 |
3,342 |
10.21 |
1.44 |
| bin-true |
no-host |
100,001 |
49,407 |
830,293 |
136,312 |
139,327 |
8.30 |
1.36 |
| configure.cpython |
no-host |
1,618,528 |
1,640,203 |
5,966,771 |
1,811,126 |
1,789,582 |
3.69 |
1.12 |
| configure.ocaml |
no-host |
299,104 |
280,883 |
555,033 |
316,351 |
315,716 |
1.86 |
1.06 |
| configure.tcc |
no-host |
5,213 |
4,207 |
23,791 |
5,943 |
5,889 |
4.56 |
1.14 |
| configure.util-linux |
no-host |
1,532,875 |
1,696,484 |
4,966,779 |
1,715,005 |
1,704,850 |
3.24 |
1.12 |
| configure.yash |
no-host |
173,501 |
159,544 |
315,713 |
179,329 |
179,075 |
1.82 |
1.03 |
| hello-world |
no-host |
152 |
84 |
3,893 |
387 |
380 |
25.61 |
2.55 |
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 |
7.1 |
3,826 |
3,826 |
0 |
703 |
1,880 |
1,243 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
801 |
1 |
2 |
2.6 |
8.8 |
156,798 |
15,428 |
2,915 |
8,760 |
77,347 |
70,691 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,772 |
1 |
68 |
15.2 |
34.4 |
1,782,989 |
46,101 |
25,356 |
91,621 |
885,111 |
806,257 |
25,789 |
62 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,740 |
3 |
62 |
21.4 |
39.8 |
2,707,122 |
126,354 |
66,586 |
113,462 |
1,294,567 |
1,299,093 |
32,539 |
41 |
133,172 |
1 |
| configure.ocaml |
no-host |
3,751 |
1 |
2 |
2.7 |
28.7 |
149,873 |
12,476 |
6,519 |
7,818 |
70,839 |
71,216 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
49 |
0 |
0 |
1.3 |
26.3 |
30,628 |
30,628 |
0 |
1,581 |
14,645 |
14,402 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,735 |
1 |
2 |
2.6 |
33.4 |
140,017 |
8,080 |
6,714 |
6,525 |
68,347 |
65,145 |
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,561 |
54,471 |
57,336 |
277 |
3 |
85,278 |
1 |
| hello-world |
no-host |
3 |
0 |
0 |
0.3 |
6.6 |
3,825 |
3,825 |
0 |
704 |
1,880 |
1,241 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
827 |
1 |
2 |
2.6 |
8.5 |
156,797 |
15,423 |
2,910 |
8,761 |
77,347 |
70,689 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,766 |
1 |
67 |
15.2 |
34.5 |
1,782,988 |
46,087 |
25,352 |
91,622 |
885,111 |
806,255 |
25,789 |
62 |
50,000 |
0 |
| configure.util-linux |
no-host |
13,796 |
3 |
61 |
21.4 |
39.9 |
2,707,122 |
126,347 |
66,579 |
113,464 |
1,294,567 |
1,299,091 |
32,539 |
41 |
133,158 |
1 |
| configure.ocaml |
no-host |
3,751 |
1 |
2 |
2.7 |
28.7 |
149,873 |
12,470 |
6,513 |
7,820 |
70,839 |
71,214 |
1,693 |
3 |
50,000 |
0 |
| configure.tcc |
no-host |
48 |
0 |
0 |
1.3 |
26.2 |
30,628 |
30,628 |
0 |
1,583 |
14,645 |
14,400 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,729 |
1 |
2 |
2.6 |
33.3 |
140,017 |
8,069 |
6,703 |
6,527 |
68,347 |
65,143 |
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,562 |
54,471 |
57,334 |
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 |
7 |
4.8 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
3 |
7 |
3.9 |
dash |
| 23 |
no-host |
abuild-print-help |
534 |
477 |
61 |
22.7 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
22 |
10 |
13 |
9.8 |
osh-native |
| 39 |
no-host |
abuild-print-help |
21 |
10 |
12 |
9.3 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
612 |
312 |
340 |
3.1 |
bash |
| 9 |
no-host |
bin-true |
438 |
275 |
166 |
1.6 |
dash |
| 17 |
no-host |
bin-true |
2,437 |
908 |
1,795 |
18.2 |
osh-cpython |
| 25 |
no-host |
bin-true |
801 |
313 |
505 |
8.8 |
osh-native |
| 33 |
no-host |
bin-true |
827 |
294 |
550 |
8.5 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
13,920 |
7,541 |
6,759 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
13,998 |
7,614 |
6,781 |
34.4 |
dash |
| 18 |
no-host |
configure.cpython |
29,460 |
16,100 |
15,337 |
34.6 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
14,772 |
7,397 |
7,679 |
34.4 |
osh-native |
| 34 |
no-host |
configure.cpython |
14,766 |
7,334 |
7,608 |
34.5 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
3,678 |
1,479 |
1,238 |
28.6 |
bash |
| 12 |
no-host |
configure.ocaml |
3,629 |
1,468 |
1,185 |
28.8 |
dash |
| 20 |
no-host |
configure.ocaml |
4,691 |
2,146 |
1,772 |
28.6 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
3,751 |
1,490 |
1,304 |
28.7 |
osh-native |
| 36 |
no-host |
configure.ocaml |
3,751 |
1,471 |
1,318 |
28.7 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
46 |
21 |
25 |
26.3 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
21 |
20 |
26.2 |
dash |
| 21 |
no-host |
configure.tcc |
222 |
157 |
69 |
26.3 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
49 |
19 |
31 |
26.3 |
osh-native |
| 37 |
no-host |
configure.tcc |
48 |
23 |
26 |
26.2 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
12,672 |
6,542 |
6,590 |
39.5 |
bash |
| 11 |
no-host |
configure.util-linux |
13,452 |
6,473 |
7,463 |
39.7 |
dash |
| 19 |
no-host |
configure.util-linux |
32,585 |
20,533 |
13,152 |
39.6 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
13,740 |
6,320 |
7,654 |
39.8 |
osh-native |
| 35 |
no-host |
configure.util-linux |
13,796 |
6,341 |
7,528 |
39.9 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
1,703 |
957 |
753 |
33.4 |
bash |
| 14 |
no-host |
configure.yash |
1,655 |
940 |
716 |
33.4 |
dash |
| 22 |
no-host |
configure.yash |
2,438 |
1,473 |
1,010 |
33.4 |
osh-cpython |
| 30 |
no-host |
configure.yash |
1,735 |
937 |
800 |
33.4 |
osh-native |
| 38 |
no-host |
configure.yash |
1,729 |
938 |
793 |
33.3 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
1 |
1 |
0 |
3.0 |
bash |
| 8 |
no-host |
hello-world |
1 |
1 |
0 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
63 |
44 |
19 |
18.2 |
osh-cpython |
| 24 |
no-host |
hello-world |
3 |
2 |
1 |
7.1 |
osh-native |
| 32 |
no-host |
hello-world |
3 |
1 |
2 |
6.6 |
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,407 |
0 |
0 |
0 |
8 |
0 |
41 |
1 |
bash |
| 15 |
no-host |
abuild-print-help |
1,157 |
0 |
0 |
0 |
8 |
0 |
40 |
1 |
dash |
| 23 |
no-host |
abuild-print-help |
24,573 |
0 |
0 |
0 |
8 |
0 |
45 |
5 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
3,463 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 39 |
no-host |
abuild-print-help |
3,342 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
100,001 |
0 |
0 |
0 |
8 |
0 |
1,982 |
57 |
bash |
| 9 |
no-host |
bin-true |
49,407 |
0 |
0 |
0 |
8 |
0 |
2,962 |
60 |
dash |
| 17 |
no-host |
bin-true |
830,293 |
0 |
0 |
0 |
8 |
0 |
1,988 |
126 |
osh-cpython |
| 25 |
no-host |
bin-true |
136,312 |
0 |
0 |
0 |
16 |
0 |
1,977 |
77 |
osh-native |
| 33 |
no-host |
bin-true |
139,327 |
0 |
0 |
0 |
16 |
0 |
1,974 |
147 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
1,618,528 |
0 |
0 |
0 |
25,272 |
0 |
14,037 |
1,006 |
bash |
| 10 |
no-host |
configure.cpython |
1,640,203 |
0 |
0 |
0 |
25,272 |
0 |
14,074 |
1,079 |
dash |
| 18 |
no-host |
configure.cpython |
5,966,771 |
0 |
0 |
0 |
25,272 |
0 |
12,865 |
895 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
1,811,126 |
0 |
0 |
0 |
25,280 |
0 |
12,838 |
1,001 |
osh-native |
| 34 |
no-host |
configure.cpython |
1,789,582 |
0 |
0 |
0 |
25,280 |
0 |
12,822 |
1,027 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
299,104 |
0 |
0 |
0 |
4,432 |
0 |
2,008 |
212 |
bash |
| 12 |
no-host |
configure.ocaml |
280,883 |
0 |
0 |
0 |
4,432 |
0 |
2,105 |
182 |
dash |
| 20 |
no-host |
configure.ocaml |
555,033 |
0 |
0 |
0 |
4,432 |
0 |
1,915 |
179 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
316,351 |
0 |
0 |
0 |
4,440 |
0 |
1,995 |
192 |
osh-native |
| 36 |
no-host |
configure.ocaml |
315,716 |
0 |
0 |
0 |
4,440 |
0 |
1,993 |
206 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
5,213 |
0 |
0 |
0 |
80 |
0 |
50 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,207 |
0 |
0 |
0 |
88 |
0 |
52 |
3 |
dash |
| 21 |
no-host |
configure.tcc |
23,791 |
0 |
0 |
0 |
88 |
0 |
53 |
4 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
5,943 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
osh-native |
| 37 |
no-host |
configure.tcc |
5,889 |
0 |
0 |
0 |
96 |
0 |
47 |
2 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
1,532,875 |
0 |
0 |
0 |
35,944 |
0 |
18,948 |
1,108 |
bash |
| 11 |
no-host |
configure.util-linux |
1,696,484 |
0 |
0 |
0 |
35,936 |
0 |
17,100 |
1,225 |
dash |
| 19 |
no-host |
configure.util-linux |
4,966,779 |
2 |
0 |
0 |
35,952 |
0 |
17,513 |
951 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
1,715,005 |
2 |
0 |
0 |
35,952 |
0 |
17,520 |
1,092 |
osh-native |
| 35 |
no-host |
configure.util-linux |
1,704,850 |
1 |
0 |
0 |
35,952 |
0 |
17,514 |
1,099 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
173,501 |
0 |
0 |
0 |
3,616 |
0 |
877 |
105 |
bash |
| 14 |
no-host |
configure.yash |
159,544 |
0 |
0 |
0 |
3,616 |
0 |
993 |
95 |
dash |
| 22 |
no-host |
configure.yash |
315,713 |
0 |
0 |
0 |
3,616 |
0 |
862 |
105 |
osh-cpython |
| 30 |
no-host |
configure.yash |
179,329 |
0 |
0 |
0 |
3,624 |
0 |
859 |
102 |
osh-native |
| 38 |
no-host |
configure.yash |
179,075 |
0 |
0 |
0 |
3,624 |
0 |
855 |
109 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
84 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
3,893 |
0 |
0 |
0 |
8 |
0 |
7 |
2 |
osh-cpython |
| 24 |
no-host |
hello-world |
387 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
| 32 |
no-host |
hello-world |
380 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host