Apache POI Performance

后端 未结 1 1674
无人共我
无人共我 2021-02-02 03:03

I\'m having performance problems with Apache POI. I\'ve read the FAQ where it refers to a performance test. I\'ve run this test with logging off and 4gb of heap and I can\'t get

相关标签:
1条回答
  • 2021-02-02 03:41

    Test results on my machine:

    • HSSF: 2 sec
    • SXSSF: 5 sec
    • XSSF: 27 sec

    Machine specs:

    CPU: Intel i3-2100, 3.10 GHz, 4-cores
    RAM: 16GB
    OS:  Windows 7 64bit
    JDK: 1.7.0_76
    

    I made profiling and found out that XSSF is slow due to the synchronized methods in xmlbeans and poi-ooxml-schemas libraries. You can notify poi developers and ask to check this case.

    0 讨论(0)
提交回复
热议问题