通读《 Django初学者》一书。已成功完成3个项目。从第4章开始。忘了从上一个项目退出pipenv。创建新目录,发出“ pipenv install django == 2.2.5”,结果如下:
microbenchmark::microbenchmark(
ronak_3 = get_mean(3),
ronak_3b = get_mean_b(3),
akrun_3 = akrun(3),
r2_3 = func(3),
ronak_5 = get_mean(5),
ronak_5b = get_mean_b(5),
akrun_5 = akrun(5),
r2_5 = func(5),
ronak_7 = get_mean(7),
ronak_7b = get_mean_b(7),
akrun_7 = akrun(7),
r2_7 = func(7)
)
# Unit: microseconds
# expr min lq mean median uq max neval
# ronak_3 438.001 577.5010 684.8250 639.3510 752.7010 1769.601 100
# ronak_3b 241.901 310.0005 386.5211 352.0010 423.1515 1202.001 100
# akrun_3 202.601 274.4510 484.4809 297.0005 365.2010 13570.301 100
# r2_3 87.601 110.4510 132.0599 125.3505 150.9010 218.000 100
# ronak_5 1338.101 1689.3010 2085.9439 1774.6510 1949.9510 25789.601 100
# ronak_5b 1208.101 1545.5000 1813.0931 1643.9015 1831.6510 5187.100 100
# akrun_5 1004.301 1291.5010 1459.4920 1376.2010 1526.7010 3422.901 100
# r2_5 924.601 1097.8510 1334.1570 1161.7510 1308.2010 5304.501 100
# ronak_7 35273.101 46720.0505 59103.9000 54075.6015 64263.3005 118192.401 100
# ronak_7b 43330.700 56615.3005 70568.5350 62788.4515 74308.0505 213410.001 100
# akrun_7 34402.701 44957.6015 57026.5051 52982.6010 62273.2010 131092.001 100
# r2_7 35018.401 43930.4510 58400.5710 51515.6510 61678.9510 167691.602 100
使用: Windows 7的 VSCode