From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) by sourceware.org (Postfix) with ESMTPS id BB61B3857C40 for ; Sat, 4 Sep 2021 09:10:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BB61B3857C40 Received: from [10.10.3.121] (unknown [10.10.3.121]) by mail.ispras.ru (Postfix) with ESMTPS id CCD2240D403D; Sat, 4 Sep 2021 09:09:52 +0000 (UTC) Date: Sat, 4 Sep 2021 09:09:52 +0000 (-00) From: Alexander Monakov To: Adhemerval Zanella cc: libc-alpha@sourceware.org Subject: Re: [PATCH v3 1/7] benchtests: Add bench-qsort In-Reply-To: <20210903171144.952737-2-adhemerval.zanella@linaro.org> Message-ID: References: <20210903171144.952737-1-adhemerval.zanella@linaro.org> <20210903171144.952737-2-adhemerval.zanella@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP 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: Sat, 04 Sep 2021 09:10:03 -0000 On Fri, 3 Sep 2021, Adhemerval Zanella via Libc-alpha wrote: > So for GCC: > > - 80% of total qsort usage are done with 10 elements of less. Please keep in mind that calls with larger number of elements run slower. If you look at cycle count rather than call count, you'll find that it is more evenly split: about 50% of total time in qsort is with 10 elements or fewer, the other 50% are with 11 elements or more. Alexander