slow when download raw files with multi-processes
Created by: hydra1983
OS
windows
Procedures
- push this repository to gitlab as a public repository.
- create two ant build files (build1.xml, build2.xml) with the content below:
<project default="build">
<property name="SCRIPTS_BASE" value="{pushed_repository_url}/raw/master" />
<import>
<url url="${SCRIPTS_BASE}/ant-contrib.xml" />
<url url="${SCRIPTS_BASE}/svn.xml" />
<url url="${SCRIPTS_BASE}/rhino.xml" />
<url url="${SCRIPTS_BASE}/property.xml" />
</import>
<target name="build">
</target>
</project>
- start two command line prompt and run builds as below (the second must start before the first ends):
ant -f build1.xml
ant -f build2.xml
Excepted
both of the builds finish quickly.
Actual
the downloads of related files are very slow comparing to run one build only.