couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: Please report your indexing speed
Date Wed, 29 Feb 2012 17:42:26 GMT
My new test again;

Filling db.
done
server is;
{"couchdb":"Welcome","version":"1.1.2a785d32f-git"}
Building views.

real	0m24.973s
user	0m0.006s
sys	0m0.004s
done
~/Source/sandbox $ ./bench.sh
Filling db.
done
server is;
{"couchdb":"Welcome","version":"1.2.0"}
Building views.

real	0m21.925s
user	0m0.006s
sys	0m0.003s
done

Important Note: The builds that show *regression* were all using
SpiderMonkey 1.7.0. The tests above were 1.8.5. I think that's
significant. Can other people who saw regressions report their
spidermonkey version?

B.

On 29 February 2012 17:25, Benoit Chesneau <bchesneau@gmail.com> wrote:
> On Wed, Feb 29, 2012 at 6:07 PM, Benoit Chesneau <bchesneau@gmail.com> wrote:
>> On Wed, Feb 29, 2012 at 5:53 PM, Benoit Chesneau <bchesneau@gmail.com> wrote:
>>> On Wed, Feb 29, 2012 at 4:03 PM, Robert Newson <rnewson@apache.org> wrote:
>>>> I've produced a new script that reproduces the view regression. I
>>>> apologize in advance for exposing my awful Bash scripting abilities
>>>> (also my inability to write "pure" shell. Your "Bashism" is my "it
>>>> works").
>>>>
>>>> I get 0m56.521s for 1.1.x and 1m17.108s for 1.2.x. That is, 1.1.x
>>>> complete the same task in only 72% of the time that 1.2.x takes.
>>>>
>>>> http://friendpaste.com/UI1OcECLEzR6i4D75LqQy
>>>>
>>>
>>> hrm with the same script:
>>>
>>> 1.2.0 :
>>> real    0m23.842s
>>> user    0m0.007s
>>> sys     0m0.004s
>>>
>>> 1.1.1:
>>> real    0m28.625s
>>> user    0m0.008s
>>> sys     0m0.005s
>>>
>>> hw specs :
>>> $ uname -a
>>> Darwin enki.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12
>>> 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
>>> mba 2011:  i7  4 GB SSD 256 GB
>>>
>>>
>>> - benoît
>>
>> Just for my curiosity I tested it in the  couchdb based distribution I
>> maintain (head, last mochiweb + jiffy) :
>>
>>
>> real    0m19.539s
>> user    0m0.007s
>> sys     0m0.005s
>> done
>
> I launched the tests a second time and same results:
>
> 1.1.1 :
> real    0m29.155s
> user    0m0.009s
> sys     0m0.006s
>
> 1.2.0 :
>
> real    0m25.466s
> user    0m0.008s
> sys     0m0.005s

Mime
View raw message