From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C6CFB3858C83; Wed, 11 Jan 2023 19:17:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C6CFB3858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673464624; bh=YamgKLlWwbq3Ky94T4hMZYVh3brz6CNzQo5KfNlfjjU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RaANHdvYiSgKm0L2KPYFK8PWL/KhnxoGegMxrxICQKrIjPWKHOLGTF0FJIFyijEaF 4WclFMJJCc6lWVj3PO/FN+KU6euLyoIiMNWb97S4IX8VehNZMmID13BI5/0ot1vrRi Gth6bP2ILm74vXuzzRTntCj839PLfTKvaD+jsP6c= From: "eggert at cs dot ucla.edu" To: glibc-bugs@sourceware.org Subject: [Bug time/15943] localtime_r performance drop when set different timezone Date: Wed, 11 Jan 2023 19:17:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: 2.12 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eggert at cs dot ucla.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D15943 --- Comment #5 from eggert at cs dot ucla.edu --- This glibc performance bug came up recently on the tz mailing list; see the thread "[tz] localtime_r multiple times slower for Europe/Moscow timezone" starting here: https://mm.icann.org/pipermail/tz/2023-January/032522.html That thread stems from the following Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/tzdata/+bug/868395 Guy Harris diagnosed the problem as glibc not properly caching the expansio= n of the TZ string at the end of the TZif file. See: https://mm.icann.org/pipermail/tz/2023-January/032529.html This problem has grown in importance as many jurisdictions are now like Mos= cow, as they formerly had daylight saving but now no longer do. So this performa= nce bug is more important now than it was years ago. --=20 You are receiving this mail because: You are on the CC list for the bug.=