Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wFRdS-0057at-0q for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Apr 2026 07:04:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wFRdR-00C8AZ-0K for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Apr 2026 07:04:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wFRdQ-00C8AQ-2c for pgsql-hackers@lists.postgresql.org; Wed, 22 Apr 2026 07:04:32 +0000 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wFRdO-00000002QoI-3RI4 for pgsql-hackers@lists.postgresql.org; Wed, 22 Apr 2026 07:04:32 +0000 Received: by mail-ot1-x32f.google.com with SMTP id 46e09a7af769-7dbec19732eso4490138a34.3 for ; Wed, 22 Apr 2026 00:04:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776841469; cv=none; d=google.com; s=arc-20240605; b=bDKMeyE5h08/5jQBRaqfeMp+o7S/9dsHGcWzJboZ3vU8iW0bAHw8PEqYS/C3OpPRGv plCfQq4oNb94D0hyaXJUZ9povrP1YGGcllUMsxfxjBJOpfolxIE8IlvAlMw8j/74KMGg WcEJHP4PBLk2lklerEtkm2srEyTlRsGzldYoTMNhyYdVL7TfkG2gh+0PNffn0a2SCSTC nNmRfVSAJMTMCAbh7MvKcYDFP5osEmusJLI3uY471WXQJcaYB8q5X0p5s+Jk8TveUJyB gFeSyu1bbFuv47Z/1wx6SZjTPIpKF5bphcuPdLq8dl1XmQ/nga9fhikZbUuN0bhWmVsO 7dgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9Yn0UGDsNhumG2hG0lxHqM+WPpbis1k9otALU/EVVKM=; fh=dZ/rih8TQZcTKfCIB4dpBKgmWj6LggKf7sdAUNoqwxk=; b=VvD4ZyhD7Jm+cgaycVny6Zemm4L4hzJ+svHtVgtg4R0o5vzstsEjO5TiKFsCBApjsq oG1HOWpSFWa3HL3L0TNs+Bc0Gf7BoNPbJS0+Kc04guax6w/Hsfe4oJO+ioxjDg7DBf8L i+DjeoddgJ1EKFD4TJU3JLdBcug41BfXdnPUzr6Zqo5PfUHPMpGDJab9gUPDJLAMVp1j T5M1L4SSbRXeOcCq8r1HjEH9vbf+sxGjx3NETd/Xyg1ZKv/7ErLyUw/ti6O+XyAyr+bK 6tYAmXxjp79DjcHiethSflEl59XUI7sAtHepap8nHL8mKGoMafey5h9ywNnoYAi+VTVJ qQsQ==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776841469; x=1777446269; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=9Yn0UGDsNhumG2hG0lxHqM+WPpbis1k9otALU/EVVKM=; b=O24doSIE4//EsCl4vw/oFSG0u5Q3srJk5a8lBqs1uUDJEnakQSIddi+aH8+03ZvYNT 6P6sQ76hF1c7I5neSBZ989Js0CpPd5PM3QIsRjEvJnxJu3HksM2d+kuGQFuydLG6KLI1 AHg4PWLTomrp25b6hpidvXtuFTaksHJE7qj0GO9VgS8Pce75nt/446l5k9PFmLL1Ccvv ZaDEUswjfaN8nqy37mcyjynzMFvatwFZeKKcZD7RXiu8oD8B3UL8KqBrUiTKfJ4C/tzn rV0N6iV6gL967SZK0smmV1stx66OzmZwA/WEXVv4ycxjKUoc2iYIyjoLhDNPCjrDFZBv 1sVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776841469; x=1777446269; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=9Yn0UGDsNhumG2hG0lxHqM+WPpbis1k9otALU/EVVKM=; b=snE6DQH9UHCfMLGQLWMjKfRAaoJYmeeGlLezH19pLg0Z2dCFGCaCmGRDRWu4NByo0y i4bWT9i87PFRugifZFYFBtjqhnEDgLIk2zZCew3cCfEBnPBFymt2B4fQj749pm8Oomqk HIa6a7V28FUOkS9uMucbHGa1rsC5kBoF7kLMjYoYelEIqx+Cs0gdNGrLHpsye3xL0g+Q A2EmBDdIuraLrpEGcZhMZKMy7PiajIOGSoVvXiYiogp5WnKkZvM/+Oo0M7wiRmGvP0re Vm2tcEHXV5pzF8azddQnwwqRAwlAd009PPPhos2fgQPKOW1EN1bAxLGvsNxXKAcQ32v3 1/Ig== X-Forwarded-Encrypted: i=1; AFNElJ9+q7OYrRdPgjA5Qn1uJQYh8Cxo3um7mMMQ04SNtLMnHNKINboaCPfFpfBGqulNxTffBnCFCPLjv0wdj4Xe@lists.postgresql.org X-Gm-Message-State: AOJu0YzKY180mvUoOV/J0nIYIPcf2/vpbeU3mz7Dq/53e33F9oUdjWQS kyCMt3BWwzjmUPZu1/tmrv40hOof/w64M9Psp/I89fro7gOb0AkXS4CUaorElQ2a011T+709NTM HThNtdu0/UziTb3wTZ6PBIbJF1jtM8ns= X-Gm-Gg: AeBDiesCzg5a5U2hG/fTVwJMAF28+gI6ygyidznMrISCuJAC+69OwpV7ZhlHC/2rY5H oTbpKGT6isKeHjf81RO0LjUDbvf5eEc2tN4xDDLRcxjUMV07gYI3dZRn4vdQnfNEEkKm2wNTLqR ZG22rcJcfgzSoEChTetTmJYVe4YrTe+ROqoZaLTd4hq4vLc2DmWA+spzzg8uX3eo66RjmHNs7Td Fs/xxYfIb3u2521rXvyWvRnZz3sy7TEDK9mSMshe+UW06JKgilGcgt2xH+DKSRfj2R28x8D5tvV xcHjpAdT5P+7qicv5+HuggyS4bfYoPNYFipMBL1JcTvMzyFYpXGk X-Received: by 2002:a05:6820:f026:b0:694:a328:d6ce with SMTP id 006d021491bc7-694a328d8f8mr1246592eaf.34.1776841468659; Wed, 22 Apr 2026 00:04:28 -0700 (PDT) MIME-Version: 1.0 References: <7d4afbdb.5322.19d70df0de4.Coremail.wxp_728@163.com> In-Reply-To: <7d4afbdb.5322.19d70df0de4.Coremail.wxp_728@163.com> From: Fujii Masao Date: Wed, 22 Apr 2026 16:04:16 +0900 X-Gm-Features: AQROBzCTqKX-9yAMKJLL74MxV5CfseNTIPfHD_INsGK7VMiW1F-a-E1se81WmDU Message-ID: Subject: Re: Re: pg_test_timing: fix unit typo and widen diff type To: "wang.xiao.peng" Cc: Chao Li , lukas@fittl.com, PostgreSQL Hackers , Tom Lane , Hannu Krosing Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Apr 9, 2026 at 3:13=E2=80=AFPM wang.xiao.peng wro= te: > Just finished reviewing the v3 patches - looks good to me. The pg_leftmos= t_one_pos64 fix is spot on, and using INT64_FORMAT for the error message is= the right approach. Since pg_leftmost_one_pos64() can return up to 63, should the size of histogram[] be changed from 32 to 64? If we want to display the full histogram[] in the output, max_bit in output() would also need to be set to= 63. Alternatively, it may be fine to keep max_bit =3D 31 and show only the first 32 histogram entries. Patch 0001 looks good to me. Regards, --=20 Fujii Masao