Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 8888296e68289af914921c9965bdb97f6943b9cf
      
https://github.com/jenkinsci/jenkins/commit/8888296e68289af914921c9965bdb97f6943b9cf
  Author: Akbashev Alexander <[email protected]>
  Date:   2016-10-10 (Mon, 10 Oct 2016)

  Changed paths:
    M core/src/main/java/hudson/XmlFile.java
    M core/src/main/java/hudson/model/View.java
    M core/src/main/java/jenkins/util/xstream/XStreamDOM.java

  Log Message:
  -----------
  Update XStream drive to improve performance in xml 
serilization/deserialization (#2561)

* Update XStream drive to improve performance in xml 
serilization/deserialization

According XStream FAQ (http://x-stream.github.io/faq.html#Scalability):

XStream is a generalizing library, it inspects and handles your types on
the fly. Therefore it will normally be slower than a piece of optimized
Java code generated out of a schema. However, it is possible to increase
the performance anyway:

* Write custom converters for those of your types that occur very often in
your XML.
* Keep a configured XStream instance for multiple usage. Creation and
initialization is quite expensive compared to the overhead of XStream
when calling marshall or unmarshal.
* Use Xpp3 or StAX parsers.

So, I decided to move from old Xpp to new Xpp3.

* Change other occurance of XppDriver to Xpp3Driver as well


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to