Skip to content

Instantly share code, notes, and snippets.

@catawbasam
Created June 18, 2014 19:27
Show Gist options
  • Save catawbasam/e1768937952565213561 to your computer and use it in GitHub Desktop.
Save catawbasam/e1768937952565213561 to your computer and use it in GitHub Desktop.
abstract_anonymous_after
{
"metadata": {
"language": "Julia",
"name": "",
"signature": "sha256:e4991cde234b104b1f7077d9c0d16d41f1d359e58c1c2f3900573a7b513d4566"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## ProfileView Example AFTER - using named functions\n",
"#### in float(A::AbstractArray) and complex(A::AbstractArray) \n",
"https://github.com/JuliaLang/julia/blob/master/base/profile.jl"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"using ProfileView"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### example function from https://github.com/timholy/ProfileView.jl :"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"function profile_test(n)\n",
" for i = 1:n\n",
" A = randn(100,100,20)\n",
" m = maximum(A)\n",
" Afft = fft(A)\n",
" Am = mapslices(sum, A, 2)\n",
" B = A[:,:,5]\n",
" Bsort = mapslices(sort, B, 1)\n",
" b = rand(100)\n",
" C = B.*b\n",
" end\n",
"end\n",
"\n",
"profile_test(1) # run once to trigger compilation\n",
"Profile.clear() # in case we have any previous profiling data\n",
"@profile profile_test(10)"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 2
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### !!! anonymous functions in abstractarray.jl:319 !!!"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"ProfileView.view()"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 3,
"svg": [
"<?xml version=\"1.0\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<svg version=\"1.1\" width=\"1200\" height=\"265\" onload=\"init(evt)\" viewBox=\"0 0 1200 265\" xmlns=\"http://www.w3.org/2000/svg\" >\n",
"<defs >\n",
" <linearGradient id=\"background\" y1=\"0\" y2=\"1\" x1=\"0\" x2=\"0\" >\n",
" <stop stop-color=\"#eeeeee\" offset=\"5%\" />\n",
" <stop stop-color=\"#eeeeb0\" offset=\"95%\" />\n",
" </linearGradient>\n",
"</defs>\n",
"<style type=\"text/css\">\n",
" rect[rx]:hover { stroke:black; stroke-width:1; }\n",
" text:hover { stroke:black; stroke-width:1; stroke-opacity:0.35; }\n",
"</style>\n",
"<script type=\"text/ecmascript\">\n",
"<![CDATA[\n",
" var details;\n",
" function init(evt) { details = document.getElementById(\"details\").firstChild; }\n",
" function s(info) { details.nodeValue = info; }\n",
" function c() { details.nodeValue = ' '; }\n",
"]]>\n",
"</script>\n",
"<rect x=\"0.0\" y=\"0\" width=\"1200.0\" height=\"265.0\" fill=\"url(#background)\" />\n",
"<text text-anchor=\"middle\" x=\"600\" y=\"24\" font-size=\"17\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" >Profile results</text>\n",
"<text text-anchor=\"left\" x=\"10\" y=\"248\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" >Function:</text>\n",
"<text text-anchor=\"\" x=\"70\" y=\"248\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" id=\"details\" > </text>\n",
"<rect x=\"10.0\" y=\"210.0\" width=\"1160.5761316872427\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('include_string in loading.jl:97')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"14.0\" y=\"221.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('include_string in loading.jl:97')\" onmouseout=\"c()\">\n",
"include_string in loading.jl:97\n",
"</text>\n",
"<rect x=\"1170.5761316872427\" y=\"210.0\" width=\"9.711934156378675\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('mapreduce_impl in reduce.jl:271')\" onmouseout=\"c()\"/><rect x=\"1180.2880658436213\" y=\"210.0\" width=\"4.855967078189224\" height=\"15.0\" fill=\"rgb(0,167,175)\" rx=\"2\" ry=\"2\" onmouseover=\"s('mapreduce_impl in reduce.jl:278')\" onmouseout=\"c()\"/><rect x=\"10.0\" y=\"195.0\" width=\"1160.5761316872427\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('anonymous in profile.jl:14')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"14.0\" y=\"206.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('anonymous in profile.jl:14')\" onmouseout=\"c()\">\n",
"anonymous in profile.jl:14\n",
"</text>\n",
"<rect x=\"10.0\" y=\"180.0\" width=\"131.11111111111111\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('profile_test in In[2]:3')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"14.0\" y=\"191.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('profile_test in In[2]:3')\" onmouseout=\"c()\">\n",
"profile_test in In[2..\n",
"</text>\n",
"<rect x=\"141.11111111111111\" y=\"180.0\" width=\"670.1234567901234\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('profile_test in In[2]:5')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"145.11111111111111\" y=\"191.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('profile_test in In[2]:5')\" onmouseout=\"c()\">\n",
"profile_test in In[2]:5\n",
"</text>\n",
"<rect x=\"811.2345679012345\" y=\"180.0\" width=\"160.24691358024688\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('profile_test in In[2]:5')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"815.2345679012345\" y=\"191.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('profile_test in In[2]:5')\" onmouseout=\"c()\">\n",
"profile_test in In[2]:5\n",
"</text>\n",
"<rect x=\"971.4814814814814\" y=\"180.0\" width=\"169.95884773662544\" height=\"15.0\" fill=\"rgb(0,167,175)\" rx=\"2\" ry=\"2\" onmouseover=\"s('profile_test in In[2]:6')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"975.4814814814814\" y=\"191.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('profile_test in In[2]:6')\" onmouseout=\"c()\">\n",
"profile_test in In[2]:6\n",
"</text>\n",
"<rect x=\"1141.4403292181069\" y=\"180.0\" width=\"4.855967078189451\" height=\"15.0\" fill=\"rgb(0,167,175)\" rx=\"2\" ry=\"2\" onmouseover=\"s('profile_test in In[2]:6')\" onmouseout=\"c()\"/><rect x=\"1146.2962962962963\" y=\"180.0\" width=\"4.855967078189224\" height=\"15.0\" fill=\"rgb(210,171,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('profile_test in In[2]:7')\" onmouseout=\"c()\"/><rect x=\"1151.1522633744855\" y=\"180.0\" width=\"19.423868312757122\" height=\"15.0\" fill=\"rgb(109,81,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('profile_test in In[2]:8')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"1155.1522633744855\" y=\"191.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('profile_test in In[2]:8')\" onmouseout=\"c()\">\n",
"p..\n",
"</text>\n",
"<rect x=\"10.0\" y=\"165.0\" width=\"116.5432098765432\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randn! in random.jl:249')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"14.0\" y=\"176.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('randn! in random.jl:249')\" onmouseout=\"c()\">\n",
"randn! in random...\n",
"</text>\n",
"<rect x=\"126.5432098765432\" y=\"165.0\" width=\"4.855967078189295\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randn! in random.jl:249')\" onmouseout=\"c()\"/><rect x=\"131.3991769547325\" y=\"165.0\" width=\"9.711934156378618\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randn! in random.jl:249')\" onmouseout=\"c()\"/><rect x=\"141.11111111111111\" y=\"165.0\" width=\"4.8559670781892805\" height=\"15.0\" fill=\"rgb(255,121,177)\" rx=\"2\" ry=\"2\" onmouseover=\"s('map_promote in abstractarray.jl:1295')\" onmouseout=\"c()\"/><rect x=\"145.9670781893004\" y=\"165.0\" width=\"665.2674897119341\" height=\"15.0\" fill=\"rgb(57,255,110)\" rx=\"2\" ry=\"2\" onmouseover=\"s('map_promote in abstractarray.jl:1297')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"149.9670781893004\" y=\"176.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('map_promote in abstractarray.jl:1297')\" onmouseout=\"c()\">\n",
"map_promote in abstractarray.jl:1297\n",
"</text>\n",
"<rect x=\"811.2345679012345\" y=\"165.0\" width=\"9.711934156378561\" height=\"15.0\" fill=\"rgb(0,0,122)\" rx=\"2\" ry=\"2\" onmouseover=\"s('fft! in fftw.jl:431')\" onmouseout=\"c()\"/><rect x=\"820.9465020576131\" y=\"165.0\" width=\"150.53497942386832\" height=\"15.0\" fill=\"rgb(0,88,98)\" rx=\"2\" ry=\"2\" onmouseover=\"s('fft! in fftw.jl:432')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"824.9465020576131\" y=\"176.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('fft! in fftw.jl:432')\" onmouseout=\"c()\">\n",
"fft! in fftw.jl:432\n",
"</text>\n",
"<rect x=\"971.4814814814814\" y=\"165.0\" width=\"4.855967078189337\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('mapslices in abstractarray.jl:1242')\" onmouseout=\"c()\"/><rect x=\"976.3374485596707\" y=\"165.0\" width=\"165.1028806584361\" height=\"15.0\" fill=\"rgb(255,121,177)\" rx=\"2\" ry=\"2\" onmouseover=\"s('mapslices in abstractarray.jl:1254')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"980.3374485596707\" y=\"176.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('mapslices in abstractarray.jl:1254')\" onmouseout=\"c()\">\n",
"mapslices in abstractarray..\n",
"</text>\n",
"<rect x=\"1146.2962962962963\" y=\"165.0\" width=\"4.855967078189224\" height=\"15.0\" fill=\"rgb(57,255,110)\" rx=\"2\" ry=\"2\" onmouseover=\"s('getindex in multidimensional.jl:50')\" onmouseout=\"c()\"/><rect x=\"1151.1522633744855\" y=\"165.0\" width=\"19.423868312757122\" height=\"15.0\" fill=\"rgb(0,0,122)\" rx=\"2\" ry=\"2\" onmouseover=\"s('mapslices in abstractarray.jl:1254')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"1155.1522633744855\" y=\"176.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('mapslices in abstractarray.jl:1254')\" onmouseout=\"c()\">\n",
"m..\n",
"</text>\n",
"<rect x=\"10.0\" y=\"150.0\" width=\"48.559670781893004\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randmtzig_randn in librandom.jl:597')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"14.0\" y=\"161.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('randmtzig_randn in librandom.jl:597')\" onmouseout=\"c()\">\n",
"randmt..\n",
"</text>\n",
"<rect x=\"58.559670781893004\" y=\"150.0\" width=\"4.855967078189295\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randmtzig_randn in librandom.jl:597')\" onmouseout=\"c()\"/><rect x=\"63.4156378600823\" y=\"150.0\" width=\"19.423868312757207\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randmtzig_randn in librandom.jl:600')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"67.4156378600823\" y=\"161.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('randmtzig_randn in librandom.jl:600')\" onmouseout=\"c()\">\n",
"r..\n",
"</text>\n",
"<rect x=\"82.8395061728395\" y=\"150.0\" width=\"4.855967078189295\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randmtzig_randn in librandom.jl:600')\" onmouseout=\"c()\"/><rect x=\"87.6954732510288\" y=\"150.0\" width=\"9.711934156378604\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randmtzig_randn in librandom.jl:600')\" onmouseout=\"c()\"/><rect x=\"97.4074074074074\" y=\"150.0\" width=\"4.855967078189295\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randmtzig_randn in librandom.jl:600')\" onmouseout=\"c()\"/><rect x=\"102.2633744855967\" y=\"150.0\" width=\"4.855967078189309\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randmtzig_randn in librandom.jl:600')\" onmouseout=\"c()\"/><rect x=\"107.11934156378601\" y=\"150.0\" width=\"4.855967078189295\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randmtzig_randn in librandom.jl:600')\" onmouseout=\"c()\"/><rect x=\"111.9753086419753\" y=\"150.0\" width=\"4.855967078189295\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randmtzig_randn in librandom.jl:600')\" onmouseout=\"c()\"/><rect x=\"116.8312757201646\" y=\"150.0\" width=\"4.855967078189309\" height=\"15.0\" fill=\"rgb(0,167,175)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randmtzig_randn in librandom.jl:611')\" onmouseout=\"c()\"/><rect x=\"121.6872427983539\" y=\"150.0\" width=\"4.855967078189295\" height=\"15.0\" fill=\"rgb(0,167,175)\" rx=\"2\" ry=\"2\" onmouseover=\"s('randmtzig_randn in librandom.jl:611')\" onmouseout=\"c()\"/><rect x=\"141.11111111111111\" y=\"150.0\" width=\"4.8559670781892805\" height=\"15.0\" fill=\"rgb(210,171,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('similar in abstractarray.jl:116')\" onmouseout=\"c()\"/><rect x=\"145.9670781893004\" y=\"150.0\" width=\"4.855967078189309\" height=\"15.0\" fill=\"rgb(109,81,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1273')\" onmouseout=\"c()\"/><rect x=\"150.8230452674897\" y=\"150.0\" width=\"247.65432098765433\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1274')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"154.8230452674897\" y=\"161.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('promote_to! in abstractarray.jl:1274')\" onmouseout=\"c()\">\n",
"promote_to! in abstractarray.jl:1274\n",
"</text>\n",
"<rect x=\"398.47736625514403\" y=\"150.0\" width=\"305.92592592592587\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1274')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"402.47736625514403\" y=\"161.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('promote_to! in abstractarray.jl:1274')\" onmouseout=\"c()\">\n",
"promote_to! in abstractarray.jl:1274\n",
"</text>\n",
"<rect x=\"704.4032921810699\" y=\"150.0\" width=\"9.711934156378561\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1274')\" onmouseout=\"c()\"/><rect x=\"714.1152263374485\" y=\"150.0\" width=\"14.567901234567898\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1274')\" onmouseout=\"c()\"/><rect x=\"728.6831275720164\" y=\"150.0\" width=\"29.135802469135797\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1275')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"732.6831275720164\" y=\"161.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('promote_to! in abstractarray.jl:1275')\" onmouseout=\"c()\">\n",
"pro..\n",
"</text>\n",
"<rect x=\"757.8189300411522\" y=\"150.0\" width=\"4.855967078189337\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1275')\" onmouseout=\"c()\"/><rect x=\"762.6748971193415\" y=\"150.0\" width=\"9.711934156378561\" height=\"15.0\" fill=\"rgb(0,167,175)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1276')\" onmouseout=\"c()\"/><rect x=\"772.38683127572\" y=\"150.0\" width=\"4.855967078189337\" height=\"15.0\" fill=\"rgb(0,167,175)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1276')\" onmouseout=\"c()\"/><rect x=\"777.2427983539094\" y=\"150.0\" width=\"4.855967078189337\" height=\"15.0\" fill=\"rgb(210,171,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1277')\" onmouseout=\"c()\"/><rect x=\"782.0987654320987\" y=\"150.0\" width=\"14.567901234567898\" height=\"15.0\" fill=\"rgb(210,171,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1277')\" onmouseout=\"c()\"/><rect x=\"796.6666666666666\" y=\"150.0\" width=\"4.855967078189337\" height=\"15.0\" fill=\"rgb(210,171,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1277')\" onmouseout=\"c()\"/><rect x=\"801.522633744856\" y=\"150.0\" width=\"4.855967078189224\" height=\"15.0\" fill=\"rgb(109,81,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1286')\" onmouseout=\"c()\"/><rect x=\"806.3786008230452\" y=\"150.0\" width=\"4.855967078189337\" height=\"15.0\" fill=\"rgb(109,81,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('promote_to! in abstractarray.jl:1286')\" onmouseout=\"c()\"/><rect x=\"811.2345679012345\" y=\"150.0\" width=\"9.711934156378561\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('Plan in fftw.jl:302')\" onmouseout=\"c()\"/><rect x=\"976.3374485596707\" y=\"150.0\" width=\"165.1028806584361\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('cartesianmap in abstractarray.jl:1171')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"980.3374485596707\" y=\"161.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('cartesianmap in abstractarray.jl:1171')\" onmouseout=\"c()\">\n",
"cartesianmap in abstractar..\n",
"</text>\n",
"<rect x=\"1151.1522633744855\" y=\"150.0\" width=\"19.423868312757122\" height=\"15.0\" fill=\"rgb(0,167,175)\" rx=\"2\" ry=\"2\" onmouseover=\"s('cartesianmap in abstractarray.jl:1164')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"1155.1522633744855\" y=\"161.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('cartesianmap in abstractarray.jl:1164')\" onmouseout=\"c()\">\n",
"c..\n",
"</text>\n",
"<rect x=\"170.2469135802469\" y=\"135.0\" width=\"4.8559670781892805\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('anonymous in fftw.jl:222')\" onmouseout=\"c()\"/><rect x=\"563.5802469135803\" y=\"135.0\" width=\"4.855967078189224\" height=\"15.0\" fill=\"rgb(255,121,177)\" rx=\"2\" ry=\"2\" onmouseover=\"s('_var4 in abstractarray.jl:326')\" onmouseout=\"c()\"/><rect x=\"976.3374485596707\" y=\"135.0\" width=\"9.711934156378561\" height=\"15.0\" fill=\"rgb(57,255,110)\" rx=\"2\" ry=\"2\" onmouseover=\"s('anonymous in abstractarray.jl:1258')\" onmouseout=\"c()\"/><rect x=\"986.0493827160493\" y=\"135.0\" width=\"29.135802469135797\" height=\"15.0\" fill=\"rgb(0,0,122)\" rx=\"2\" ry=\"2\" onmouseover=\"s('anonymous in abstractarray.jl:1259')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"990.0493827160493\" y=\"146.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('anonymous in abstractarray.jl:1259')\" onmouseout=\"c()\">\n",
"ano..\n",
"</text>\n",
"<rect x=\"1015.1851851851851\" y=\"135.0\" width=\"29.13580246913591\" height=\"15.0\" fill=\"rgb(0,88,98)\" rx=\"2\" ry=\"2\" onmouseover=\"s('anonymous in abstractarray.jl:1260')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"1019.1851851851851\" y=\"146.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('anonymous in abstractarray.jl:1260')\" onmouseout=\"c()\">\n",
"ano..\n",
"</text>\n",
"<rect x=\"1044.320987654321\" y=\"135.0\" width=\"9.711934156378447\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('anonymous in abstractarray.jl:1261')\" onmouseout=\"c()\"/><rect x=\"1054.0329218106995\" y=\"135.0\" width=\"4.855967078189451\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('anonymous in abstractarray.jl:1261')\" onmouseout=\"c()\"/><rect x=\"1058.888888888889\" y=\"135.0\" width=\"58.271604938271594\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('anonymous in abstractarray.jl:1261')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"1062.888888888889\" y=\"146.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('anonymous in abstractarray.jl:1261')\" onmouseout=\"c()\">\n",
"anonymou..\n",
"</text>\n",
"<rect x=\"1117.1604938271605\" y=\"135.0\" width=\"19.423868312757122\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('anonymous in abstractarray.jl:1261')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"1121.1604938271605\" y=\"146.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('anonymous in abstractarray.jl:1261')\" onmouseout=\"c()\">\n",
"a..\n",
"</text>\n",
"<rect x=\"1136.5843621399176\" y=\"135.0\" width=\"4.855967078189224\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('anonymous in abstractarray.jl:1261')\" onmouseout=\"c()\"/><rect x=\"1151.1522633744855\" y=\"135.0\" width=\"9.711934156378675\" height=\"15.0\" fill=\"rgb(255,121,177)\" rx=\"2\" ry=\"2\" onmouseover=\"s('anonymous in abstractarray.jl:1260')\" onmouseout=\"c()\"/><rect x=\"1160.8641975308642\" y=\"135.0\" width=\"9.711934156378447\" height=\"15.0\" fill=\"rgb(57,255,110)\" rx=\"2\" ry=\"2\" onmouseover=\"s('anonymous in abstractarray.jl:1261')\" onmouseout=\"c()\"/><rect x=\"170.2469135802469\" y=\"120.0\" width=\"4.8559670781892805\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('typeinf_ext in ./inference.jl:1207')\" onmouseout=\"c()\"/><rect x=\"1015.1851851851851\" y=\"120.0\" width=\"4.855967078189337\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('setindex! in array.jl:344')\" onmouseout=\"c()\"/><rect x=\"1044.320987654321\" y=\"120.0\" width=\"9.711934156378447\" height=\"15.0\" fill=\"rgb(0,167,175)\" rx=\"2\" ry=\"2\" onmouseover=\"s('reshape in array.jl:102')\" onmouseout=\"c()\"/><rect x=\"1058.888888888889\" y=\"120.0\" width=\"9.711934156378447\" height=\"15.0\" fill=\"rgb(210,171,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('getindex in multidimensional.jl:49')\" onmouseout=\"c()\"/><rect x=\"1068.6008230452674\" y=\"120.0\" width=\"33.99176954732525\" height=\"15.0\" fill=\"rgb(109,81,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('getindex in multidimensional.jl:50')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"1072.6008230452674\" y=\"131.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('getindex in multidimensional.jl:50')\" onmouseout=\"c()\">\n",
"geti..\n",
"</text>\n",
"<rect x=\"1117.1604938271605\" y=\"120.0\" width=\"14.567901234567898\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('setindex! in multidimensional.jl:61')\" onmouseout=\"c()\"/><rect x=\"1160.8641975308642\" y=\"120.0\" width=\"9.711934156378447\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('sort in sort.jl:321')\" onmouseout=\"c()\"/><rect x=\"170.2469135802469\" y=\"105.0\" width=\"4.8559670781892805\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('typeinf in ./inference.jl:1518')\" onmouseout=\"c()\"/><rect x=\"1058.888888888889\" y=\"105.0\" width=\"9.711934156378447\" height=\"15.0\" fill=\"rgb(255,121,177)\" rx=\"2\" ry=\"2\" onmouseover=\"s('checkbounds in abstractarray.jl:94')\" onmouseout=\"c()\"/><rect x=\"1068.6008230452674\" y=\"105.0\" width=\"19.42386831275735\" height=\"15.0\" fill=\"rgb(57,255,110)\" rx=\"2\" ry=\"2\" onmouseover=\"s('_getindex! in multidimensional.jl:37')\" onmouseout=\"c()\"/><text text-anchor=\"\" x=\"1072.6008230452674\" y=\"116.5\" font-size=\"12\" font-family=\"Verdana\" fill=\"rgb(0,0,0)\" onmouseover=\"s('_getindex! in multidimensional.jl:37')\" onmouseout=\"c()\">\n",
"_..\n",
"</text>\n",
"<rect x=\"1088.0246913580247\" y=\"105.0\" width=\"9.711934156378447\" height=\"15.0\" fill=\"rgb(0,0,122)\" rx=\"2\" ry=\"2\" onmouseover=\"s('_getindex! in multidimensional.jl:293')\" onmouseout=\"c()\"/><rect x=\"1097.7366255144032\" y=\"105.0\" width=\"4.855967078189451\" height=\"15.0\" fill=\"rgb(0,0,122)\" rx=\"2\" ry=\"2\" onmouseover=\"s('_getindex! in multidimensional.jl:293')\" onmouseout=\"c()\"/><rect x=\"1117.1604938271605\" y=\"105.0\" width=\"14.567901234567898\" height=\"15.0\" fill=\"rgb(0,88,98)\" rx=\"2\" ry=\"2\" onmouseover=\"s('checkbounds in abstractarray.jl:92')\" onmouseout=\"c()\"/><rect x=\"1160.8641975308642\" y=\"105.0\" width=\"9.711934156378447\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('sort! in sort.jl:428')\" onmouseout=\"c()\"/><rect x=\"170.2469135802469\" y=\"90.0\" width=\"4.8559670781892805\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('inlining_pass in ./inference.jl:2508')\" onmouseout=\"c()\"/><rect x=\"1160.8641975308642\" y=\"90.0\" width=\"9.711934156378447\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('fpsort! in sort.jl:424')\" onmouseout=\"c()\"/><rect x=\"170.2469135802469\" y=\"75.0\" width=\"4.8559670781892805\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('inlining_pass in ./inference.jl:2545')\" onmouseout=\"c()\"/><rect x=\"1160.8641975308642\" y=\"75.0\" width=\"4.855967078189224\" height=\"15.0\" fill=\"rgb(255,121,177)\" rx=\"2\" ry=\"2\" onmouseover=\"s('sort! in sort.jl:264')\" onmouseout=\"c()\"/><rect x=\"1165.7201646090534\" y=\"75.0\" width=\"4.855967078189224\" height=\"15.0\" fill=\"rgb(57,255,110)\" rx=\"2\" ry=\"2\" onmouseover=\"s('sort! in sort.jl:269')\" onmouseout=\"c()\"/><rect x=\"170.2469135802469\" y=\"60.0\" width=\"4.8559670781892805\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('inlining_pass in ./inference.jl:2545')\" onmouseout=\"c()\"/><rect x=\"1165.7201646090534\" y=\"60.0\" width=\"4.855967078189224\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('sort! in sort.jl:269')\" onmouseout=\"c()\"/><rect x=\"170.2469135802469\" y=\"45.0\" width=\"4.8559670781892805\" height=\"15.0\" fill=\"rgb(140,0,69)\" rx=\"2\" ry=\"2\" onmouseover=\"s('inlining_pass in ./inference.jl:2609')\" onmouseout=\"c()\"/><rect x=\"1165.7201646090534\" y=\"45.0\" width=\"4.855967078189224\" height=\"15.0\" fill=\"rgb(255,121,177)\" rx=\"2\" ry=\"2\" onmouseover=\"s('sort! in sort.jl:247')\" onmouseout=\"c()\"/><rect x=\"170.2469135802469\" y=\"30.0\" width=\"4.8559670781892805\" height=\"15.0\" fill=\"rgb(120,90,252)\" rx=\"2\" ry=\"2\" onmouseover=\"s('inlineable in ./inference.jl:2147')\" onmouseout=\"c()\"/><rect x=\"1165.7201646090534\" y=\"30.0\" width=\"4.855967078189224\" height=\"15.0\" fill=\"rgb(8,139,0)\" rx=\"2\" ry=\"2\" onmouseover=\"s('sort! in sort.jl:234')\" onmouseout=\"c()\"/>\n",
"</svg>\n"
],
"text": [
"ProfileData(243x13 Array{RGB,2}:\n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) \u2026 RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) \u2026 RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) RGB(0.0,0.0,0.0) \n",
" \u22ee \u22f1 \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) \u2026 RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) RGB(0.0,0.0,0.0) \n",
" RGB(0.47034102652604887,0.3548485806834522,0.9887746568367514) RGB(0.032953713619640335,0.546608346245583,0.0)\n",
" RGB(0.032953713619640335,0.546608346245583,0.0) RGB(0.0,0.0,0.0) \n",
" RGB(0.032953713619640335,0.546608346245583,0.0) \u2026 RGB(0.0,0.0,0.0) \n",
" RGB(0.0,0.6553320810805296,0.686843949904043) RGB(0.0,0.0,0.0) \n",
" RGB(0.8224759775183069,0.671614259403402,0.0) RGB(0.0,0.0,0.0) ,[0x00007f8aa502cd30=>LineInfo(\"???\",\"???\",-1526543056,true),0x00007f8aa4f4ccc4=>LineInfo(\"???\",\"???\",-1527460668,true),0x00007f8ab2702f42=>LineInfo(\"???\",\"???\",-1301270718,true),0x00007f8ab26f9d5c=>LineInfo(\"???\",\"???\",-1301308068,true),0x00007f8aac2e2b54=>LineInfo(\"profile_test\",\"In[2]\",8,false),0x00007f8aac2e72fd=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1277,false),0x00007f8aa5036883=>LineInfo(\"???\",\"???\",-1526503293,true),0x00007f8aac2e69d9=>LineInfo(\"randmtzig_randn\",\"librandom.jl\",600,false),0x00007f8aabc7ba02=>LineInfo(\"typeinf_ext\",\"./inference.jl\",1207,false),0x00007f8aa7ce85de=>LineInfo(\"???\",\"???\",-1479637538,true),0x00007f8aa4f564c5=>LineInfo(\"???\",\"???\",-1527421755,true),0x00007f8aac2e2af5=>LineInfo(\"profile_test\",\"In[2]\",7,false),0x00007f8aa4f5ae24=>LineInfo(\"???\",\"???\",-1527402972,true),0x00007f8aabc7a684=>LineInfo(\"typeinf\",\"./inference.jl\",1518,false),0x00007f8aa4f4ccb4=>LineInfo(\"???\",\"???\",-1527460684,true),0x00007f8ab26f9c0e=>LineInfo(\"???\",\"???\",-1301308402,true),0x00007f8ab2fc4cde=>LineInfo(\"???\",\"???\",-1292088098,true),0x00007f8aac2e72e9=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1286,false),0x00007f8ab2756f79=>LineInfo(\"???\",\"???\",-1300926599,true),0x00007f8ab275682d=>LineInfo(\"???\",\"???\",-1300928467,true),0x00007f8aa5066b71=>LineInfo(\"???\",\"???\",-1526305935,true),0x00007f8ab26fd731=>LineInfo(\"???\",\"???\",-1301293263,true),0x00007f8aac2e720c=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1276,false),0x00007f8ab26f9bae=>LineInfo(\"???\",\"???\",-1301308498,true),0x00007f8ab2756791=>LineInfo(\"???\",\"???\",-1300928623,true),0x00007f8ab26fba1c=>LineInfo(\"???\",\"???\",-1301300708,true),0x00007f8aac2e719c=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1274,false),0x00007f8aac2e7201=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1276,false),0x00007f8ab2756420=>LineInfo(\"???\",\"???\",-1300929504,true),0x00007f8ab26f9d86=>LineInfo(\"???\",\"???\",-1301308026,true),0x00007f8aabc63e7e=>LineInfo(\"inlining_pass\",\"./inference.jl\",2545,false),0x00007f8ab2953e14=>LineInfo(\"???\",\"???\",-1298842092,true),0x00007f8ab2757863=>LineInfo(\"???\",\"???\",-1300924317,true),0x00007f8ab26f9b8b=>LineInfo(\"???\",\"???\",-1301308533,true),0x00007f8aa4f5ac67=>LineInfo(\"???\",\"???\",-1527403417,true),0x00007f8ab2756460=>LineInfo(\"???\",\"???\",-1300929440,true),0x00007f8aac2e7303=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1277,false),0x00007f8ab2756690=>LineInfo(\"???\",\"???\",-1300928880,true),0x00007f8aac2ec54f=>LineInfo(\"???\",\"???\",-1406220977,true),0x00007f8aac2f46d5=>LineInfo(\"anonymous\",\"fftw.jl\",222,false),0x00007f8aac2e2a11=>LineInfo(\"profile_test\",\"In[2]\",5,false),0x00007f8aa5066917=>LineInfo(\"???\",\"???\",-1526306537,true),0x00007f8aac2e2913=>LineInfo(\"profile_test\",\"In[2]\",3,false),0x00007f8aac2e6852=>LineInfo(\"mapreduce_impl\",\"reduce.jl\",278,false),0x00007f8ab2756e69=>LineInfo(\"???\",\"???\",-1300926871,true),0x00007f8ab26f9c7b=>LineInfo(\"???\",\"???\",-1301308293,true),0x00007f8ab27562f0=>LineInfo(\"???\",\"???\",-1300929808,true),0x00007f8ab2756334=>LineInfo(\"???\",\"???\",-1300929740,true),0x00007f8aac2f14c0=>LineInfo(\"sort!\",\"sort.jl\",428,false),0x000000317807aefe=>LineInfo(\"???\",\"???\",2013769470,true),0x00007f8aac2f149b=>LineInfo(\"???\",\"???\",-1406200677,true),0x00007f8ab275787d=>LineInfo(\"???\",\"???\",-1300924291,true),0x00007f8aac2e5f74=>LineInfo(\"getindex\",\"multidimensional.jl\",50,false),0x00007f8aac2e749f=>LineInfo(\"???\",\"???\",-1406241633,true),0x00007f8aac2f12fc=>LineInfo(\"sort\",\"sort.jl\",321,false),0x00007f8ab26fd7c3=>LineInfo(\"???\",\"???\",-1301293117,true),0x00007f8aa4f58737=>LineInfo(\"???\",\"???\",-1527412937,true),0x00007f8ab26f9be5=>LineInfo(\"???\",\"???\",-1301308443,true),0x00007f8aa5028f47=>LineInfo(\"???\",\"???\",-1526558905,true),0x00007f8aac2ebdef=>LineInfo(\"???\",\"???\",-1406222865,true),0x00007f8ab2703530=>LineInfo(\"???\",\"???\",-1301269200,true),0x00007f8aa4f55e74=>LineInfo(\"???\",\"???\",-1527423372,true),0x00007f8ab26fd6f5=>LineInfo(\"???\",\"???\",-1301293323,true),0x00007f8aa4f4ccb7=>LineInfo(\"???\",\"???\",-1527460681,true),0x00007f8aac2efabc=>LineInfo(\"???\",\"???\",-1406207300,true),0x00007f8ab2757b33=>LineInfo(\"???\",\"???\",-1300923597,true),0x00007f8ab2742a04=>LineInfo(\"???\",\"???\",-1301009916,true),0x00007f8aa506680c=>LineInfo(\"???\",\"???\",-1526306804,true),0x000000317807992e=>LineInfo(\"???\",\"???\",2013763886,true),0x00007f8ab2703030=>LineInfo(\"???\",\"???\",-1301270480,true),0x00007f8aac2e6a73=>LineInfo(\"randmtzig_randn\",\"librandom.jl\",611,false),0x00007f8aa7ce85ad=>LineInfo(\"???\",\"???\",-1479637587,true),0x00007f8ab2756e00=>LineInfo(\"???\",\"???\",-1300926976,true),0x00007f8aac2e7524=>LineInfo(\"fft!\",\"fftw.jl\",431,false),0x00007f8aa5036aab=>LineInfo(\"???\",\"???\",-1526502741,true),0x00007f8ab2757872=>LineInfo(\"???\",\"???\",-1300924302,true),0x00007f8ab275649b=>LineInfo(\"???\",\"???\",-1300929381,true),0x00007f8aa50667d8=>LineInfo(\"???\",\"???\",-1526306856,true),0x00007f8ab27578c3=>LineInfo(\"???\",\"???\",-1300924221,true),0x00007f8aac2e7308=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1277,false),0x00007f8aa4f4f50c=>LineInfo(\"???\",\"???\",-1527450356,true),0x000000317807b57a=>LineInfo(\"???\",\"???\",2013771130,true),0x00007f8aac2e6d88=>LineInfo(\"???\",\"???\",-1406243448,true),0x00007f8ab275650b=>LineInfo(\"???\",\"???\",-1300929269,true),0x00007f8aac2e69ed=>LineInfo(\"randmtzig_randn\",\"librandom.jl\",600,false),0x00007f8aa4f5b0f4=>LineInfo(\"???\",\"???\",-1527402252,true),0x00007f8aac2e68d4=>LineInfo(\"randn!\",\"random.jl\",249,false),0x00007f8aa7ce8790=>LineInfo(\"???\",\"???\",-1479637104,true),0x00007f8ab26f9dee=>LineInfo(\"???\",\"???\",-1301307922,true),0x00007f8aa503687e=>LineInfo(\"???\",\"???\",-1526503298,true),0x00007f8aa7ce8725=>LineInfo(\"???\",\"???\",-1479637211,true),0x00007f8ab2756989=>LineInfo(\"???\",\"???\",-1300928119,true),0x00007f8ab2703520=>LineInfo(\"???\",\"???\",-1301269216,true),0x00007f8ab2757055=>LineInfo(\"???\",\"???\",-1300926379,true),0x00007f8aac2ec5ff=>LineInfo(\"reshape\",\"array.jl\",102,false),0x00007f8aac2d6df7=>LineInfo(\"include_string\",\"loading.jl\",97,false),0x00007f8ab2757ab5=>LineInfo(\"???\",\"???\",-1300923723,true),0x00007f8ab27579f0=>LineInfo(\"???\",\"???\",-1300923920,true),0x00007f8aac2f0f3e=>LineInfo(\"???\",\"???\",-1406202050,true),0x00007f8ab26f9b7b=>LineInfo(\"???\",\"???\",-1301308549,true),0x00007f8ab2a9bb27=>LineInfo(\"???\",\"???\",-1297499353,true),0x00007f8ab2757b30=>LineInfo(\"???\",\"???\",-1300923600,true),0x00007f8aac2ef711=>LineInfo(\"anonymous\",\"abstractarray.jl\",1261,false),0x00007f8aac2ef57e=>LineInfo(\"anonymous\",\"abstractarray.jl\",1258,false),0x00007f8aac2e68e8=>LineInfo(\"randn!\",\"random.jl\",249,false),0x00007f8aa5066712=>LineInfo(\"???\",\"???\",-1526307054,true),0x000000317807b59a=>LineInfo(\"???\",\"???\",2013771162,true),0x00007f8aa5066802=>LineInfo(\"???\",\"???\",-1526306814,true),0x00007f8aac2e683e=>LineInfo(\"mapreduce_impl\",\"reduce.jl\",271,false),0x00007f8aac2e7538=>LineInfo(\"fft!\",\"fftw.jl\",432,false),0x00007f8aac2e7761=>LineInfo(\"Plan\",\"fftw.jl\",302,false),0x00007f8ab27564f9=>LineInfo(\"???\",\"???\",-1300929287,true),0x00007f8ab26fe390=>LineInfo(\"???\",\"???\",-1301290096,true),0x00007f8aac2e6ece=>LineInfo(\"similar\",\"abstractarray.jl\",116,false),0x00007f8ab2701a00=>LineInfo(\"???\",\"???\",-1301276160,true),0x00007f8aa4f58058=>LineInfo(\"???\",\"???\",-1527414696,true),0x00007f8ab2707237=>LineInfo(\"???\",\"???\",-1301253577,true),0x00007f8aabc64667=>LineInfo(\"inlining_pass\",\"./inference.jl\",2508,false),0x00007f8ab2756073=>LineInfo(\"???\",\"???\",-1300930445,true),0x00007f8ab26f9b76=>LineInfo(\"???\",\"???\",-1301308554,true),0x00007f8aac2ec387=>LineInfo(\"checkbounds\",\"abstractarray.jl\",94,false),0x00007f8ab2756b2e=>LineInfo(\"???\",\"???\",-1300927698,true),0x00007f8ab26f9ac6=>LineInfo(\"???\",\"???\",-1301308730,true),0x00007f8ab26f9bd9=>LineInfo(\"???\",\"???\",-1301308455,true),0x00007f8aabc64f2c=>LineInfo(\"inlining_pass\",\"./inference.jl\",2609,false),0x00007f8ab26f9d57=>LineInfo(\"???\",\"???\",-1301308073,true),0x00007f8aa7ce86f0=>LineInfo(\"???\",\"???\",-1479637264,true),0x00007f8ab27011a9=>LineInfo(\"???\",\"???\",-1301278295,true),0x00007f8aac2f25b2=>LineInfo(\"anonymous\",\"abstractarray.jl\",1260,false),0x00007f8ab2919d45=>LineInfo(\"???\",\"???\",-1299079867,true),0x00007f8ab2fc4edc=>LineInfo(\"???\",\"???\",-1292087588,true),0x00007f8aa5066afd=>LineInfo(\"???\",\"???\",-1526306051,true),0x00007f8aac2ebdc1=>LineInfo(\"???\",\"???\",-1406222911,true),0x00007f8aac2ef494=>LineInfo(\"cartesianmap\",\"abstractarray.jl\",1171,false),0x00007f8ab26fd71a=>LineInfo(\"???\",\"???\",-1301293286,true),0x00007f8aa5036adc=>LineInfo(\"???\",\"???\",-1526502692,true),0x00007f8aac2f0663=>LineInfo(\"mapslices\",\"abstractarray.jl\",1254,false),0x00007f8ab26fd823=>LineInfo(\"???\",\"???\",-1301293021,true),0x00007f8aa5066a26=>LineInfo(\"???\",\"???\",-1526306266,true),0x00007f8aac2ef6eb=>LineInfo(\"anonymous\",\"abstractarray.jl\",1261,false),0x00007f8aac2e6dd7=>LineInfo(\"???\",\"???\",-1406243369,true),0x00007f8ab2756b8d=>LineInfo(\"???\",\"???\",-1300927603,true),0x00007f8aac2e69e1=>LineInfo(\"randmtzig_randn\",\"librandom.jl\",600,false),0x00007f8ab2755347=>LineInfo(\"???\",\"???\",-1300933817,true),0x00007f8aac2e71ed=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1275,false),0x00007f8aac2ec99d=>LineInfo(\"mapreduce_seq_impl\",\"reduce.jl\",217,false),0x00007f8ab2757832=>LineInfo(\"???\",\"???\",-1300924366,true),0x00007f8ab2a9c241=>LineInfo(\"???\",\"???\",-1297497535,true),0x00007f8aac2ef981=>LineInfo(\"setindex!\",\"array.jl\",344,false),0x00007f8aac2e2a56=>LineInfo(\"profile_test\",\"In[2]\",5,false),0x00007f8aac2e6646=>LineInfo(\"map_promote\",\"abstractarray.jl\",1297,false),0x00007f8aa50449b0=>LineInfo(\"???\",\"???\",-1526445648,true),0x00007f8aac2f1909=>LineInfo(\"sort!\",\"sort.jl\",234,false),0x00007f8aa4f5893d=>LineInfo(\"???\",\"???\",-1527412419,true),0x00007f8ab2fc4ba0=>LineInfo(\"???\",\"???\",-1292088416,true),0x00000031780786e2=>LineInfo(\"???\",\"???\",2013759202,true),0x00007f8ab26f9b80=>LineInfo(\"???\",\"???\",-1301308544,true),0x00007f8ab27578c0=>LineInfo(\"???\",\"???\",-1300924224,true),0x00007f8aac2e69b6=>LineInfo(\"randmtzig_randn\",\"librandom.jl\",597,false),0x00007f8ab27567cf=>LineInfo(\"???\",\"???\",-1300928561,true),0x00007f8ab2756501=>LineInfo(\"???\",\"???\",-1300929279,true),0x00007f8aac2f183e=>LineInfo(\"sort!\",\"sort.jl\",269,false),0x00007f8aac2e69f2=>LineInfo(\"randmtzig_randn\",\"librandom.jl\",600,false),0x00007f8ab2751cd8=>LineInfo(\"???\",\"???\",-1300947752,true),0x00007f8aac2a2630=>LineInfo(\"???\",\"???\",-1406523856,true),0x00007f8ab26f35b0=>LineInfo(\"???\",\"???\",-1301334608,true),0x00007f8aa50668c7=>LineInfo(\"???\",\"???\",-1526306617,true),0x00007f8aac2ef643=>LineInfo(\"anonymous\",\"abstractarray.jl\",1261,false),0x00007f8aac2f2424=>LineInfo(\"cartesianmap\",\"abstractarray.jl\",1164,false),0x00007f8aa5028f07=>LineInfo(\"???\",\"???\",-1526558969,true),0x00007f8aa5066a72=>LineInfo(\"???\",\"???\",-1526306190,true),0x00007f8aac2ebf58=>LineInfo(\"getindex\",\"multidimensional.jl\",50,false),0x00007f8ab27562bf=>LineInfo(\"???\",\"???\",-1300929857,true),0x00007f8ab2952a03=>LineInfo(\"???\",\"???\",-1298847229,true),0x00007f8aac2e69d3=>LineInfo(\"randmtzig_randn\",\"librandom.jl\",600,false),0x00007f8ab275673e=>LineInfo(\"???\",\"???\",-1300928706,true),0x00007f8ab2749e45=>LineInfo(\"???\",\"???\",-1300980155,true),0x00007f8ab27574d9=>LineInfo(\"???\",\"???\",-1300925223,true),0x00007f8aa4f559a6=>LineInfo(\"???\",\"???\",-1527424602,true),0x00007f8aac2e2aaf=>LineInfo(\"profile_test\",\"In[2]\",6,false),0x00007f8aa4f5a986=>LineInfo(\"???\",\"???\",-1527404154,true),0x00007f8ab26f9e10=>LineInfo(\"???\",\"???\",-1301307888,true),0x00007f8ab294d6c8=>LineInfo(\"???\",\"???\",-1298868536,true),0x00007f8aac2e6de0=>LineInfo(\"_var4\",\"abstractarray.jl\",326,false),0x00007f8aa7ce7d30=>LineInfo(\"???\",\"???\",-1479639760,true),0x00007f8aa502b7ac=>LineInfo(\"???\",\"???\",-1526548564,true),0x00007f8aac2e7083=>LineInfo(\"???\",\"???\",-1406242685,true),0x00007f8aac2ec31c=>LineInfo(\"checkbounds\",\"abstractarray.jl\",92,false),0x00007f8ab2756576=>LineInfo(\"???\",\"???\",-1300929162,true),0x00007f8aa5028cd0=>LineInfo(\"???\",\"???\",-1526559536,true),0x00007f8aac2ec05a=>LineInfo(\"_getindex!\",\"multidimensional.jl\",293,false),0x00007f8aac2ef5dc=>LineInfo(\"anonymous\",\"abstractarray.jl\",1259,false),0x00007f8aa502ce3e=>LineInfo(\"???\",\"???\",-1526542786,true),0x00007f8ab26f9bdc=>LineInfo(\"???\",\"???\",-1301308452,true),0x00007f8aac2efb9d=>LineInfo(\"setindex!\",\"multidimensional.jl\",61,false),0x00007f8ab26f9dcc=>LineInfo(\"???\",\"???\",-1301307956,true),0x00007f8aa5066a13=>LineInfo(\"???\",\"???\",-1526306285,true),0x00000031780789e8=>LineInfo(\"???\",\"???\",2013759976,true),0x000000317807a4db=>LineInfo(\"???\",\"???\",2013766875,true),0x00007f8ab27562e6=>LineInfo(\"???\",\"???\",-1300929818,true),0x00007f8aac2f239f=>LineInfo(\"???\",\"???\",-1406196833,true),0x00007f8ab2749bd8=>LineInfo(\"???\",\"???\",-1300980776,true),0x00007f8aac2ea564=>LineInfo(\"mapslices\",\"abstractarray.jl\",1254,false),0x00007f8aac2ea1f4=>LineInfo(\"mapslices\",\"abstractarray.jl\",1242,false),0x00007f8aa4f4e087=>LineInfo(\"???\",\"???\",-1527455609,true),0x00007f8ab27563f0=>LineInfo(\"???\",\"???\",-1300929552,true),0x00007f8ab2756e12=>LineInfo(\"???\",\"???\",-1300926958,true),0x00007f8ab2a9c04f=>LineInfo(\"???\",\"???\",-1297498033,true),0x00007f8ab2702f24=>LineInfo(\"???\",\"???\",-1301270748,true),0x00007f8aac2ef3cd=>LineInfo(\"???\",\"???\",-1406209075,true),0x00007f8aa4f5acc0=>LineInfo(\"???\",\"???\",-1527403328,true),0x00007f8aac2e7167=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1273,false),0x00007f8ab2756486=>LineInfo(\"???\",\"???\",-1300929402,true),0x00007f8aabc5ee7c=>LineInfo(\"inlineable\",\"./inference.jl\",2147,false),0x00007f8ab275648e=>LineInfo(\"???\",\"???\",-1300929394,true),0x00007f8aac2f45a4=>LineInfo(\"anonymous\",\"profile.jl\",14,false),0x00007f8aa4f58825=>LineInfo(\"???\",\"???\",-1527412699,true),0x00007f8ab27498f6=>LineInfo(\"???\",\"???\",-1300981514,true),0x00007f8ab27564e8=>LineInfo(\"???\",\"???\",-1300929304,true),0x00007f8ab2757a13=>LineInfo(\"???\",\"???\",-1300923885,true),0x00007f8ab26fd7bf=>LineInfo(\"???\",\"???\",-1301293121,true),0x00007f8aa7ac62a4=>LineInfo(\"???\",\"???\",-1481874780,true),0x00007f8aac2ec065=>LineInfo(\"_getindex!\",\"multidimensional.jl\",37,false),0x00007f8ab26f9ceb=>LineInfo(\"???\",\"???\",-1301308181,true),0x00007f8aac2e7316=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1286,false),0x000000317880f710=>LineInfo(\"???\",\"???\",2021717776,true),0x00007f8ab2756db3=>LineInfo(\"???\",\"???\",-1300927053,true),0x00007f8ab2756440=>LineInfo(\"???\",\"???\",-1300929472,true),0x00007f8aac2e71c5=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1274,false),0x00007f8ab275640a=>LineInfo(\"???\",\"???\",-1300929526,true),0x00007f8aac2e6a26=>LineInfo(\"randmtzig_randn\",\"librandom.jl\",611,false),0x00007f8ab26fd73b=>LineInfo(\"???\",\"???\",-1301293253,true),0x00007f8aac2e65e9=>LineInfo(\"map_promote\",\"abstractarray.jl\",1295,false),0x00007f8ab27579b8=>LineInfo(\"???\",\"???\",-1300923976,true),0x00007f8ab2751376=>LineInfo(\"???\",\"???\",-1300950154,true),0x00007f8aac2f26a3=>LineInfo(\"anonymous\",\"abstractarray.jl\",1261,false),0x00007f8ab26f9b10=>LineInfo(\"???\",\"???\",-1301308656,true),0x00007f8aac2ef6de=>LineInfo(\"anonymous\",\"abstractarray.jl\",1261,false),0x00007f8aa5036a7d=>LineInfo(\"???\",\"???\",-1526502787,true),0x00007f8ab26f9c14=>LineInfo(\"???\",\"???\",-1301308396,true),0x00007f8ab2756414=>LineInfo(\"???\",\"???\",-1300929516,true),0x00007f8ab26f9d3f=>LineInfo(\"???\",\"???\",-1301308097,true),0x00007f8aac2ebebe=>LineInfo(\"getindex\",\"multidimensional.jl\",49,false),0x00007f8ab275640f=>LineInfo(\"???\",\"???\",-1300929521,true),0x00007f8aac2e69d6=>LineInfo(\"randmtzig_randn\",\"librandom.jl\",600,false),0x00007f8ab26fc7ab=>LineInfo(\"???\",\"???\",-1301297237,true),0x00007f8aac2f1633=>LineInfo(\"fpsort!\",\"sort.jl\",424,false),0x00007f8aa4f5606d=>LineInfo(\"???\",\"???\",-1527422867,true),0x00007f8aa4f5652e=>LineInfo(\"???\",\"???\",-1527421650,true),0x00007f8ab26f9ba3=>LineInfo(\"???\",\"???\",-1301308509,true),0x00007f8aa4f51819=>LineInfo(\"???\",\"???\",-1527441383,true),0x00007f8ab2940fbd=>LineInfo(\"???\",\"???\",-1298919491,true),0x00007f8ab26f9c9e=>LineInfo(\"???\",\"???\",-1301308258,true),0x00007f8aa4f4c725=>LineInfo(\"???\",\"???\",-1527462107,true),0x00007f8aac2ef632=>LineInfo(\"anonymous\",\"abstractarray.jl\",1260,false),0x00007f8aa5066b12=>LineInfo(\"???\",\"???\",-1526306030,true),0x00007f8aa7ce8710=>LineInfo(\"???\",\"???\",-1479637232,true),0x00007f8aa7ce85da=>LineInfo(\"???\",\"???\",-1479637542,true),0x00007f8aac2e69fc=>LineInfo(\"randmtzig_randn\",\"librandom.jl\",600,false),0x00007f8ab27579c6=>LineInfo(\"???\",\"???\",-1300923962,true),0x00007f8aa5066a52=>LineInfo(\"???\",\"???\",-1526306222,true),0x00007f8ab2756fc1=>LineInfo(\"???\",\"???\",-1300926527,true),0x00007f8aa5066a1d=>LineInfo(\"???\",\"???\",-1526306275,true),0x00007f8ab26fd7b0=>LineInfo(\"???\",\"???\",-1301293136,true),0x000000317807a991=>LineInfo(\"???\",\"???\",2013768081,true),0x00007f8ab2703525=>LineInfo(\"???\",\"???\",-1301269211,true),0x00007f8aac2e698d=>LineInfo(\"randmtzig_randn\",\"librandom.jl\",597,false),0x00007f8aa4f4ccbe=>LineInfo(\"???\",\"???\",-1527460674,true),0x00007f8aac2e68dd=>LineInfo(\"randn!\",\"random.jl\",249,false),0x00007f8aac2ec045=>LineInfo(\"_getindex!\",\"multidimensional.jl\",293,false),0x00007f8ab27563e0=>LineInfo(\"???\",\"???\",-1300929568,true),0x00007f8ab26f9e3c=>LineInfo(\"???\",\"???\",-1301307844,true),0x00007f8ab2756722=>LineInfo(\"???\",\"???\",-1300928734,true),0x00007f8aac2e717d=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1274,false),0x00007f8aac2f1872=>LineInfo(\"sort!\",\"sort.jl\",247,false),0x00007f8ab26fd6e0=>LineInfo(\"???\",\"???\",-1301293344,true),0x00007f8aac2e6db7=>LineInfo(\"???\",\"???\",-1406243401,true),0x00007f8aac2e71cc=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1274,false),0x00007f8aabc7b954=>LineInfo(\"???\",\"???\",-1412974252,true),0x00007f8aac2f17d4=>LineInfo(\"sort!\",\"sort.jl\",264,false),0x00007f8ab26f9d52=>LineInfo(\"???\",\"???\",-1301308078,true),0x00007f8ab2749c42=>LineInfo(\"???\",\"???\",-1300980670,true),0x00007f8aac2ef7b6=>LineInfo(\"anonymous\",\"abstractarray.jl\",1261,false),0x00007f8ab2757950=>LineInfo(\"???\",\"???\",-1300924080,true),0x00007f8aac2e2a9b=>LineInfo(\"profile_test\",\"In[2]\",6,false),0x00007f8aac2e71e6=>LineInfo(\"promote_to!\",\"abstractarray.jl\",1275,false),0x00007f8ab2756e15=>LineInfo(\"???\",\"???\",-1300926955,true),0x00007f8aa4f55996=>LineInfo(\"???\",\"???\",-1527424618,true),0x00007f8ab274823c=>LineInfo(\"???\",\"???\",-1300987332,true),0x000000317807873b=>LineInfo(\"???\",\"???\",2013759291,true)],243x13 Array{TagData,2}:\n",
" TagData(0x00007f8aac2d6df7,0) \u2026 TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) \u2026 TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) TagData(0x0000000000000000,-1)\n",
" \u22ee \u22f1 \n",
" TagData(0x00007f8aac2d6df7,0) TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) \u2026 TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2d6df7,0) TagData(0x00007f8aac2f1909,0) \n",
" TagData(0x00007f8aac2e683e,0) TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2e683e,0) \u2026 TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2e6852,0) TagData(0x0000000000000000,-1)\n",
" TagData(0x00007f8aac2ec99d,0) TagData(0x0000000000000000,-1),12)"
]
}
],
"prompt_number": 3
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"@time profile_test(10)\n",
"@time profile_test(10)\n",
"@time profile_test(10)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"elapsed time: 0."
]
},
{
"output_type": "stream",
"stream": "stdout",
"text": [
"238026207 seconds (156745992 bytes allocated, 25.74% gc time)\n",
"elapsed time: "
]
},
{
"output_type": "stream",
"stream": "stdout",
"text": [
"0.260080569 seconds (156732264 bytes allocated, 32.03% gc time)\n",
"elapsed time: "
]
},
{
"output_type": "stream",
"stream": "stdout",
"text": [
"0.238544514 seconds (156806176 bytes allocated, 27.40% gc time)\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### speed ratio - profile_test() ran about 3.3x faster"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
".81/.24"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 1,
"text": [
"3.3750000000000004"
]
}
],
"prompt_number": 1
}
],
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment