From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A72CCA0519; Fri, 3 Jul 2020 12:29:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 744581DB1A; Fri, 3 Jul 2020 12:29:39 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id 636CC1DB10 for ; Fri, 3 Jul 2020 12:29:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593772177; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XRJAIvmtSe765xalTjSOtmUAcYtq5wYfu+lBZrHdghQ=; b=FuEVfJzZZ0bPvhzxc3+cHZ1CpqZ0nD0O5/rw32e9JnKXHch1/hps/rZfx2XYwtk72U3UFh AlEmxNRG96x3271OaqXFF5hmZGQYT/RW4SSwDB6T1ZF3HaIoUBytiETpnUNuUuRUTqyY5l GBREc6jVge6fJiyNFRPE/SJJ/XAcBIc= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-257-fuJ-996rMdOEsNOUhU7p-g-1; Fri, 03 Jul 2020 06:29:36 -0400 X-MC-Unique: fuJ-996rMdOEsNOUhU7p-g-1 Received: by mail-ua1-f70.google.com with SMTP id y12so9058326uao.13 for ; Fri, 03 Jul 2020 03:29:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XRJAIvmtSe765xalTjSOtmUAcYtq5wYfu+lBZrHdghQ=; b=URGiX1l2KugZnUkqABbZsqa0kelZhbD0tzqznzOMXr3yGcGQN8x5GX5hr772RlEn5K jaX1tJu8p/oEyW3ntWfOH7plX5J9x2uGuTUfdHMUjaLgxfksWxCln2GPUJHuHuGLesX3 pTu4j7+aziDu0uqEdpNTs74Kj3OucHa6A+miS7zquz9jQ64Ty576EfxsF61mADtmwS3X sFRYy0puut4PxCm130wZF9LUjFOQVuaiRc5pvRPJ0twNis77e0WJLL8x39/SKYxniYR9 jGhu9y2vsZpIpA3TQS/7NPv29XgVawBgqBQ9xrNfLrb+Or1rfrCesEJmnBSWAH8IVwQs tE3g== X-Gm-Message-State: AOAM530t3NPKgRAW0BW2MRhnUk4o/JVk8sFGd9oDRCfP4ywr1Db1rlBN avmDBWAR29hpKeOCjgF3+YaCLgKkFOpHV+kMqelQkzdLtRwasLE5h1xlUAJU3B7vLMMNXTg5i94 96cQqNJmOS77eQuhl/aY= X-Received: by 2002:a67:c58c:: with SMTP id h12mr19561595vsk.141.1593772175860; Fri, 03 Jul 2020 03:29:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYntTzQY1UrKVJTfIjoR3zcTLGVQcA1YclswLbdjvXoIpp22muRc7FC4FqHoMWowQmR1Hd/FRUqMYdu3lt14Q= X-Received: by 2002:a67:c58c:: with SMTP id h12mr19561589vsk.141.1593772175620; Fri, 03 Jul 2020 03:29:35 -0700 (PDT) MIME-Version: 1.0 References: <20200429175714.31141-1-konstantin.ananyev@intel.com> In-Reply-To: From: David Marchand Date: Fri, 3 Jul 2020 12:29:24 +0200 Message-ID: To: Konstantin Ananyev Cc: "dev@dpdk.org" , "aconole@redhat.com" , nd , Honnappa Nagarahalli , "thomas@monjalon.net" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] test/ring: code rework to reduce compilation time X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jul 2, 2020 at 10:47 PM Honnappa Nagarahalli wrote: > > Rework test code to reduce code complexity for the compiler and bring down > > compilation time and memory consumption. > > > > Signed-off-by: Konstantin Ananyev > Acked-by: Honnappa Nagarahalli > Updated commitlog with Konstantin offlist feedback. Before patch: $ ./devtools/test-meson-builds.sh && sync && echo >> app/test/test_ring.c && time ./devtools/test-meson-builds.sh ... real 8m41.694s user 8m32.027s sys 0m10.119s After patch: $ ./devtools/test-meson-builds.sh && sync && echo >> app/test/test_ring.c && time ./devtools/test-meson-builds.sh ... real 1m13.067s user 1m6.169s sys 0m7.234s Applied, thanks. -- David Marchand