On Monday 9 Nov 2015 16:24 CET, Chris Angelico wrote:
> On Tue, Nov 10, 2015 at 2:01 AM, Cecil Westerhof wrote:
>> for no_of_threads, no_of_records in values:
>
> Beautiful! Though I'd shorten the names to just "threads" and
> "records"; saying "number of X" isn't usually necessary, plus, the
>
On Tue, Nov 10, 2015 at 2:01 AM, Cecil Westerhof wrote:
> for no_of_threads, no_of_records in values:
Beautiful! Though I'd shorten the names to just "threads" and
"records"; saying "number of X" isn't usually necessary, plus, the
general principle of Huffman coding your names recommends usin
On Monday 9 Nov 2015 14:58 CET, Chris Angelico wrote:
> On Tue, Nov 10, 2015 at 12:40 AM, Cecil Westerhof wrote:
>> I was thinking about something like:
>> values = (( 1, 100), ( 2, 100), ( 5, 100),
>> 10, 100), (20, 100), (40, 100))
>> for value in values:
>> do_stress_test('sqlite', ???)
>>
On Monday, November 9, 2015 at 2:58:21 PM UTC+1, Chris Angelico wrote:
> On Tue, Nov 10, 2015 at 12:40 AM, Cecil Westerhof wrote:
> > I was thinking about something like:
> > values = (( 1, 100), ( 2, 100), ( 5, 100),
> >10, 100), (20, 100), (40, 100))
> > for value in valu
On Tue, Nov 10, 2015 at 12:40 AM, Cecil Westerhof wrote:
> I was thinking about something like:
> values = (( 1, 100), ( 2, 100), ( 5, 100),
>10, 100), (20, 100), (40, 100))
> for value in values:
> do_stress_test('sqlite', ???)
> do_stress_test('postgres'
At the moment I have the following calls:
do_stress_test( 1, 100)
do_stress_test( 2, 100)
do_stress_test( 5, 100)
do_stress_test( 10, 100)
do_stress_test( 20, 100)
do_stress_test( 40, 100)
In principal I want to change it to something like:
do_stress_test('sqlite',