The Computer Language
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.

× source secs mem gz busy cpu load
1.0 Rust 0.45 499,076 3040 0.95 24% 100% 24% 62%
1.1 C++ g++ #7 0.52 1,788 1853 0.52 0% 98% 0% 2%
1.4 C++ g++ #2 0.63 499,688 2093 0.65 0% 2% 2% 100%
1.7 Rust #2 0.77 995,088 1330 1.42 28% 69% 30% 59%
1.7 Rust #3 0.77 995,076 1097 1.75 66% 48% 51% 61%
1.9 C gcc #6 0.86 712,208 820 1.27 99% 28% 1% 19%
2.1 C gcc #2 0.97 994,172 750 1.45 15% 16% 86% 33%
3.1 C gcc #5 1.41 993,912 647 1.43 0% 1% 0% 100%
3.1 Go #6 1.42 1,344,600 1338 2.66 57% 36% 71% 24%
3.3 Go #5 1.48 1,559,968 996 2.51 31% 83% 24% 32%
3.3 C# .NET #7 1.50 950,648 1310 4.29 93% 63% 93% 38%
3.3 F# .NET #5 1.51 1,030,852 1140 4.19 93% 36% 58% 91%
3.4 Java  #8 1.54 670,924 2183 3.51 46% 56% 48% 79%
3.4 C# .NET #6 1.56 1,028,724 1621 3.79 72% 96% 27% 48%
3.5 F# .NET #4 1.58 1,030,356 1139 4.36 29% 94% 95% 59%
3.5 Julia #8 1.60 677,796 522 1.91 6% 6% 100% 9%
3.7 OCaml 1.68 34,024 1368 4.31 56% 57% 75% 69%
3.9 Go #2 1.79 826,628 611 1.85 14% 88% 1% 1%
4.0 Swift 1.81 781,992 1286 2.28 3% 0% 48% 75%
4.1 Chapel #3 1.84 1,616,544 755 3.90 96% 38% 39% 40%
4.1 Julia #9 1.88 675,360 449 2.29 6% 99% 12% 5%
4.2 Go #3 1.92 826,360 605 2.01 3% 1% 100% 1%
4.8 Node js #7 2.17 1,535,512 1480 4.64 62% 53% 56% 42%
4.8 Ada 2012 GNAT #2 2.18 817,648 3283 2.53 0% 40% 76% 0%
5.1 Java #3 2.31 1,185,520 1722 4.97 50% 38% 88% 40%
5.4 C++ g++ #3 2.44 500,020 840 2.49 0% 1% 1% 100%
6.1 C# .NET #5 2.78 1,033,020 1613 4.04 89% 6% 14% 36%
6.4 C++ g++ #6 2.91 1,513,700 1832 3.95 15% 33% 23% 66%
6.8 Java #6 3.08 2,046,044 752 3.75 1% 1% 79% 42%
6.8 Chapel #2 3.09 1,052,428 983 4.67 98% 19% 29% 6%
7.6 C gcc #4 3.44 500,268 709 3.46 0% 0% 100% 1%
8.1 Free Pascal #2 3.67 520,464 771 3.70 0% 100% 0% 1%
8.6 Intel Fortran 3.90 985,352 1019 4.11 1% 100% 4% 1%
9.6 Java #5 4.36 1,109,100 1108 4.53 2% 2% 2% 98%
11 Java #4 5.01 1,903,176 651 5.26 3% 1% 98% 3%
13 C++ g++ 5.85 979,912 592 6.01 1% 100% 0% 2%
14 Perl #3 6.36 1,495,132 287 6.52 0% 0% 2% 100%
14 Lisp SBCL 6.40 1,490,256 904 6.42 0% 0% 0% 100%
16 PHP #3 7.06 534,336 446 11.90 14% 49% 40% 65%
16 Python 3 #6 7.20 1,005,184 814 10.75 20% 53% 48% 29%
19 Dart #5 8.58 2,509,484 933 11.80 25% 70% 29% 14%
19 Racket #2 8.71 703,456 1030 8.74 0% 0% 0% 100%
21 Python 3 #2 9.53 1,786,800 434 9.57 0% 0% 100% 0%
21 PHP 9.63 1,487,604 318 9.72 100% 0% 0% 0%
21 Python 3 9.72 1,971,752 479 9.75 0% 0% 100% 0%
25 PHP #2 11.33 1,785,868 281 11.55 1% 1% 100% 1%
25 Ruby #3 11.45 2,009,880 482 21.50 34% 70% 57% 26%
27 Ruby #5 12.06 1,612,104 295 12.65 100% 0% 0% 4%
27 Python 3 #4 12.21 4,020,620 335 12.38 1% 0% 100% 0%
27 Ada 2012 GNAT 12.32 514,776 937 12.39 0% 0% 0% 100%
31 Ruby #4 14.10 2,010,696 601 24.36 70% 26% 38% 38%
35 Node js #2 15.97 707,324 1221 16.70 52% 50% 1% 2%
37 Dart 16.80 1,209,712 642 17.62 2% 100% 1% 2%
45 Ruby #2 20.39 511,964 264 21.96 5% 100% 2% 0%
46 Matz's Ruby #2 21.02 492,816 264 21.29 1% 0% 100% 0%
48 Java #7 21.81 1,033,720 1647 15.90 31% 9% 6% 27%
53 Racket 23.93 2,430,108 553 24.00 0% 100% 0% 0%
55 Ruby 24.85 2,009,976 514 40.92 32% 5% 39% 88%
68 Julia #2 31.02 1,740,768 460 31.37 1% 0% 99% 1%
75 C++ g++ #5 33.85 765,348 720 33.91 0% 0% 0% 100%
80 Intel Fortran #2 36.08 753,776 772 37.87 1% 3% 100% 1%
90 Lua #2 40.62 2,654,732 553 41.04 0% 100% 1% 0%
92 Lua #5 41.53 2,162,968 752 42.08 100% 0% 1% 0%
117 Lua #4 53.13 634,232 594 53.48 0% 100% 1% 0%
117 Dart #3 53.22 7,875,800 563 59.25 6% 97% 3% 5%
201 Dart #2 91.00 7,876,888 568 99.16 5% 18% 80% 5%
208 Dart #4 94.18 1,037,220 880 96.36 16% 3% 80% 4%
354 Erlang #3 160.43 5,740,024 630 172.96 40% 13% 27% 28%
Erlang Timed Out
Erlang #4 Timed Out
Go Failed
Haskell GHC #2 Make Error
Haskell GHC #3 Make Error
Lisp SBCL #2 Bad Output
OCaml #4 Make Error
OCaml #2 Make Error
OCaml #3 Make Error
Matz's Ruby #4 Failed
Matz's Ruby Failed
Matz's Ruby #3 Bad Output
Matz's Ruby #5 Failed
VW Smalltalk Bad Output