Collection of binary heap sort implementation for many languages, primary to compare performance between languages
Programs have been executed on http://codeforces.com/ which uses Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz on Windows 7 64-bit.
You may use http://codeforces.com/problemset/customtest to run a code.
Several executions give the following results:
Language | Compiler | Running time |
---|---|---|
C++ | MinGW 4.7.2 32-bit | 630 |
C++ | MS VS 2010 32-bit | 650 |
Java | Oracle Java 6 32-bit | 1060 |
Java | Oracle Java 7 32-bit | 1050 |
JavaScript | V8 3.23.0 32-bit | 1700 |