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 |
475 |
22 |
20 |
24.39 |
1.12 |
bin-true |
no-host |
660 |
525 |
2,390 |
788 |
792 |
3.62 |
1.19 |
configure.cpython |
no-host |
14,728 |
14,795 |
28,897 |
15,043 |
14,900 |
1.96 |
1.02 |
configure.ocaml |
no-host |
3,788 |
3,710 |
4,655 |
3,750 |
3,831 |
1.23 |
0.99 |
configure.tcc |
no-host |
46 |
40 |
206 |
47 |
49 |
4.47 |
1.03 |
configure.util-linux |
no-host |
13,718 |
14,569 |
31,534 |
14,089 |
13,851 |
2.30 |
1.03 |
configure.yash |
no-host |
1,771 |
1,757 |
2,479 |
1,795 |
1,810 |
1.40 |
1.01 |
hello-world |
no-host |
1 |
1 |
60 |
3 |
3 |
44.20 |
2.05 |
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,530 |
1,131 |
24,347 |
3,213 |
3,080 |
9.62 |
1.27 |
bin-true |
no-host |
108,281 |
65,388 |
810,679 |
125,114 |
125,126 |
7.49 |
1.16 |
configure.cpython |
no-host |
2,002,284 |
2,030,078 |
6,096,753 |
2,008,293 |
1,998,892 |
3.04 |
1.00 |
configure.ocaml |
no-host |
373,398 |
353,758 |
617,629 |
376,354 |
375,447 |
1.65 |
1.01 |
configure.tcc |
no-host |
6,064 |
4,990 |
24,068 |
6,494 |
6,426 |
3.97 |
1.07 |
configure.util-linux |
no-host |
1,914,571 |
2,074,320 |
5,316,019 |
1,816,100 |
1,799,391 |
2.78 |
0.95 |
configure.yash |
no-host |
231,915 |
222,235 |
369,859 |
236,203 |
235,173 |
1.59 |
1.02 |
hello-world |
no-host |
148 |
75 |
3,976 |
346 |
337 |
26.86 |
2.34 |
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.3 |
3,805 |
3,805 |
0 |
700 |
1,870 |
1,235 |
2 |
0 |
50,000 |
0 |
bin-true |
no-host |
788 |
1 |
2 |
2.6 |
8.1 |
153,772 |
12,413 |
2,901 |
8,752 |
76,337 |
68,683 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
15,043 |
1 |
68 |
15.3 |
29.3 |
1,773,763 |
49,828 |
28,526 |
91,505 |
881,465 |
800,793 |
25,736 |
60 |
50,000 |
0 |
configure.util-linux |
no-host |
14,089 |
3 |
67 |
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,750 |
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.6 |
30,573 |
30,573 |
0 |
1,542 |
14,635 |
14,396 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,795 |
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 |
792 |
1 |
2 |
2.6 |
7.5 |
153,771 |
12,332 |
2,896 |
8,753 |
76,337 |
68,681 |
3,008 |
3 |
50,000 |
0 |
configure.cpython |
no-host |
14,900 |
1 |
67 |
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,851 |
3 |
64 |
21.6 |
30.2 |
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,831 |
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 |
49 |
0 |
0 |
1.3 |
19.7 |
30,573 |
30,573 |
0 |
1,544 |
14,635 |
14,394 |
271 |
0 |
50,000 |
0 |
configure.yash |
no-host |
1,810 |
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.3 |
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.3 |
bash |
15 |
no-host |
abuild-print-help |
9 |
4 |
6 |
3.4 |
dash |
23 |
no-host |
abuild-print-help |
475 |
417 |
62 |
22.9 |
osh-cpython |
31 |
no-host |
abuild-print-help |
22 |
15 |
8 |
8.9 |
osh-native |
39 |
no-host |
abuild-print-help |
20 |
10 |
11 |
8.3 |
osh-native-souffle |
1 |
no-host |
bin-true |
660 |
292 |
400 |
2.9 |
bash |
9 |
no-host |
bin-true |
525 |
282 |
253 |
1.4 |
dash |
17 |
no-host |
bin-true |
2,390 |
793 |
1,863 |
18.5 |
osh-cpython |
25 |
no-host |
bin-true |
788 |
290 |
515 |
8.1 |
osh-native |
33 |
no-host |
bin-true |
792 |
302 |
507 |
7.5 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
14,728 |
6,649 |
8,500 |
29.2 |
bash |
10 |
no-host |
configure.cpython |
14,795 |
6,729 |
8,511 |
29.1 |
dash |
18 |
no-host |
configure.cpython |
28,897 |
14,532 |
16,280 |
29.2 |
osh-cpython |
26 |
no-host |
configure.cpython |
15,043 |
6,563 |
8,775 |
29.3 |
osh-native |
34 |
no-host |
configure.cpython |
14,900 |
6,474 |
8,585 |
29.2 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
3,788 |
1,313 |
1,511 |
22.7 |
bash |
12 |
no-host |
configure.ocaml |
3,710 |
1,296 |
1,437 |
22.6 |
dash |
20 |
no-host |
configure.ocaml |
4,655 |
1,898 |
1,978 |
22.6 |
osh-cpython |
28 |
no-host |
configure.ocaml |
3,750 |
1,279 |
1,512 |
22.6 |
osh-native |
36 |
no-host |
configure.ocaml |
3,831 |
1,342 |
1,530 |
22.6 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
46 |
24 |
23 |
19.7 |
bash |
13 |
no-host |
configure.tcc |
40 |
28 |
13 |
19.4 |
dash |
21 |
no-host |
configure.tcc |
206 |
139 |
71 |
19.6 |
osh-cpython |
29 |
no-host |
configure.tcc |
47 |
23 |
25 |
19.6 |
osh-native |
37 |
no-host |
configure.tcc |
49 |
25 |
24 |
19.7 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
13,718 |
5,858 |
8,366 |
30.2 |
bash |
11 |
no-host |
configure.util-linux |
14,569 |
5,822 |
9,278 |
30.3 |
dash |
19 |
no-host |
configure.util-linux |
31,534 |
17,865 |
14,772 |
30.3 |
osh-cpython |
27 |
no-host |
configure.util-linux |
14,089 |
5,618 |
8,700 |
30.2 |
osh-native |
35 |
no-host |
configure.util-linux |
13,851 |
5,553 |
8,528 |
30.2 |
osh-native-souffle |
6 |
no-host |
configure.yash |
1,771 |
899 |
880 |
26.3 |
bash |
14 |
no-host |
configure.yash |
1,757 |
886 |
876 |
26.5 |
dash |
22 |
no-host |
configure.yash |
2,479 |
1,377 |
1,147 |
26.4 |
osh-cpython |
30 |
no-host |
configure.yash |
1,795 |
921 |
879 |
26.4 |
osh-native |
38 |
no-host |
configure.yash |
1,810 |
911 |
905 |
26.4 |
osh-native-souffle |
0 |
no-host |
hello-world |
1 |
0 |
1 |
2.9 |
bash |
8 |
no-host |
hello-world |
1 |
1 |
0 |
1.4 |
dash |
16 |
no-host |
hello-world |
60 |
41 |
19 |
18.4 |
osh-cpython |
24 |
no-host |
hello-world |
3 |
1 |
2 |
6.3 |
osh-native |
32 |
no-host |
hello-world |
3 |
1 |
2 |
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,530 |
0 |
0 |
0 |
16 |
0 |
41 |
0 |
bash |
15 |
no-host |
abuild-print-help |
1,131 |
0 |
0 |
0 |
8 |
0 |
39 |
0 |
dash |
23 |
no-host |
abuild-print-help |
24,347 |
0 |
0 |
0 |
8 |
0 |
45 |
6 |
osh-cpython |
31 |
no-host |
abuild-print-help |
3,213 |
0 |
0 |
0 |
16 |
0 |
39 |
6 |
osh-native |
39 |
no-host |
abuild-print-help |
3,080 |
0 |
0 |
0 |
16 |
0 |
39 |
2 |
osh-native-souffle |
1 |
no-host |
bin-true |
108,281 |
0 |
0 |
0 |
8 |
0 |
1,992 |
235 |
bash |
9 |
no-host |
bin-true |
65,388 |
0 |
0 |
0 |
8 |
0 |
1,964 |
120 |
dash |
17 |
no-host |
bin-true |
810,679 |
0 |
0 |
0 |
8 |
0 |
1,983 |
294 |
osh-cpython |
25 |
no-host |
bin-true |
125,114 |
0 |
0 |
0 |
16 |
0 |
1,984 |
175 |
osh-native |
33 |
no-host |
bin-true |
125,126 |
0 |
0 |
0 |
16 |
0 |
1,978 |
96 |
osh-native-souffle |
2 |
no-host |
configure.cpython |
2,002,284 |
0 |
0 |
0 |
32,928 |
0 |
14,221 |
1,338 |
bash |
10 |
no-host |
configure.cpython |
2,030,078 |
0 |
0 |
0 |
32,992 |
0 |
14,315 |
1,211 |
dash |
18 |
no-host |
configure.cpython |
6,096,753 |
0 |
0 |
0 |
27,512 |
0 |
13,022 |
1,197 |
osh-cpython |
26 |
no-host |
configure.cpython |
2,008,293 |
0 |
0 |
0 |
27,520 |
0 |
13,049 |
1,045 |
osh-native |
34 |
no-host |
configure.cpython |
1,998,892 |
0 |
0 |
0 |
27,520 |
0 |
13,063 |
1,209 |
osh-native-souffle |
4 |
no-host |
configure.ocaml |
373,398 |
0 |
0 |
0 |
5,120 |
0 |
1,957 |
196 |
bash |
12 |
no-host |
configure.ocaml |
353,758 |
0 |
0 |
0 |
5,112 |
0 |
1,936 |
169 |
dash |
20 |
no-host |
configure.ocaml |
617,629 |
0 |
0 |
0 |
5,112 |
0 |
1,855 |
189 |
osh-cpython |
28 |
no-host |
configure.ocaml |
376,354 |
0 |
0 |
0 |
5,120 |
0 |
1,931 |
200 |
osh-native |
36 |
no-host |
configure.ocaml |
375,447 |
0 |
0 |
0 |
5,120 |
0 |
1,925 |
227 |
osh-native-souffle |
5 |
no-host |
configure.tcc |
6,064 |
0 |
0 |
0 |
104 |
0 |
49 |
2 |
bash |
13 |
no-host |
configure.tcc |
4,990 |
0 |
0 |
0 |
96 |
0 |
46 |
4 |
dash |
21 |
no-host |
configure.tcc |
24,068 |
0 |
0 |
0 |
96 |
0 |
52 |
6 |
osh-cpython |
29 |
no-host |
configure.tcc |
6,494 |
0 |
0 |
0 |
104 |
0 |
47 |
0 |
osh-native |
37 |
no-host |
configure.tcc |
6,426 |
0 |
0 |
0 |
104 |
0 |
47 |
3 |
osh-native-souffle |
3 |
no-host |
configure.util-linux |
1,914,571 |
0 |
0 |
0 |
42,400 |
0 |
18,408 |
1,290 |
bash |
11 |
no-host |
configure.util-linux |
2,074,320 |
0 |
0 |
0 |
42,584 |
0 |
17,313 |
1,347 |
dash |
19 |
no-host |
configure.util-linux |
5,316,019 |
2 |
0 |
0 |
39,112 |
0 |
17,026 |
1,489 |
osh-cpython |
27 |
no-host |
configure.util-linux |
1,816,100 |
1 |
0 |
0 |
39,120 |
0 |
17,027 |
1,159 |
osh-native |
35 |
no-host |
configure.util-linux |
1,799,391 |
1 |
0 |
0 |
39,128 |
0 |
16,944 |
1,188 |
osh-native-souffle |
6 |
no-host |
configure.yash |
231,915 |
0 |
0 |
0 |
4,120 |
0 |
873 |
110 |
bash |
14 |
no-host |
configure.yash |
222,235 |
0 |
0 |
0 |
3,720 |
0 |
869 |
81 |
dash |
22 |
no-host |
configure.yash |
369,859 |
0 |
0 |
0 |
3,728 |
0 |
851 |
107 |
osh-cpython |
30 |
no-host |
configure.yash |
236,203 |
0 |
0 |
0 |
3,736 |
0 |
849 |
84 |
osh-native |
38 |
no-host |
configure.yash |
235,173 |
0 |
0 |
0 |
3,736 |
0 |
848 |
91 |
osh-native-souffle |
0 |
no-host |
hello-world |
148 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
bash |
8 |
no-host |
hello-world |
75 |
0 |
0 |
0 |
8 |
0 |
1 |
0 |
dash |
16 |
no-host |
hello-world |
3,976 |
0 |
0 |
0 |
8 |
0 |
7 |
1 |
osh-cpython |
24 |
no-host |
hello-world |
346 |
0 |
0 |
0 |
16 |
0 |
1 |
0 |
osh-native |
32 |
no-host |
hello-world |
337 |
0 |
0 |
0 |
16 |
0 |
1 |
1 |
osh-native-souffle |
Shell and Host