Skip site navigation (1) Skip section navigation (2)

Re: multibyte performance

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: multibyte performance
Date: 2001-09-28 06:27:22
Message-ID: 20010928152722B.t-ishii@sra.co.jp (view raw or flat)
Thread:
Lists: pgsql-hackers
> > I did some benchmarking with/without multibyte support using current.
> > (1) regression test
> > (2) pgbench
> 
> pgbench unfortunately seems quite irrelevant to this issue, since it
> performs no textual operations whatsoever.  It'd be interesting to
> modify pgbench so that it updates the "filler" column somehow on each
> update (perhaps store a text copy of the new balance there), and then
> repeat the tests.

Ok. Here is the result:

Without multibyte:
1 50.190473
2 65.943052
4 74.908752
8 62.589973
16 87.546988
32 94.448773
64 88.019452
128 64.107839

With multibyte:
1 47.473237
2 61.435628
4 83.047684
8 95.556846
16 92.157352
32 95.879001
64 91.486652
128 66.926568

a graph is attached.

Attachment: bench2.png
Description: image/png (6.0 KB) (inlined above)

In response to

pgsql-hackers by date

Next:From: Thomas LockhartDate: 2001-09-28 08:24:53
Subject: Big update for timestamp etc.
Previous:From: Bruce MomjianDate: 2001-09-28 04:13:48
Subject: Re: Spinlock performance improvement proposal

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group