XML Performance


Published on

XML performance processing

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

XML Performance

  1. 1. Performance of XML-based format processing Performance Project Lead 02:00 PM – 02:45 PM 2009-11-05
  2. 2. Abstract <ul><li>OOo has supported well in ODF and some filters and extensions was used to process OOXML in OOo. Both of them are ISO standards. And UOF is another XML-based document format standard in China. More and more document format standards are based on XML. OpenOffice.org was a suite that was supporting the most document format in all Office softwares. So to improve performance of XML-based format processing is a significant work of OOo. </li></ul>
  3. 3. <ul><li>This presentation will give out some ideas and test results from performance project in order to show how OOo process ODF and other XML-Based formats and how to get time from XML-Based formats processing. </li></ul>
  4. 4. Demand for Document <ul><li>Larger and larger from time to time
  5. 5. More complex
  6. 6. More types of media, lots of object </li></ul>
  7. 7. Principle <ul><li>Focus on particular format, not only to optimize XML format parsing
  8. 8. Focus on User Experience </li><ul><li>How user behave?
  9. 9. How user Feeling? </li></ul></ul>
  10. 10. Loading Phases <ul><li>Filter detecting
  11. 11. Transforming in filter </li><ul><li>Meta
  12. 12. Settings
  13. 13. Style
  14. 14. Content </li></ul><li>External format need be transformed to native format such as OOXML and UOF </li></ul>
  15. 15. Chart of SW
  16. 16. Data Analysis Number of Paragraph 10 100 1000 2000 Loading Time 1.73s 4.63s 15.7 29 <ul><li>There are only numbers of paragraphs with one or two heading style in a document
  17. 17. For this sample the meta,setting, style spent same time.
  18. 18. It takes a lot of time that reading ,parsing and creating SwTxtNode and binding style one by one. </li></ul>
  19. 19. <ul><li>To start to loading context follow the meta, so we can know which styles and settings we need during we are processing the content.
  20. 20. To processing the parts for rendering
  21. 21. To read style,floating object,linking-object and setting, with multi-thread.
  22. 22. Parallel processing in order to unlock UI because OOo was a single process program, loading and saving block all operation now. </li></ul>Ideas for loading
  23. 23. Changed parts saving <ul><li>Auto-saving
  24. 24. Saving document
  25. 25. Used methods like redlines or versionning
  26. 26. To save changed parts in block status, return to user interface, and then complete whole serializing in a another thread
  27. 27. To create index to position the changed node with mapping layer
  28. 28. Preprocessing media object </li></ul>
  29. 29. <ul>http://performance.openoffice.org </ul>
  30. 30. Questions?
  31. 31. Thanks