I want to test performance of project.
So i want make 10000 record of table for testing.
I don't know how to ganerate record.
Who can help me? Thanks.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Props, Greg! I'm impressed with your response. I saw the question, and these kinds of questions really bother me because they lack specificity. I was thinking maybe we should have a noob web form app that could help them build their questions properly for submitting, by asking THEM lots of questions. :) Then we could just point them to it, and say hey, do this! :)But yeah, "more information please, as much as possible" is such a common thing to say.
On Apr 5, 2013 9:18 PM, "haxuan lac" <li...@ruby-forum.com> wrote:
>
> I tried create 10000 pseudo by Faker but it's very slow.
> I fake 1000 record about 20 minutes.
> And 10000 record take me 2-3 hours.
> please give me some advice about this time I had done with fake pseudo
> data(1000 and 10000 pseudo).
> Thanks..............
anytime you use the ORM to insert 10_000 records it's going to be slow as it does them one at a time. i suggest gong the direct sql route in this case.