From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 7CCE3469710 for ; Wed, 6 May 2020 16:02:12 +0300 (MSK) Received: by mail-lf1-f66.google.com with SMTP id s9so1273168lfp.1 for ; Wed, 06 May 2020 06:02:12 -0700 (PDT) Date: Wed, 6 May 2020 16:02:09 +0300 From: Konstantin Osipov Message-ID: <20200506130209.GC1859@atlas> References: <20191114115020.21091-1-maria.khaydich@tarantool.org> <1583942274.319390956@f377.i.mail.ru> <20200312132931.GA30900@atlas> <1584041112.66796082@f172.i.mail.ru> <20200312200024.GA11476@atlas> <20200318222635.GG6392@tarantool.org> <20200319071920.GA3227@atlas> <20200506111706.m6vxgduyaa3ay3mr@tkn_work_nb> <20200506114921.GB1859@atlas> <20200506125307.2eixpz4x64i2sfcm@tkn_work_nb> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200506125307.2eixpz4x64i2sfcm@tkn_work_nb> Subject: Re: [Tarantool-patches] [PATCH 1/2] box: make box.cfg idempotent function List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Turenko Cc: tarantool-patches@dev.tarantool.org * Alexander Turenko [20/05/06 15:58]: > On Wed, May 06, 2020 at 02:49:21PM +0300, Konstantin Osipov wrote: > > * Alexander Turenko [20/05/06 14:17]: > > > https://gist.github.com/Totktonada/407855389ed4da93bf0175cf8a11c7b9 > > > > > > I made those measurements on fixed CPU frequency and 10 times run each > > > implementation 10 times: 300 runs at whole. I see that results becomes > > > worse for all implementations from run to run. Looks strange. > > > > Try with jit off? > > Are there any production setup with jit.off()? This measurement would be > artificial I think. Why do you think you can assume that this trace will be jited in production? > Anyway, I collected the results and they are quite noisy again (~10% > variation). I would not say anything based on them. But in average ffi > call gives -0.5% (worse) and ffi call with caching -1.0% from the > baseline (master). Maybe it is just noise. > > WBR, Alexander Turenko. -- Konstantin Osipov, Moscow, Russia https://scylladb.com