Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Have never benchmarked it, but it does a lot of work, which takes a bit of time -- About 5 secs or so to create a a 2-worksheet spreadsheet about 15K.

It should be faster than that, at least for text and numbers. Here is a benchmark for a 1MB file on a PIII 800. The average time is less than 5 seconds:

WriteExcel: 49 wallclock secs (41.19 usr + 1.88 sys = 43.07 CPU) @ 0 +.23/s (n=10) 4.31 s/iter

Formulas do slow it down however since they are parsed via Parse::RecDescent.

This is still under development, and does not currently support Macros. Requires 5.6.0, support for IEEE 64 bit float, Text:: and Parse:: packages.

Spreadsheet::WriteExcel requires Perl 5.005 and Parse::RecDescent. This in turn requires Text::Balanced but that is bundled with it. IEEE 64 bit floats are almost a given.

Macros will probably never be supported. The format of VBA macros is even more undocumented than usual. :-)

Here is a screenshot from the Freshmeat page

Update: Added benchmark data.

Note, there is also an older review of this module.


In reply to Re: Spreadsheet::WriteExcel by jmcnamara
in thread Spreadsheet::WriteExcel by abaxaba

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-09-26 19:35 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (118 votes). Check out past polls.