From: Kris Jurka <books@ejurka.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Updated high-unicode patch
Date: Fri, 19 Aug 2005 00:34:38 -0500 (EST)
Message-ID: <Pine.BSO.4.62.0508190021590.11917@leary.csoft.net> (raw)
In-Reply-To: <42C2AB88.8020602@opencloud.com>
References: <42C2AB88.8020602@opencloud.com>
On Thu, 30 Jun 2005, Oliver Jowett wrote:
> The attached patch is an updated and bugfixed version of my earlier
> patch to support UTF-8 encoding of unicode codepoints above U+FFFF
I'm don't like the cost of the new tests included here. On my 2 x PIII
800 machine the entire JDBC 2 test suite takes 212 seconds. testEncoding
takes 67 seconds testUTF8Decode takes 111 seconds for a whopping 84% of
the test time for 2 out of 220 tests. Do you have any recommendations for
lowering this? Random ideas that I could see:
- using STEP in testUTF8Decode as well to reduce the number of iterations
and adding a BIGSTEP for the high unicode range
- selecting a representative sample of codepoints to test
- creating a separate encoding test suite that is driven by "ant enctest"
- running the tests only occasionally since they don't depend on JVM or
database version and should therefore be pretty static, say randomly
1 out of 10 runs.
- doing nothing 3.5 minutes isn't really all that long
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, oliver@opencloud.com
Subject: Re: Updated high-unicode patch
In-Reply-To: <Pine.BSO.4.62.0508190021590.11917@leary.csoft.net>
References: <42C2AB88.8020602@opencloud.com> <Pine.BSO.4.62.0508190021590.11917@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox