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 |
19 |
9 |
471 |
22 |
20 |
24.87 |
1.14 |
bin-true |
no-host |
653 |
525 |
2,405 |
801 |
788 |
3.68 |
1.23 |
configure.cpython |
no-host |
14,541 |
14,584 |
28,586 |
14,768 |
14,819 |
1.97 |
1.02 |
configure.ocaml |
no-host |
3,713 |
3,651 |
4,608 |
3,735 |
3,755 |
1.24 |
1.01 |
configure.tcc |
no-host |
46 |
41 |
202 |
47 |
47 |
4.42 |
1.04 |
configure.util-linux |
no-host |
13,511 |
14,371 |
31,275 |
13,857 |
13,862 |
2.31 |
1.03 |
configure.yash |
no-host |
1,803 |
1,724 |
2,434 |
1,773 |
1,775 |
1.35 |
0.98 |
hello-world |
no-host |
1 |
1 |
56 |
3 |
3 |
41.84 |
2.15 |
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,554 |
1,124 |
24,319 |
3,211 |
3,084 |
9.52 |
1.26 |
bin-true |
no-host |
105,353 |
67,433 |
808,706 |
128,114 |
128,105 |
7.68 |
1.22 |
configure.cpython |
no-host |
1,994,439 |
2,024,454 |
6,100,323 |
2,008,152 |
2,000,627 |
3.06 |
1.01 |
configure.ocaml |
no-host |
373,701 |
353,569 |
617,551 |
377,336 |
376,193 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,095 |
5,018 |
24,086 |
6,497 |
6,457 |
3.95 |
1.07 |
configure.util-linux |
no-host |
1,917,180 |
2,076,221 |
5,305,094 |
1,822,800 |
1,805,276 |
2.77 |
0.95 |
configure.yash |
no-host |
233,750 |
222,304 |
369,232 |
235,152 |
235,870 |
1.58 |
1.01 |
hello-world |
no-host |
151 |
73 |
3,972 |
345 |
338 |
26.30 |
2.28 |
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.4 |
3,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
801 |
1 |
2 |
2.6 |
8.0 |
153,772 |
12,413 |
2,901 |
8,752 |
76,337 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,768 |
1 |
65 |
15.3 |
29.0 |
1,773,763 |
49,828 |
28,526 |
91,505 |
881,465 |
800,793 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,857 |
3 |
63 |
21.6 |
30.2 |
2,704,674 |
53,757 |
65,725 |
114,372 |
1,293,957 |
1,296,345 |
32,241 |
41 |
131,450 |
1 |
configure.ocaml |
no-host |
3,735 |
1 |
2 |
2.6 |
22.6 |
149,788 |
11,154 |
5,221 |
7,733 |
70,844 |
71,211 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.8 |
30,573 |
30,573 |
0 |
1,542 |
14,635 |
14,396 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,773 |
1 |
2 |
2.6 |
26.4 |
139,684 |
8,041 |
6,700 |
6,395 |
68,253 |
65,036 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
22 |
1 |
2 |
2.8 |
8.9 |
116,321 |
64,419 |
42,627 |
4,544 |
54,454 |
57,323 |
277 |
3 |
85,254 |
1 |
hello-world |
no-host |
3 |
0 |
0 |
0.3 |
5.9 |
3,804 |
3,804 |
0 |
701 |
1,870 |
1,233 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
788 |
1 |
2 |
2.6 |
7.7 |
153,771 |
12,332 |
2,896 |
8,753 |
76,337 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,819 |
1 |
65 |
15.3 |
29.2 |
1,773,762 |
49,823 |
28,521 |
91,506 |
881,465 |
800,791 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
13,862 |
3 |
64 |
21.6 |
30.3 |
2,704,674 |
53,734 |
65,720 |
114,374 |
1,293,957 |
1,296,343 |
32,241 |
41 |
131,440 |
1 |
configure.ocaml |
no-host |
3,755 |
1 |
2 |
2.6 |
22.6 |
149,788 |
11,149 |
5,216 |
7,735 |
70,844 |
71,209 |
1,695 |
3 |
50,000 |
0 |
configure.tcc |
no-host |
47 |
0 |
0 |
1.3 |
19.6 |
30,573 |
30,573 |
0 |
1,544 |
14,635 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,775 |
1 |
2 |
2.6 |
26.4 |
139,684 |
8,030 |
6,689 |
6,397 |
68,253 |
65,034 |
2,095 |
3 |
50,000 |
0 |
abuild-print-help |
no-host |
20 |
1 |
2 |
2.8 |
8.7 |
116,320 |
64,414 |
42,622 |
4,545 |
54,454 |
57,321 |
277 |
3 |
85,244 |
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 |
19 |
10 |
10 |
4.5 |
bash |
15 |
no-host |
abuild-print-help |
9 |
3 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
471 |
416 |
58 |
22.6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
13 |
10 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
13 |
8 |
8.7 |
osh-native-souffle |
1 |
no-host |
bin-true |
653 |
299 |
386 |
3.0 |
bash |
9 |
no-host |
bin-true |
525 |
280 |
257 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,405 |
820 |
1,843 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
801 |
297 |
520 |
8.0 |
osh-native |
33 |
no-host |
bin-true |
788 |
290 |
514 |
7.7 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,541 |
6,578 |
8,391 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,584 |
6,663 |
8,361 |
29.2 |
dash |
18 |
no-host |
configure.cpython |
28,586 |
14,228 |
16,247 |
29.0 |
osh-cpython |
26 |
no-host |
configure.cpython |
14,768 |
6,496 |
8,563 |
29.0 |
osh-native |
34 |
no-host |
configure.cpython |
14,819 |
6,472 |
8,501 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,713 |
1,308 |
1,449 |
22.5 |
bash |
12 |
no-host |
configure.ocaml |
3,651 |
1,244 |
1,428 |
22.5 |
dash |
20 |
no-host |
configure.ocaml |
4,608 |
1,857 |
1,970 |
22.8 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,735 |
1,269 |
1,509 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,755 |
1,299 |
1,496 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
16 |
30 |
19.5 |
bash |
13 |
no-host |
configure.tcc |
41 |
21 |
20 |
19.6 |
dash |
21 |
no-host |
configure.tcc |
202 |
141 |
64 |
19.8 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
20 |
28 |
19.8 |
osh-native |
37 |
no-host |
configure.tcc |
47 |
26 |
22 |
19.6 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,511 |
5,716 |
8,289 |
30.3 |
bash |
11 |
no-host |
configure.util-linux |
14,371 |
5,823 |
9,077 |
30.2 |
dash |
19 |
no-host |
configure.util-linux |
31,275 |
17,642 |
14,738 |
30.2 |
osh-cpython |
27 |
no-host |
configure.util-linux |
13,857 |
5,643 |
8,457 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
13,862 |
5,477 |
8,610 |
30.3 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,803 |
891 |
916 |
26.5 |
bash |
14 |
no-host |
configure.yash |
1,724 |
867 |
862 |
26.3 |
dash |
22 |
no-host |
configure.yash |
2,434 |
1,339 |
1,139 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,773 |
903 |
876 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,775 |
943 |
837 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
0 |
1 |
1.4 |
dash |
16 |
no-host |
hello-world |
56 |
34 |
21 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
0 |
3 |
6.4 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
1 |
5.9 |
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,554 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,124 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,319 |
0 |
0 |
0 |
8 |
0 |
45 |
4 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,211 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native |
39 |
no-host |
abuild-print-help |
3,084 |
0 |
0 |
0 |
16 |
0 |
39 |
0 |
osh-native-souffle |
1 |
no-host |
bin-true |
105,353 |
0 |
0 |
0 |
8 |
0 |
1,983 |
138 |
bash |
9 |
no-host |
bin-true |
67,433 |
0 |
0 |
0 |
8 |
0 |
1,967 |
68 |
dash |
17 |
no-host |
bin-true |
808,706 |
0 |
0 |
0 |
8 |
0 |
1,985 |
322 |
osh-cpython |
25 |
no-host |
bin-true |
128,114 |
0 |
0 |
0 |
16 |
0 |
1,974 |
327 |
osh-native |
33 |
no-host |
bin-true |
128,105 |
0 |
0 |
0 |
16 |
0 |
1,974 |
106 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
1,994,439 |
0 |
0 |
0 |
32,928 |
0 |
14,234 |
1,158 |
bash |
10 |
no-host |
configure.cpython |
2,024,454 |
0 |
0 |
0 |
32,992 |
0 |
14,317 |
1,227 |
dash |
18 |
no-host |
configure.cpython |
6,100,323 |
0 |
0 |
0 |
27,512 |
0 |
13,057 |
1,142 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,008,152 |
0 |
0 |
0 |
27,520 |
0 |
13,132 |
1,316 |
osh-native |
34 |
no-host |
configure.cpython |
2,000,627 |
0 |
0 |
0 |
27,520 |
0 |
13,094 |
1,092 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,701 |
0 |
0 |
0 |
5,120 |
0 |
1,947 |
196 |
bash |
12 |
no-host |
configure.ocaml |
353,569 |
0 |
0 |
0 |
5,112 |
0 |
1,942 |
202 |
dash |
20 |
no-host |
configure.ocaml |
617,551 |
1 |
0 |
0 |
5,112 |
0 |
1,857 |
184 |
osh-cpython |
28 |
no-host |
configure.ocaml |
377,336 |
0 |
0 |
0 |
5,120 |
0 |
1,927 |
214 |
osh-native |
36 |
no-host |
configure.ocaml |
376,193 |
0 |
0 |
0 |
5,120 |
0 |
1,926 |
203 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,095 |
0 |
0 |
0 |
104 |
0 |
48 |
3 |
bash |
13 |
no-host |
configure.tcc |
5,018 |
0 |
0 |
0 |
96 |
0 |
47 |
1 |
dash |
21 |
no-host |
configure.tcc |
24,086 |
0 |
0 |
0 |
96 |
0 |
51 |
4 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,497 |
0 |
0 |
0 |
104 |
0 |
47 |
11 |
osh-native |
37 |
no-host |
configure.tcc |
6,457 |
0 |
0 |
0 |
104 |
0 |
47 |
4 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,917,180 |
0 |
0 |
0 |
42,400 |
0 |
18,428 |
1,267 |
bash |
11 |
no-host |
configure.util-linux |
2,076,221 |
2 |
0 |
0 |
42,584 |
0 |
17,317 |
1,504 |
dash |
19 |
no-host |
configure.util-linux |
5,305,094 |
2 |
0 |
0 |
39,136 |
0 |
17,010 |
1,213 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,822,800 |
0 |
0 |
0 |
39,120 |
0 |
17,055 |
1,218 |
osh-native |
35 |
no-host |
configure.util-linux |
1,805,276 |
0 |
0 |
0 |
39,128 |
0 |
17,005 |
1,246 |
osh-native-souffle |
6 |
no-host |
configure.yash |
233,750 |
0 |
0 |
0 |
4,120 |
0 |
882 |
93 |
bash |
14 |
no-host |
configure.yash |
222,304 |
0 |
0 |
0 |
3,720 |
0 |
874 |
101 |
dash |
22 |
no-host |
configure.yash |
369,232 |
0 |
0 |
0 |
3,728 |
0 |
851 |
102 |
osh-cpython |
30 |
no-host |
configure.yash |
235,152 |
0 |
0 |
0 |
3,736 |
0 |
850 |
100 |
osh-native |
38 |
no-host |
configure.yash |
235,870 |
0 |
0 |
0 |
3,736 |
0 |
851 |
90 |
osh-native-souffle |
0 |
no-host |
hello-world |
151 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
73 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,972 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
345 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
338 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native-souffle |
Shell and Host