Re: multibyte performance - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: multibyte performance
Date
Msg-id 20010928152722B.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: multibyte performance  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Spinlock performance improvement proposal
Next
From: Tom Lane
Date:
Subject: Re: Spinlock performance improvement proposal