0 Replies Latest reply on Apr 24, 2006 9:22 PM by Clebert Suconic

    JBSER-60 - Recent improvements on Streaming

    Clebert Suconic Master

      I just made some improvements on sizing of streaming, due to JBSER-60:


      Basically I'm using IDs on ClassNames now, so if you write an array of Objects, the className is only written once.

      Besides that, I'm also using hashIds on field names. (composed by fieldType + name).

      I was using also a pre-loaded DataContainer, and now I'm writing data direct to streaming when not doing deep copy. So, now JBossSerialization is also faster on regular ObjectOutputStream.

      So far, I'm surprised by results on SingleThreadBenchmarkTestCase and MultiThreadJBossPerformanceTestCase. I wasn't expecting any alterations on performance after changing sizing, but it really made a difference.