Skip to content

Commit a5ee8d9

Browse files
committed
Update 03.julia-set.ipynb
1 parent 569af2a commit a5ee8d9

File tree

1 file changed

+94
-1
lines changed

1 file changed

+94
-1
lines changed

notebooks/03.julia-set.ipynb

+94-1
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@
10011001
},
10021002
{
10031003
"cell_type": "code",
1004-
"execution_count": null,
1004+
"execution_count": 34,
10051005
"metadata": {
10061006
"internals": {
10071007
"slide_type": "subslide"
@@ -1025,6 +1025,99 @@
10251025
},
10261026
"metadata": {},
10271027
"output_type": "display_data"
1028+
},
1029+
{
1030+
"name": "stdout",
1031+
"output_type": "stream",
1032+
"text": [
1033+
"\n"
1034+
]
1035+
},
1036+
{
1037+
"data": {
1038+
"text/html": [
1039+
"<div>\n",
1040+
"<style scoped>\n",
1041+
" .dataframe tbody tr th:only-of-type {\n",
1042+
" vertical-align: middle;\n",
1043+
" }\n",
1044+
"\n",
1045+
" .dataframe tbody tr th {\n",
1046+
" vertical-align: top;\n",
1047+
" }\n",
1048+
"\n",
1049+
" .dataframe thead th {\n",
1050+
" text-align: right;\n",
1051+
" }\n",
1052+
"</style>\n",
1053+
"<table border=\"1\" class=\"dataframe\">\n",
1054+
" <thead>\n",
1055+
" <tr style=\"text-align: right;\">\n",
1056+
" <th></th>\n",
1057+
" <th>etime</th>\n",
1058+
" <th>speed_up</th>\n",
1059+
" </tr>\n",
1060+
" </thead>\n",
1061+
" <tbody>\n",
1062+
" <tr>\n",
1063+
" <th>numpy</th>\n",
1064+
" <td>6.920963</td>\n",
1065+
" <td>1.000000</td>\n",
1066+
" </tr>\n",
1067+
" <tr>\n",
1068+
" <th>julia</th>\n",
1069+
" <td>0.083905</td>\n",
1070+
" <td>82.486083</td>\n",
1071+
" </tr>\n",
1072+
" <tr>\n",
1073+
" <th>numba</th>\n",
1074+
" <td>0.073950</td>\n",
1075+
" <td>93.589887</td>\n",
1076+
" </tr>\n",
1077+
" <tr>\n",
1078+
" <th>fortran</th>\n",
1079+
" <td>0.058941</td>\n",
1080+
" <td>117.422458</td>\n",
1081+
" </tr>\n",
1082+
" <tr>\n",
1083+
" <th>cython</th>\n",
1084+
" <td>0.056860</td>\n",
1085+
" <td>121.719685</td>\n",
1086+
" </tr>\n",
1087+
" <tr>\n",
1088+
" <th>pythran</th>\n",
1089+
" <td>0.043657</td>\n",
1090+
" <td>158.531005</td>\n",
1091+
" </tr>\n",
1092+
" <tr>\n",
1093+
" <th>fortran_omp</th>\n",
1094+
" <td>0.016614</td>\n",
1095+
" <td>416.571950</td>\n",
1096+
" </tr>\n",
1097+
" <tr>\n",
1098+
" <th>cython_omp</th>\n",
1099+
" <td>0.016206</td>\n",
1100+
" <td>427.060584</td>\n",
1101+
" </tr>\n",
1102+
" </tbody>\n",
1103+
"</table>\n",
1104+
"</div>"
1105+
],
1106+
"text/plain": [
1107+
" etime speed_up\n",
1108+
"numpy 6.920963 1.000000\n",
1109+
"julia 0.083905 82.486083\n",
1110+
"numba 0.073950 93.589887\n",
1111+
"fortran 0.058941 117.422458\n",
1112+
"cython 0.056860 121.719685\n",
1113+
"pythran 0.043657 158.531005\n",
1114+
"fortran_omp 0.016614 416.571950\n",
1115+
"cython_omp 0.016206 427.060584"
1116+
]
1117+
},
1118+
"execution_count": 34,
1119+
"metadata": {},
1120+
"output_type": "execute_result"
10281121
}
10291122
],
10301123
"source": [

0 commit comments

Comments
 (0)