From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from donkey.elm.relay.mailchannels.net (donkey.elm.relay.mailchannels.net [23.83.212.49]) by sourceware.org (Postfix) with ESMTPS id 0C4C53952491 for ; Fri, 6 May 2022 12:59:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0C4C53952491 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gotplt.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BB1201212B1; Fri, 6 May 2022 12:59:35 +0000 (UTC) Received: from pdx1-sub0-mail-a305.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id F2CB0121A76; Fri, 6 May 2022 12:59:34 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1651841975; a=rsa-sha256; cv=none; b=a2meuU4g+vzrjF0HedaG6bvt6gE/Totuyw5hZZXZMc0DWeIOTAcZK0JJrAgbA7eDO2ZwZp aRDlNu3Z1y1jLjA1dyNAKR7xk1YZTmQSndxm4KrRb3whaocLT2y0nNG12yLCpmXhXuE3PQ AImlPCvJrN/FNmKH/gpBE/4ayu9G8tcgW4Io14bPSbbVU6RaMmqz54OiAAGKUFduc946gk /DvTsZ6zuK050Ew6c9x3ADMsf6KsMQXRC8CdO5A/OxgwTuaq5sLOTQ4WJJ1wOvFZXUKECJ t8RMmc6M8zuTSxwp9XfUtYbZaB/+oU8gP/isIAfR99AyjTzvj4VedLdAJCrpJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1651841975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=g7wfxads/UBAw6Af3ZaJ2Ur6JDJmY10RwB9v9nRvbtc=; b=SxOUZwQ1pJ8+x1wl0tHeK80GgXApxNNDw7mWLMA7bVKgCVsvUkYjBh3fHefMpy2fABV/aM sOvglqGIf+E3eaHxk2UYR27aykmzq1SDs5pCX0J0Vw+QbwzeT/5NJi8LPumM+LKDGmZY0R gxMuzohQLOlle6LCKHQJZbVDAs7TSH+DzOz030rKVlRvikR0dijoyi/gT9xbzEK+pC0s/m k3TtbvbS6aZbZoEoeoCCcDfx3jRUf9CI3U9AzXSzGydF2SN/8OqK51248zsCBWVvUOqrGn yM/o3cPkTLemFsHH1j1B+ZRvvVv8dIAg78Kt4r58fSncKT1yxTBUzhs9p48S5A== ARC-Authentication-Results: i=1; rspamd-fdd564cbf-xjhq4; auth=pass smtp.auth=dreamhost smtp.mailfrom=siddhesh@gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Inform-Company: 5b4131073ea22364_1651841975227_1339579250 X-MC-Loop-Signature: 1651841975227:2416259249 X-MC-Ingress-Time: 1651841975226 Received: from pdx1-sub0-mail-a305.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.124.238.80 (trex/6.7.1); Fri, 06 May 2022 12:59:35 +0000 Received: from [192.168.1.174] (unknown [1.186.223.145]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a305.dreamhost.com (Postfix) with ESMTPSA id 4KvrHn5P3Sznc; Fri, 6 May 2022 05:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gotplt.org; s=dreamhost; t=1651841974; bh=g7wfxads/UBAw6Af3ZaJ2Ur6JDJmY10RwB9v9nRvbtc=; h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding; b=KnQW/nAv7DerjFfb1EGOyZI16K3yNvIdAAShoQwKQWO23ScnPtc8vllw58HYYIHIB 8ATc4iMKP/xrdkmYP5OHvxWomN0j1rDadPUMIj/YCfaQ3rv1XvVjjz8mhx6VpBLzDv bRIAkX19TwgK+iIVo+pfYkXvWclJmIcXIr/mKTV+i4a8itN42V9UKeSeGlj2ieqj6k k6zcGi9H3u11pLTsq41gn2jyY0i8kAUOeKQDVNrlmKHl6WbsSM/mMhAY/G+zJS3N4k hjpT3mhrT8OX4NoRCk1Kqr59C9jBr4FdWZeNgrUVrxVNokZYm/w5yPFPXWU+jh+F1y cIoFBtI2hshww== Message-ID: Date: Fri, 6 May 2022 18:29:29 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH 1/2] benchtests: Add wcrtomb microbenchmark Content-Language: en-US To: Adhemerval Zanella , libc-alpha@sourceware.org References: <20220505184348.3357550-1-siddhesh@sourceware.org> <20220505184348.3357550-2-siddhesh@sourceware.org> From: Siddhesh Poyarekar In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3030.4 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2022 12:59:38 -0000 (Sorry I just committed it before I saw your message) On 06/05/2022 18:20, Adhemerval Zanella via Libc-alpha wrote: >> + /* 4-byte chars, because smileys are the universal language and we want to >> + ensure optimal performance with them 😊. */ >> + {"en_US.UTF-8", >> + L"😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏😐😑😒😓😔😕😖😗😘😙😚😛😜😝😞😟😠😡"} >> +}; > > Could you use use hexadecimal character escape in tests? Although gcc handle multiple > -fexec-charset, trying to build it with a different compiler usually emits a lot of > warnings. > Hmm, I'm curious to know which compiler this breaks on; it's straight up UTF-8 so should parse just fine, no? Thanks, Siddhesh