The Computer Language
22.01 Benchmarks Game

reverse-complement

Always look at the source code.

Look at the slower simple sequential programs, and  look at the parallel programs written for multicore, and  look at the manually vectorized SIMD programs. Choose which programs you want to compare.

× source secs mem gz busy cpu load
1.0 C gcc #7 0.41 499,072 1965 0.59 15% 90% 22% 17%
1.1 Rust 0.45 498,736 3040 0.78 26% 48% 76% 24%
1.6 C++ g++ #2 0.64 499,692 2093 0.64 0% 0% 0% 100%
1.9 Rust #2 0.78 994,992 1330 1.37 25% 45% 49% 58%
1.9 Rust #3 0.79 994,900 1097 1.53 32% 48% 32% 83%
2.1 C gcc #6 0.87 700,340 820 1.31 28% 21% 99% 3%
2.4 C gcc #2 0.99 994,148 750 2.46 28% 31% 96% 93%
3.3 Go #5 1.34 1,610,444 996 2.20 21% 99% 15% 30%
3.4 Go #6 1.39 1,344,668 1338 2.63 73% 35% 34% 47%
3.5 C gcc #5 1.41 994,080 647 1.49 4% 100% 1% 1%
3.5 Julia #8 1.44 685,132 522 1.71 7% 6% 99% 6%
3.8 Java  #8 1.57 678,512 2183 3.54 48% 59% 44% 75%
3.9 F# .NET #5 1.57 1,029,792 1140 4.36 30% 57% 96% 96%
3.9 F# .NET #4 1.58 1,029,248 1139 4.39 30% 92% 95% 61%
3.9 C# .NET #6 1.58 1,029,116 1621 3.88 30% 94% 66% 54%
4.0 OCaml 1.65 34,404 1368 4.44 68% 68% 62% 72%
4.1 Julia #9 1.68 682,716 449 1.95 5% 7% 99% 5%
4.1 Chapel #3 1.68 1,883,600 755 3.06 95% 29% 27% 31%
4.4 Swift 1.79 769,116 1286 2.27 74% 4% 0% 48%
4.5 C# .NET #7 1.84 977,148 1310 5.16 92% 56% 95% 37%
4.7 Go #2 1.91 826,172 611 1.96 0% 2% 1% 99%
5.2 Go #3 2.11 825,980 605 2.16 12% 87% 0% 3%
5.3 Ada 2012 GNAT #2 2.16 796,384 3283 2.49 1% 75% 39% 0%
5.9 Java #3 2.38 1,173,956 1722 5.03 84% 38% 49% 40%
6.0 C++ g++ #3 2.45 500,076 840 2.47 0% 100% 1% 0%
6.0 Chapel #2 2.46 1,053,228 983 3.55 97% 16% 26% 6%
6.4 Node js #7 2.59 1,543,324 1480 4.84 30% 43% 50% 65%
7.0 C# .NET #5 2.84 1,030,916 1613 4.05 37% 10% 89% 6%
7.1 C++ g++ #6 2.89 1,500,336 1832 3.92 65% 23% 33% 15%
7.4 Java #6 2.99 2,047,136 752 3.68 43% 2% 77% 1%
8.0 Haskell GHC #4 3.24 507,188 1041 3.40 2% 36% 2% 64%
8.6 C gcc #4 3.50 500,408 709 3.68 3% 1% 2% 100%
9.1 Free Pascal #2 3.69 508,580 771 3.90 4% 100% 0% 2%
9.9 Classic Fortran 4.01 986,552 1019 4.09 1% 0% 2% 100%
11 Java #5 4.41 1,109,476 1108 4.56 1% 93% 4% 6%
12 Java #4 5.00 1,904,156 651 5.13 1% 28% 34% 39%
14 Lisp SBCL 5.69 1,296,280 904 5.88 0% 3% 100% 0%
15 C++ g++ 6.17 980,016 592 6.21 0% 100% 0% 0%
16 Perl #3 6.47 1,495,076 287 6.53 0% 0% 100% 1%
16 Python 3 #6 6.62 1,005,400 814 10.00 3% 48% 72% 28%
17 PHP #3 6.96 536,328 446 11.04 48% 6% 32% 73%
19 Dart #5 7.92 1,999,908 933 10.75 2% 50% 48% 36%
21 Racket #2 8.72 701,888 1030 8.96 0% 100% 1% 2%
21 Python 3 8.75 1,974,928 479 8.81 0% 100% 0% 0%
22 Python 3 #2 8.86 1,785,796 434 8.89 0% 100% 0% 0%
24 PHP 9.64 1,488,416 318 9.68 0% 0% 0% 100%
27 Ruby #5 10.81 1,875,868 295 11.07 0% 2% 100% 1%
28 PHP #2 11.25 1,785,888 281 11.49 0% 2% 100% 0%
28 Python 3 #4 11.51 4,001,544 335 11.56 0% 0% 100% 0%
28 Ruby #3 11.57 2,273,576 482 20.38 98% 27% 43% 8%
30 Ruby #4 12.32 2,274,408 601 22.69 42% 50% 58% 35%
31 Ada 2012 GNAT 12.52 505,612 937 12.56 0% 0% 100% 0%
38 Node js #2 15.48 716,444 1221 16.11 3% 21% 78% 2%
44 Dart 17.76 1,008,388 642 18.45 1% 2% 99% 1%
44 Ruby 17.78 2,273,672 514 32.58 8% 99% 28% 49%
46 Ruby #2 18.65 775,488 264 18.99 100% 1% 0% 0%
52 Matz's Ruby #2 21.02 492,816 264 21.29 1% 0% 100% 0%
55 Java #7 22.38 1,033,968 1647 17.92 6% 10% 10% 54%
58 Erlang 23.64 2,948,320 1302 69.49 69% 67% 77% 81%
79 Julia #2 32.28 1,757,528 460 32.68 0% 100% 1% 1%
84 C++ g++ #5 34.23 743,540 720 34.46 0% 0% 100% 0%
97 Classic Fortran #2 39.40 766,456 772 39.92 1% 0% 100% 0%
97 Racket 39.68 2,430,860 553 40.01 100% 0% 0% 0%
98 Lua #5 39.89 2,155,892 719 40.16 100% 0% 0% 0%
103 Lua #2 41.99 2,654,764 553 42.44 0% 100% 0% 0%
130 Lua #4 52.71 1,030,140 594 52.97 0% 0% 100% 0%
132 Dart #3 53.53 7,874,720 563 56.16 97% 5% 2% 2%
218 Dart #2 88.85 7,875,980 568 92.33 52% 45% 3% 5%
220 Dart #4 89.35 1,037,016 880 91.12 8% 55% 3% 36%
248 Erlang #4 100.89 1,536,792 1171 145.27 49% 26% 19% 50%
368 Erlang #3 149.95 6,237,276 630 159.83 28% 32% 9% 37%
Go Failed
Haskell GHC #2 Make Error
Lisp SBCL #2 Timed Out
OCaml #4 Make Error
OCaml #3 Make Error
OCaml #2 Make Error
Matz's Ruby #3 Bad Output
Matz's Ruby Failed
Matz's Ruby #5 Failed
Matz's Ruby #4 Failed
VW Smalltalk Bad Output