meteor-contest benchmark N=2,098

Each chart bar shows how many times slower, one ↓ meteor-contest program was, compared to the fastest program.

These are not the only programs that could be written. These are not the only compilers and interpreters. These are not the only programming languages.

Column × shows how many times more each program used compared to the benchmark program that used least.

     sortsortsort
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
1.0PyPy 2 #2 0.890.9184,1201485  78% 7% 23% 3%
1.0PyPy 3 #2 0.890.9475,9801443  1% 99% 2% 2%
1.0PyPy 3 #2 0.890.9076,0961443  100% 7% 1% 1%
1.0PyPy 3 #2 0.920.9476,2361443  77% 30% 9% 9%
1.1PyPy 2 #2 0.951.0183,6761485  61% 93% 15% 8%
1.1PyPy 2 0.971.0482,8441579  100% 98% 10% 11%
1.1PyPy 3 0.980.9976,6001540  6% 7% 97% 3%
1.1PyPy 3 0.991.0176,7841540  3% 7% 99% 4%
1.1PyPy 2 #2 0.991.0483,7961485  22% 99% 16% 20%
1.1PyPy 2 1.001.0283,0321579  73% 16% 33% 99%
1.1PyPy 3 1.011.0176,3721540  2% 7% 1% 100%
1.2PyPy 2 1.111.1883,3961579  34% 99% 100% 38%
2.0Pyston #2 1.741.7430,1561485  0% 0% 99% 0%
2.0Pyston #2 1.741.7429,9721485  3% 98% 0% 0%
2.0Pyston #2 1.741.7428,0161485  100% 0% 1% 0%
2.3Pyston 2.052.0530,0601579  0% 100% 0% 0%
2.3Pyston 2.052.0530,0041579  100% 0% 0% 0%
2.3Pyston 2.062.0630,0121579  0% 0% 2% 98%
2.3PyPy 2 #3 2.072.0881,8121354  33% 10% 69% 1%
2.4PyPy 3 #3 2.102.2174,6521334  4% 95% 2% 1%
2.4PyPy 3 #3 2.102.1274,5921334  1% 6% 99% 1%
2.4PyPy 3 #3 2.122.1474,7881334  2% 8% 2% 100%
2.4PyPy 2 #3 2.162.1881,5761354  100% 16% 11% 12%
2.5PyPy 2 #3 2.192.3281,8441354  23% 99% 12% 12%
2.9Python 2 #2 2.612.627,1321485  1% 0% 1% 100%
3.0Python 2 #2 2.642.657,0921485  77% 2% 25% 1%
3.0Python 2 #2 2.642.657,1561485  3% 100% 1% 2%
3.0Nuitka #2 2.702.7010,2081443  0% 1% 1% 100%
3.0Nuitka #2 2.712.7210,0801443  100% 2% 0% 1%
3.1Nuitka #2 2.762.7610,2641443  2% 100% 1% 1%
3.4Nuitka 3.043.0410,0841540  41% 1% 60% 1%
3.5Nuitka 3.103.1110,1681540  31% 1% 70% 1%
3.5Nuitka 3.113.1110,4601540  100% 0% 1% 1%
3.5Python development version #2 3.163.168,0961443  6% 1% 2% 100%
3.6Python development version #2 3.203.208,0801443  5% 1% 100% 1%
3.6Python development version #2 3.233.257,9241443  15% 1% 90% 1%
3.7Python 3 #2 3.333.489,0361443  2% 100% 1% 2%
3.8Python 3 #2 3.353.358,8401443  81% 6% 20% 1%
3.8Python 3 #2 3.363.378,9881443  1% 5% 2% 100%
3.9Cython #3 3.513.5111,1601334  1% 100% 1% 1%
4.0Cython #3 3.533.5311,1761334  2% 1% 100% 2%
4.0Cython #3 3.553.5511,1241334  1% 1% 1% 100%
4.3Python 2 3.793.807,0521579  14% 1% 87% 4%
4.3Python 2 3.803.807,0761579  8% 2% 93% 2%
4.3Python 2 3.853.866,9161579  3% 1% 100% 1%
4.6Nuitka #3 4.094.1011,9601334  37% 1% 64% 1%
4.6Python development version 4.104.118,3121540  9% 8% 5% 100%
4.6Nuitka #3 4.114.1112,1321334  1% 0% 100% 1%
4.6Nuitka #3 4.124.1212,3441334  1% 100% 0% 1%
4.7Python development version 4.164.188,3001540  16% 0% 90% 1%
4.7Python development version 4.174.178,1361540  12% 8% 100% 9%
4.8Pyston #3 4.234.2330,4481354  0% 0% 0% 100%
4.8Pyston #3 4.234.2330,3201354  1% 99% 0% 0%
4.8Pyston #3 4.234.2330,2761354  0% 0% 100% 0%
4.8Python 2 #3 4.304.317,6961354  0% 1% 100% 1%
4.8Python development version #3 4.314.3210,0721334  5% 1% 0% 100%
4.9Python development version #3 4.334.3310,3201334  6% 100% 1% 0%
4.9Python development version #3 4.334.3410,0481334  7% 1% 1% 100%
4.9Python 2 #3 4.354.377,5321354  2% 100% 2% 1%
4.9Python 2 #3 4.364.367,5401354  1% 1% 1% 100%
5.0Python 3 4.424.628,9761540  1% 100% 1% 0%
5.0Python 3 4.474.488,8881540  100% 6% 1% 1%
5.0Python 3 4.494.509,0321540  74% 5% 28% 1%
5.2Python 3 #3 4.624.6311,3241334  100% 5% 1% 0%
5.3Python 3 #3 4.704.7011,1801334  2% 6% 1% 100%
5.3Python 3 #3 4.744.7511,1801334  1% 6% 1% 100%
14Jython #2 12.517.41307,5761485  25% 40% 49% 55%
14Jython #2 12.667.55311,7961485  42% 41% 36% 48%
15Jython #3 12.957.69303,3281354  35% 62% 34% 37%
15Jython #2 13.337.70319,3601485  51% 40% 36% 46%
15Jython #3 13.537.82308,0281354  33% 48% 64% 28%
15Jython #3 13.558.20314,7721354  47% 29% 60% 29%
17Jython 15.039.07312,0961579  61% 33% 39% 33%
17Jython 15.239.16315,1881579  28% 47% 49% 43%
17Jython 15.389.08309,5681579  34% 46% 39% 51%
20Graal #2 17.698.41664,8881443  73% 20% 61% 68%
20Graal #2 18.018.87804,5761443  59% 41% 52% 62%
20Graal #2 18.068.90749,7201443  58% 13% 64% 81%
22Graal 19.659.96678,3281540  67% 28% 57% 57%
25Graal 21.8111.05886,4481540  63% 78% 12% 59%
27Graal 24.3611.91883,6121540  12% 63% 73% 67%
229RustPython #2 204.10204.5220,9601443  8% 9% 62% 31%
268RustPython 238.20238.6720,5841540  9% 23% 36% 46%
missing benchmark programs
IronPython No program
Shedskin No program
Numba No program
MicroPython No program
Grumpy No program

 meteor-contest benchmark : Search for solutions to shape packing puzzle

This is a contest - different algorithms may be used.

You are expected to diff the output from your program N = 2098 against this output file before you contribute your program.

The Meteor Puzzle board is made up of 10 rows of 5 hexagonal Cells. There are 10 puzzle pieces to be placed on the board, we'll number them 0 to 9. Each puzzle piece is made up of 5 hexagonal Cells. As different algorithms may be used to generate the puzzle solutions, we require that the solutions be printed in a standard order and format. Here's one approach - working along each row left to right, and down the board from top to bottom, take the number of the piece placed in each cell on the board, and create a string from all 50 numbers, for example the smallest puzzle solution would be represented by

00001222012661126155865558633348893448934747977799

Print the smallest and largest Meteor Puzzle 50 character solution string in this format to mimic the hexagonal puzzle board:

0 0 0 0 1 
 2 2 2 0 1 
2 6 6 1 1 
 2 6 1 5 5 
8 6 5 5 5 
 8 6 3 3 3 
4 8 8 9 3 
 4 4 8 9 3 
4 7 4 7 9 
 7 7 7 9 9 

The command line parameter N should limit how many solutions will be found before the program halts, so that you can work with just a few solutions to debug and optimize your program.

Diff program output N = 2098 against the output file to check the format is correct.

The Meteor Puzzle and 3 Java puzzle solvers are described in "Optimize your Java application's performance" (pdf).

Revised BSD license

  Home   Conclusions   License   Play