Menu

Performance Comparison

Link Qian

In order to know about the performance of parsing multipart data via Fastupload. We involved Apache Commons file upload component.
It's hard to measure a component performance exactly because the two components are not pure algorithm. so we do 4 groups of black-box testing to observes the avg time cost in each group. Uploading 3 files and parsing them via Servlet in one time, 20 times totally.

Here are basic testing environment.
Mac OSX 10.8.2, JDK 6.23, Tomcat 7.0.27

Here are statistics:


Fastupload apach commons file upload File Size
avg time cost (ms) 2.58 2.73 1M
5.05 10.70 2.4M
36.14 84.99 32M
71.84 178.42 72M

The statistics shows Fastupload has better performance than Apache Commons fileupload, and more better performance when file size is increased.

if you're interested in the test code and test details. please get them https://sourceforge.net/projects/fastupload/files/Performance/


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.