jferard / fastods

A very fast and lightweight (no dependency) library for creating ODS (Open Document Spreadsheet, mainly for Calc) files in Java. It's a Martin Schulz's SimpleODS fork
GNU General Public License v3.0
36 stars 6 forks source link

A two threads test #68

Closed jferard closed 7 years ago

jferard commented 7 years ago

The document is now flushable. That means that one can flush elements to the output stream at some chosen points. The current process is basically a producer-consumer process, but with only one thread. It's time to try a two thread solution in a test. See #33

jferard commented 7 years ago

Ok, here are the results of the first test on a i5-6600K CPU @ 3.50GHz × 4 (16 Gb of RAM):