Closed GoogleCodeExporter closed 9 years ago
把这Test跑起来可真费事啊
Original comment by wendal1985@gmail.com
on 31 Mar 2010 at 8:43
测了一下,的确比较慢.
开头用了一个50M的文件,结果一直在跑,还以为死循环了.
然后改为一个2m的文件, 耗时十几秒吧.
晚上再详细测测.
Original comment by wendal1985@gmail.com
on 31 Mar 2010 at 8:55
r997 修改测试代码后, 性能问题可以说是不存在的了.
Original comment by wendal1985@gmail.com
on 31 Mar 2010 at 2:39
对于 Uploading, 应该支持在 Mvc 中配置 BufferedStream 的缓冲大小
即,在 UploadAdaptor 的构造函数中,添加一个缓冲区大小
Original comment by zozoh...@gmail.com
on 31 Mar 2010 at 3:54
采用了 FastUploading, 成块读取和写入字节,速度提高了将近
1倍
fixed in r1073,r1074
Original comment by zozoh...@gmail.com
on 15 Apr 2010 at 11:48
好迅速哦,我去review一下先,^_^
Original comment by wendal1985@gmail.com
on 15 Apr 2010 at 12:44
使用缓存8M,
FastUpload:
Begin...
.
> 0% : 0 / 1141293731
> 2% : 24576000 / 1141293731
> 4% : 49152000 / 1141293731
> 5% : 65536000 / 1141293731
> 9% : 106496000 / 1141293731
> 11% : 131072000 / 1141293731
......
> 85% : 974848000 / 1141293731
> 87% : 999424000 / 1141293731
> 89% : 1024000000 / 1141293731
> 91% : 1048576000 / 1141293731
> 94% : 1073152000 / 1141293731
> 96% : 1097728000 / 1141293731
> 98% : 1122304000 / 1141293731
...Done!
> 100%
Total: 95907ms : [2010-04-15 20:58:47.546]=>[2010-04-15 21:00:23.453]
SimpleUpload,依旧需要180s左右.
的确是显著提高!!
Original comment by wendal1985@gmail.com
on 15 Apr 2010 at 1:06
Original comment by wendal1985@gmail.com
on 13 May 2010 at 11:10
Verified in 1.a.28
Original comment by wendal1985@gmail.com
on 15 May 2010 at 8:29
Original issue reported on code.google.com by
amosl...@gmail.com
on 31 Mar 2010 at 6:58