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 |
523 |
22 |
20 |
33.45 |
1.38 |
| bin-true |
no-host |
602 |
432 |
2,418 |
792 |
790 |
4.01 |
1.32 |
| configure.cpython |
no-host |
13,436 |
13,562 |
28,837 |
14,226 |
14,357 |
2.15 |
1.06 |
| configure.ocaml |
no-host |
3,595 |
3,545 |
4,554 |
3,656 |
3,649 |
1.27 |
1.02 |
| configure.tcc |
no-host |
45 |
41 |
217 |
49 |
48 |
4.81 |
1.07 |
| configure.util-linux |
no-host |
12,240 |
13,012 |
32,305 |
13,282 |
13,394 |
2.64 |
1.09 |
| configure.yash |
no-host |
1,658 |
1,597 |
2,357 |
1,675 |
1,675 |
1.42 |
1.01 |
| hello-world |
no-host |
1 |
1 |
59 |
3 |
3 |
50.89 |
2.48 |
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,434 |
1,158 |
24,895 |
3,485 |
3,341 |
10.23 |
1.43 |
| bin-true |
no-host |
99,932 |
49,425 |
833,079 |
134,297 |
136,291 |
8.34 |
1.34 |
| configure.cpython |
no-host |
1,618,480 |
1,648,292 |
5,958,556 |
1,794,841 |
1,796,070 |
3.68 |
1.11 |
| configure.ocaml |
no-host |
298,212 |
280,796 |
556,404 |
317,436 |
315,342 |
1.87 |
1.06 |
| configure.tcc |
no-host |
5,208 |
4,224 |
23,794 |
5,961 |
5,891 |
4.57 |
1.14 |
| configure.util-linux |
no-host |
1,538,977 |
1,690,861 |
4,960,951 |
1,720,600 |
1,709,114 |
3.22 |
1.12 |
| configure.yash |
no-host |
173,687 |
159,506 |
315,490 |
179,030 |
179,308 |
1.82 |
1.03 |
| hello-world |
no-host |
152 |
89 |
3,869 |
385 |
379 |
25.45 |
2.53 |
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 |
704 |
1,881 |
1,241 |
2 |
0 |
50,000 |
0 |
| bin-true |
no-host |
792 |
1 |
2 |
2.6 |
8.9 |
156,798 |
15,428 |
2,915 |
8,761 |
77,348 |
70,689 |
3,008 |
3 |
50,000 |
0 |
| configure.cpython |
no-host |
14,226 |
1 |
61 |
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,282 |
3 |
57 |
21.4 |
39.5 |
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,656 |
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 |
49 |
0 |
0 |
1.3 |
26.1 |
30,628 |
30,628 |
0 |
1,582 |
14,646 |
14,400 |
271 |
0 |
50,000 |
0 |
| configure.yash |
no-host |
1,675 |
1 |
2 |
2.6 |
33.4 |
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 |
790 |
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,357 |
1 |
60 |
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,394 |
3 |
57 |
21.4 |
39.5 |
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,649 |
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 |
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,675 |
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 |
6 |
10 |
4.7 |
bash |
| 15 |
no-host |
abuild-print-help |
9 |
5 |
5 |
3.8 |
dash |
| 23 |
no-host |
abuild-print-help |
523 |
462 |
64 |
22.7 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
22 |
13 |
9 |
9.8 |
osh-native |
| 39 |
no-host |
abuild-print-help |
20 |
11 |
9 |
9.3 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
602 |
300 |
338 |
3.0 |
bash |
| 9 |
no-host |
bin-true |
432 |
266 |
170 |
1.4 |
dash |
| 17 |
no-host |
bin-true |
2,418 |
884 |
1,796 |
18.1 |
osh-cpython |
| 25 |
no-host |
bin-true |
792 |
294 |
516 |
8.9 |
osh-native |
| 33 |
no-host |
bin-true |
790 |
304 |
501 |
8.4 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
13,436 |
7,327 |
6,479 |
34.5 |
bash |
| 10 |
no-host |
configure.cpython |
13,562 |
7,434 |
6,515 |
34.6 |
dash |
| 18 |
no-host |
configure.cpython |
28,837 |
15,862 |
14,909 |
34.8 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
14,226 |
7,217 |
7,299 |
34.5 |
osh-native |
| 34 |
no-host |
configure.cpython |
14,357 |
7,199 |
7,327 |
34.5 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
3,595 |
1,457 |
1,175 |
28.7 |
bash |
| 12 |
no-host |
configure.ocaml |
3,545 |
1,399 |
1,169 |
28.6 |
dash |
| 20 |
no-host |
configure.ocaml |
4,554 |
2,015 |
1,765 |
28.7 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
3,656 |
1,423 |
1,274 |
28.7 |
osh-native |
| 36 |
no-host |
configure.ocaml |
3,649 |
1,430 |
1,257 |
28.7 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
45 |
31 |
15 |
26.3 |
bash |
| 13 |
no-host |
configure.tcc |
41 |
19 |
22 |
26.3 |
dash |
| 21 |
no-host |
configure.tcc |
217 |
143 |
78 |
26.2 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
49 |
19 |
30 |
26.1 |
osh-native |
| 37 |
no-host |
configure.tcc |
48 |
26 |
22 |
26.0 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
12,240 |
6,385 |
6,305 |
39.7 |
bash |
| 11 |
no-host |
configure.util-linux |
13,012 |
6,281 |
7,199 |
39.6 |
dash |
| 19 |
no-host |
configure.util-linux |
32,305 |
19,738 |
12,862 |
39.9 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
13,282 |
6,164 |
7,346 |
39.5 |
osh-native |
| 35 |
no-host |
configure.util-linux |
13,394 |
6,246 |
7,218 |
39.5 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
1,658 |
914 |
753 |
33.1 |
bash |
| 14 |
no-host |
configure.yash |
1,597 |
896 |
702 |
33.5 |
dash |
| 22 |
no-host |
configure.yash |
2,357 |
1,436 |
963 |
33.3 |
osh-cpython |
| 30 |
no-host |
configure.yash |
1,675 |
928 |
750 |
33.4 |
osh-native |
| 38 |
no-host |
configure.yash |
1,675 |
934 |
743 |
33.4 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
1 |
0 |
1 |
3.3 |
bash |
| 8 |
no-host |
hello-world |
1 |
0 |
1 |
1.6 |
dash |
| 16 |
no-host |
hello-world |
59 |
45 |
15 |
18.1 |
osh-cpython |
| 24 |
no-host |
hello-world |
3 |
2 |
1 |
7.1 |
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,434 |
0 |
0 |
0 |
8 |
0 |
41 |
0 |
bash |
| 15 |
no-host |
abuild-print-help |
1,158 |
0 |
0 |
0 |
8 |
0 |
40 |
0 |
dash |
| 23 |
no-host |
abuild-print-help |
24,895 |
0 |
0 |
0 |
8 |
0 |
45 |
7 |
osh-cpython |
| 31 |
no-host |
abuild-print-help |
3,485 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native |
| 39 |
no-host |
abuild-print-help |
3,341 |
0 |
0 |
0 |
16 |
0 |
39 |
1 |
osh-native-souffle |
| 1 |
no-host |
bin-true |
99,932 |
0 |
0 |
0 |
8 |
0 |
1,991 |
78 |
bash |
| 9 |
no-host |
bin-true |
49,425 |
0 |
0 |
0 |
8 |
0 |
2,957 |
71 |
dash |
| 17 |
no-host |
bin-true |
833,079 |
0 |
0 |
0 |
8 |
0 |
1,990 |
109 |
osh-cpython |
| 25 |
no-host |
bin-true |
134,297 |
0 |
0 |
0 |
16 |
0 |
1,976 |
76 |
osh-native |
| 33 |
no-host |
bin-true |
136,291 |
0 |
0 |
0 |
16 |
0 |
1,955 |
104 |
osh-native-souffle |
| 2 |
no-host |
configure.cpython |
1,618,480 |
0 |
0 |
0 |
25,272 |
0 |
14,011 |
1,051 |
bash |
| 10 |
no-host |
configure.cpython |
1,648,292 |
0 |
0 |
0 |
25,272 |
0 |
14,074 |
1,005 |
dash |
| 18 |
no-host |
configure.cpython |
5,958,556 |
0 |
0 |
0 |
25,272 |
0 |
12,884 |
894 |
osh-cpython |
| 26 |
no-host |
configure.cpython |
1,794,841 |
0 |
0 |
0 |
25,280 |
0 |
12,850 |
1,035 |
osh-native |
| 34 |
no-host |
configure.cpython |
1,796,070 |
0 |
0 |
0 |
25,280 |
0 |
12,799 |
1,034 |
osh-native-souffle |
| 4 |
no-host |
configure.ocaml |
298,212 |
0 |
0 |
0 |
4,432 |
0 |
2,020 |
174 |
bash |
| 12 |
no-host |
configure.ocaml |
280,796 |
0 |
0 |
0 |
4,432 |
0 |
2,107 |
190 |
dash |
| 20 |
no-host |
configure.ocaml |
556,404 |
0 |
0 |
0 |
4,432 |
0 |
1,914 |
224 |
osh-cpython |
| 28 |
no-host |
configure.ocaml |
317,436 |
0 |
0 |
0 |
4,440 |
0 |
1,997 |
175 |
osh-native |
| 36 |
no-host |
configure.ocaml |
315,342 |
0 |
0 |
0 |
4,440 |
0 |
2,002 |
240 |
osh-native-souffle |
| 5 |
no-host |
configure.tcc |
5,208 |
0 |
0 |
0 |
80 |
0 |
49 |
2 |
bash |
| 13 |
no-host |
configure.tcc |
4,224 |
0 |
0 |
0 |
88 |
0 |
51 |
2 |
dash |
| 21 |
no-host |
configure.tcc |
23,794 |
0 |
0 |
0 |
88 |
0 |
53 |
3 |
osh-cpython |
| 29 |
no-host |
configure.tcc |
5,961 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
osh-native |
| 37 |
no-host |
configure.tcc |
5,891 |
0 |
0 |
0 |
96 |
0 |
47 |
3 |
osh-native-souffle |
| 3 |
no-host |
configure.util-linux |
1,538,977 |
0 |
0 |
0 |
35,944 |
0 |
18,954 |
1,079 |
bash |
| 11 |
no-host |
configure.util-linux |
1,690,861 |
0 |
0 |
0 |
35,936 |
0 |
17,099 |
1,232 |
dash |
| 19 |
no-host |
configure.util-linux |
4,960,951 |
0 |
0 |
0 |
35,944 |
0 |
17,544 |
826 |
osh-cpython |
| 27 |
no-host |
configure.util-linux |
1,720,600 |
1 |
0 |
0 |
35,952 |
0 |
17,536 |
1,072 |
osh-native |
| 35 |
no-host |
configure.util-linux |
1,709,114 |
0 |
0 |
0 |
35,952 |
0 |
17,547 |
1,104 |
osh-native-souffle |
| 6 |
no-host |
configure.yash |
173,687 |
0 |
0 |
0 |
3,616 |
0 |
874 |
103 |
bash |
| 14 |
no-host |
configure.yash |
159,506 |
0 |
0 |
0 |
3,616 |
0 |
996 |
89 |
dash |
| 22 |
no-host |
configure.yash |
315,490 |
0 |
0 |
0 |
3,616 |
0 |
860 |
111 |
osh-cpython |
| 30 |
no-host |
configure.yash |
179,030 |
0 |
0 |
0 |
3,624 |
0 |
858 |
99 |
osh-native |
| 38 |
no-host |
configure.yash |
179,308 |
0 |
0 |
0 |
3,632 |
0 |
853 |
102 |
osh-native-souffle |
| 0 |
no-host |
hello-world |
152 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
| 8 |
no-host |
hello-world |
89 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
| 16 |
no-host |
hello-world |
3,869 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
| 24 |
no-host |
hello-world |
385 |
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