rubyonrailsin

A Ruby and Rails talk

Tuesday, March 16, 2010


[Rails] Writing a large file with Spreadsheet: very slow, any HELP?

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

Hey,

I'm using the Spreadsheet gem to generate Excel files. It's worked
great up until now.

I'm trying to put 25,000 rows in a sheet, then doing book.write to write
the file. It's really slow, like 3-4 minutes.

Is there a way to write groups of rows to a sheet at a time, or some
other way to speed up this process? Thanks in advance for any advice.
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive