Hi,
After upgrading to JiBX 1.1.3 we discovered that the binding process
took much longer time to complete than earlier releases. On previous
releases it took about 27 seconds on my laptop to do a binding on 531
classes. On 1.1.3 it takes 109 seconds to complete.
By wrapping the OutputStream on the call to bcel in a
BufferedOutputStream we're back on 27 seconds for the binding.
Dennis; could you please change as shown in
org.jibx.binding.classes.ClassFile
@@ -34,6 +34,7 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
+import java.io.BufferedOutputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
@@ -1930,7 +1931,7 @@
public void writeFile(OutputStream os) throws IOException {
codeComplete();
- m_curClass.dump(os);
+ m_curClass.dump(new BufferedOutputStream(os));
os.close();
}
Thanks!
Ørjan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users