> I set up to use the 8.0-SNAPSHOT and used the internal parser as well.  In
> your example you're not really giving much of a challenge to the index,
> since every doc is just <a/>.

If I get it right, you assume the slowdown is due to the index structures?

> With respect to ADD, I'm not seeing a significant performance difference:

Please give us more info on the data you are adding. Could you provide
us with a sample document?


> 8.0-SNAPSHOT
> -------
> 10000: 9250ms
> 20000: 7626ms
> 30000: 7885ms
> 40000: 8111ms
> 50000: 8365ms
> 60000: 8784ms
> 70000: 9270ms
> 80000: 9692ms
> 90000: 10158ms
> 100000: 10612ms
> 110000: 11018ms
> 120000: 11478ms
> 130000: 11940ms
> 140000: 12505ms
> 150000: 13047ms
> 160000: 13536ms
> 170000: 14055ms
> 180000: 14371ms
> 190000: 14883ms
> 200000: 15330ms
> 210000: 15888ms
> 220000: 16398ms
> 230000: 16878ms
> 240000: 17038ms
> 250000: 17453ms
> 260000: 17965ms
> 270000: 18317ms
> 280000: 18832ms
> 290000: 19373ms
> 300000: 19735ms
> 310000: 20062ms
> 320000: 20675ms
> 330000: 21113ms
> 340000: 21754ms
> 350000: 22887ms
> 360000: 22810ms
> 370000: 22985ms
> 380000: 23506ms
> 390000: 23856ms
> 400000: 24338ms
>
> 7.9
> -----
> 10000: 8229ms
> 20000: 7587ms
> 30000: 7973ms
> 40000: 8282ms
> 50000: 8717ms
> 60000: 9294ms
> 70000: 10105ms
> 80000: 10669ms
> 90000: 11301ms
> 100000: 11835ms
> 110000: 12413ms
> 120000: 13000ms
> 130000: 13577ms
> 140000: 14331ms
> 150000: 14488ms
> 160000: 15025ms
> 170000: 15463ms
> 180000: 15815ms
> 190000: 16153ms
> 200000: 16314ms
> 210000: 16562ms
> 220000: 17186ms
> 230000: 17862ms
> 240000: 18340ms
> 250000: 18790ms
> 260000: 19313ms
> 270000: 19850ms
> 280000: 20225ms
> 290000: 20650ms
> 300000: 21062ms
> 310000: 21595ms
> 320000: 22022ms
> 330000: 22414ms
> 340000: 22925ms
> 350000: 23514ms
> 360000: 23762ms
> 370000: 24360ms
> 380000: 25028ms
> 390000: 25446ms
> 400000: 25700ms
>
> - Gerald de Jong
>
>
> On Thu, Sep 18, 2014 at 6:57 PM, Christian Grün <christian.gr...@gmail.com>
> wrote:
>>
>> > Perhaps you can give me a hint as to why inserts slow down.j
>> I didn't have time to check out 7.9, but I have done some testing with
>> 8.0, and I didn't notice a real slow-down. This is Java testing script
>> (1 mio documents are added in just 17 seconds; I'm using the internal
>> BaseX parser to speed up the import):
>>
>>     Performance p = new Performance();
>>     Context ctx = new Context();
>>
>>     new CreateDB("db").execute(ctx);
>>     new Set(MainOptions.AUTOFLUSH, false).execute(ctx);
>>     new Set(MainOptions.INTPARSE, true).execute(ctx);
>>     for(int i = 0; i < 1000000; i++) {
>>       new Add("db", "<a/>").execute(ctx);
>>     }
>>     ctx.close();
>>     System.out.println(p);
>>
>> Hope this helps,
>> Christian
>
>
>
>
> --
> Delving BV, Vasteland 8, Rotterdam
> http://www.delving.eu
> http://twitter.com/fluxe
> skype: beautifulcode
> +31629339805

Reply via email to