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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
image/png 6.0 KB

In response to

Browse pgsql-hackers by date

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