Skip to content

Instantly share code, notes, and snippets.

@killeent
Created December 22, 2016 18:20
Show Gist options
  • Save killeent/d990f09aa6db2cecf80e34e1a1af986a to your computer and use it in GitHub Desktop.
Save killeent/d990f09aa6db2cecf80e34e1a1af986a to your computer and use it in GitHub Desktop.
Averages of 10 trials used to generate results
----------------------------------------------------------------
CatArray for 2 1D Tensors took 9.0932846069336e-05 seconds. Clone: 2.8562545776367e-05
CatArray for 4 1D Tensors took 2.9778480529785e-05 seconds. Clone: 2.7894973754883e-05
CatArray for 8 1D Tensors took 2.892017364502e-05 seconds. Clone: 2.6392936706543e-05
CatArray for 16 1D Tensors took 3.2711029052734e-05 seconds. Clone: 2.6988983154297e-05
CatArray for 32 1D Tensors took 6.4587593078613e-05 seconds. Clone: 2.6130676269531e-05
CatArray for 64 1D Tensors took 4.2986869812012e-05 seconds. Clone: 2.6583671569824e-05
CatArray for 128 1D Tensors took 8.2588195800781e-05 seconds. Clone: 2.6845932006836e-05
CatArray for 256 1D Tensors took 8.995532989502e-05 seconds. Clone: 2.6607513427734e-05
CatArray for 512 1D Tensors took 0.00014631748199463 seconds. Clone: 3.2901763916016e-05
CatArray for 1024 1D Tensors took 0.00029780864715576 seconds. Clone: 3.2401084899902e-05
CatArray for 2048 1D Tensors took 0.00056970119476318 seconds. Clone: 6.0749053955078e-05
CatArray for 4096 1D Tensors took 0.0019303321838379 seconds. Clone: 0.00021998882293701
CatArray for 8192 1D Tensors took 0.0043143749237061 seconds. Clone: 0.059363079071045
----------------------------------------------------------------
CatArray for 2 2D Tensors along dim=1 took 5.8436393737793e-05 seconds. Clone: 2.892017364502e-05
CatArray for 2 2D Tensors along dim=2 took 2.9182434082031e-05 seconds. Clone: 2.748966217041e-05
CatArray for 4 2D Tensors along dim=1 took 5.9151649475098e-05 seconds. Clone: 2.6917457580566e-05
CatArray for 4 2D Tensors along dim=2 took 3.5572052001953e-05 seconds. Clone: 3.1185150146484e-05
CatArray for 8 2D Tensors along dim=1 took 3.7789344787598e-05 seconds. Clone: 3.2591819763184e-05
CatArray for 8 2D Tensors along dim=2 took 3.6001205444336e-05 seconds. Clone: 3.3211708068848e-05
CatArray for 16 2D Tensors along dim=1 took 3.7264823913574e-05 seconds. Clone: 3.1089782714844e-05
CatArray for 16 2D Tensors along dim=2 took 3.4356117248535e-05 seconds. Clone: 2.9397010803223e-05
CatArray for 32 2D Tensors along dim=1 took 0.00022213459014893 seconds. Clone: 0.00021243095397949
CatArray for 32 2D Tensors along dim=2 took 4.1818618774414e-05 seconds. Clone: 2.8681755065918e-05
CatArray for 64 2D Tensors along dim=1 took 0.00010666847229004 seconds. Clone: 3.1232833862305e-05
CatArray for 64 2D Tensors along dim=2 took 5.5384635925293e-05 seconds. Clone: 3.4093856811523e-05
CatArray for 128 2D Tensors along dim=1 took 9.1767311096191e-05 seconds. Clone: 8.3756446838379e-05
CatArray for 128 2D Tensors along dim=2 took 9.5510482788086e-05 seconds. Clone: 2.8562545776367e-05
CatArray for 256 2D Tensors along dim=1 took 0.00018124580383301 seconds. Clone: 5.4049491882324e-05
CatArray for 256 2D Tensors along dim=2 took 0.00019001960754395 seconds. Clone: 3.4213066101074e-05
CatArray for 512 2D Tensors along dim=1 took 0.00041038990020752 seconds. Clone: 0.00015063285827637
CatArray for 512 2D Tensors along dim=2 took 0.00027716159820557 seconds. Clone: 0.00016047954559326
CatArray for 1024 2D Tensors along dim=1 took 0.00047764778137207 seconds. Clone: 0.00015914440155029
CatArray for 1024 2D Tensors along dim=2 took 0.00052101612091064 seconds. Clone: 0.00021743774414062
CatArray for 2048 2D Tensors along dim=1 took 0.00081348419189453 seconds. Clone: 0.00025858879089355
CatArray for 2048 2D Tensors along dim=2 took 0.0008906364440918 seconds. Clone: 0.00028989315032959
CatArray for 4096 2D Tensors along dim=1 took 0.0016115665435791 seconds. Clone: 0.00034246444702148
CatArray for 4096 2D Tensors along dim=2 took 0.0016014099121094 seconds. Clone: 0.00034699440002441
CatArray for 8192 2D Tensors along dim=1 took 0.0033499002456665 seconds. Clone: 0.047842812538147
CatArray for 8192 2D Tensors along dim=2 took 0.0031336307525635 seconds. Clone: 0.091244006156921
----------------------------------------------------------------
CatArray for 2 3D Tensors along dim=1 took 7.0762634277344e-05 seconds. Clone: 2.9373168945313e-05
CatArray for 2 3D Tensors along dim=2 took 3.2711029052734e-05 seconds. Clone: 2.7918815612793e-05
CatArray for 2 3D Tensors along dim=3 took 3.5333633422852e-05 seconds. Clone: 6.8521499633789e-05
CatArray for 4 3D Tensors along dim=1 took 8.4733963012695e-05 seconds. Clone: 4.8041343688965e-05
CatArray for 4 3D Tensors along dim=2 took 5.8794021606445e-05 seconds. Clone: 2.9253959655762e-05
CatArray for 4 3D Tensors along dim=3 took 3.3473968505859e-05 seconds. Clone: 2.8729438781738e-05
CatArray for 8 3D Tensors along dim=1 took 0.00011951923370361 seconds. Clone: 0.00032689571380615
CatArray for 8 3D Tensors along dim=2 took 6.7925453186035e-05 seconds. Clone: 3.1876564025879e-05
CatArray for 8 3D Tensors along dim=3 took 5.8698654174805e-05 seconds. Clone: 0.00044512748718262
CatArray for 16 3D Tensors along dim=1 took 4.0221214294434e-05 seconds. Clone: 0.00011179447174072
CatArray for 16 3D Tensors along dim=2 took 0.00011231899261475 seconds. Clone: 3.0827522277832e-05
CatArray for 16 3D Tensors along dim=3 took 8.4447860717773e-05 seconds. Clone: 8.1801414489746e-05
CatArray for 32 3D Tensors along dim=1 took 0.00012316703796387 seconds. Clone: 0.00011484622955322
CatArray for 32 3D Tensors along dim=2 took 0.00014753341674805 seconds. Clone: 0.00023396015167236
CatArray for 32 3D Tensors along dim=3 took 4.734992980957e-05 seconds. Clone: 0.0006371021270752
CatArray for 64 3D Tensors along dim=1 took 0.00028481483459473 seconds. Clone: 0.00019147396087646
CatArray for 64 3D Tensors along dim=2 took 0.00020675659179688 seconds. Clone: 0.00013656616210937
CatArray for 64 3D Tensors along dim=3 took 0.00023667812347412 seconds. Clone: 0.00016438961029053
CatArray for 128 3D Tensors along dim=1 took 0.00045075416564941 seconds. Clone: 0.00019416809082031
CatArray for 128 3D Tensors along dim=2 took 0.00043959617614746 seconds. Clone: 0.000248122215271
CatArray for 128 3D Tensors along dim=3 took 0.00037856101989746 seconds. Clone: 0.00017364025115967
CatArray for 256 3D Tensors along dim=1 took 0.00047378540039063 seconds. Clone: 0.00027265548706055
CatArray for 256 3D Tensors along dim=2 took 0.00029242038726807 seconds. Clone: 0.00015630722045898
CatArray for 256 3D Tensors along dim=3 took 0.00032594203948975 seconds. Clone: 0.00024759769439697
CatArray for 512 3D Tensors along dim=1 took 0.00045092105865479 seconds. Clone: 0.017893362045288
CatArray for 512 3D Tensors along dim=2 took 0.00044856071472168 seconds. Clone: 0.00025348663330078
CatArray for 512 3D Tensors along dim=3 took 0.00058028697967529 seconds. Clone: 0.00027413368225098
CatArray for 1024 3D Tensors along dim=1 took 0.00079240798950195 seconds. Clone: 0.046312594413757
CatArray for 1024 3D Tensors along dim=2 took 0.00063083171844482 seconds. Clone: 0.00027420520782471
CatArray for 1024 3D Tensors along dim=3 took 0.00066180229187012 seconds. Clone: 0.038305640220642
CatArray for 2048 3D Tensors along dim=1 took 0.014647817611694 seconds. Clone: 0.00031270980834961
CatArray for 2048 3D Tensors along dim=2 took 0.0093718767166138 seconds. Clone: 0.048524641990662
CatArray for 2048 3D Tensors along dim=3 took 0.0012122392654419 seconds. Clone: 0.010280823707581
CatArray for 4096 3D Tensors along dim=1 took 0.0021358966827393 seconds. Clone: 0.14958109855652
CatArray for 4096 3D Tensors along dim=2 took 0.0025254487991333 seconds. Clone: 0.00036134719848633
CatArray for 4096 3D Tensors along dim=3 took 0.01804826259613 seconds. Clone: 0.053657054901123
CatArray for 8192 3D Tensors along dim=1 took 0.015481090545654 seconds. Clone: 0.00066916942596436
CatArray for 8192 3D Tensors along dim=2 took 0.025884556770325 seconds. Clone: 0.14007587432861
CatArray for 8192 3D Tensors along dim=3 took 0.038273525238037 seconds. Clone: 0.39887847900391
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment