Skip to content

Collection of binary heap sort implementation for many languages, primary to compare performance between languages

License

Notifications You must be signed in to change notification settings

alexeyshch/binary-heap-benchmark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binary-heap-benchmark

Collection of binary heap sort implementation for many languages, primary to compare performance between languages

Results

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
Pascal Delphi 7 32-bit 630
Pascal FreePascal 2.6.2 32-bit 730
Python 2 Python 2.7.4 32-bit 12500
Python 3 Python 3.3.2 32-bit 20000
Ruby Ruby 1.9.3p0 (2011-10-30, i386-mingw32) 32-bit 520000
Ruby Ruby 2.0.0p353 (2013-11-22, i386-mingw32) 32-bit 345000
Scala Scala 2.10.3 (over Oracle Java 7 32-bit) 950
Go Go 1.1.1 32-bit 1825

About

Collection of binary heap sort implementation for many languages, primary to compare performance between languages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 13.3%
  • Java 12.8%
  • PHP 11.2%
  • Scala 11.0%
  • Oxygene 11.0%
  • OCaml 9.2%
  • Other 31.5%