Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEuok-0000O6-W8 for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Nov 2017 10:21:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEuok-0000g6-GD for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Nov 2017 10:21:14 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eEuok-0000fw-3O for pgsql-hackers@lists.postgresql.org; Wed, 15 Nov 2017 10:21:14 +0000 Received: from mail.postgrespro.ru ([93.174.131.138]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eEuog-00055Z-62 for pgsql-hackers@postgresql.org; Wed, 15 Nov 2017 10:21:12 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 347B321C1CE2; Wed, 15 Nov 2017 13:21:04 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at postgrespro.ru Received: from localhost (unknown [192.168.27.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id 45F8321C1664; Wed, 15 Nov 2017 13:20:56 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1510741264; bh=VhKDvcP1zG9nmS1HKvXp9D97fTipJf0I0I1A4b6wDvU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=XfxB+9R30ooqvrDvoobrcjZemssLIV7zMG9Nl68N6EGlY2Mt+n5FGd0TJRlw2cnWO xw4g6y083ezGQ2cyGOOkW3S8sgMI2g3P3F1OsLe9da07Oe0mDRjksAXkQGlbw0BZXY a5vgwRH69n7yPQ41BJAUSog88aT2QPENUqDb1DzY= Date: Wed, 15 Nov 2017 13:20:53 +0300 From: Aleksander Alekseev To: Pavel Stehule Cc: Oleg Bartunov , Anthony Bykov , Pgsql Hackers Subject: Re: [HACKERS] Transform for pl/perl Message-ID: <20171115102052.GA10364@e733.localdomain> References: <20171024140129.6bd01f68@anthony-24-g082ur> <20171024152709.641251ae@anthony-24-g082ur> <20171114113455.13ee84d7@anthony-24-g082ur> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, hackers. > > I'm curious, how much benefit we could get from this ? There are several > > publicly available json datasets, which can be used to measure performa= nce > > gaining. I have bookmarks and review datasets available from > > http://www.sai.msu.su/~megera/postgres/files/, look at js.dump.gz and > > jr.dump.gz > > >=20 > I don't expect significant performance effect - it remove some > transformations - perl object -> json | json -> jsonb - but on modern cpu > these transformations should be fast. For me - main benefit is user comfo= rt > - it does direct transformation from perl object -> jsonb I completely agree that currently the main benefit of this feature is user comfort. So correctness is the priority. When we make sure that the implementation is correct we can start worry about the performance. Probably in a separate patch. Thanks for the datasets though! --=20 Best regards, Aleksander Alekseev --DocE+STaALJfprDB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEECAokn0QZCoIHW4GpEEnCBLXCDtYFAloMFQIACgkQEEnCBLXC Dtb1Cw//bczuHSNzjJs50EGpeLk94vRQYYNCYFdI6nLEIcvusNUAURYp/h7ml4/M yM6nERmmxOvQnAPJa6NEzTAybAUld5DKOuhihxIyQ3YjG/ZhuqyBCt7tTS5YWCP/ UG/9Ko4vtkr22xcCy1H/TW7DqL3xh0Xnm5warLL1Qx7q99P8+iLUX5QDN2n1DQX4 II7GrYIRski8rprlFj4yurJ8M/VigoAzyFG+ae2B2TKs1Uwno/ZZHdPhIPeLEtKQ S6eCuJ703r0GS+5JEftQgdzKjcbR2KPvW5w5nxYELNLGRjerNZ1dTSSt1hLHw//w IsqRCF2G/Dpbh2eplc4gmCmmEuyQfeiqlgXHSTaBWACcx9k6Bwi1mfQ1glYuadb6 DFyNSeStcb/Afm+RflPXA6nePaVdFSWauwYE9rJJ5q8mqGnrCTRkx3snmUi5/s2H 6IKl/1T/SMwzUD8bPfmgjqpl+qRj60CK/virKhplOgzqTpoQlBDMqu9Xl+kQsvs5 tR471L8b+R0KHRVSCgTOCU9E34WFmJOFHThJlADGH9GEcAej84Ng8XlswLUmdQhC Qrpf9LVn6Gw4LFdN16IuenZM1qTLDfOagz5CSW8wb46iC/XdeLfOmospZ4ZDEk9b yByrAVwulIqEC64pZ2r42F3VTKV+KV758O3d2f5sl7FDKoK617A= =GwAM -----END PGP SIGNATURE----- --DocE+STaALJfprDB--