From owner-svn-src-head@freebsd.org Sat Jan 5 19:49:59 2019 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D44B8141F389; Sat, 5 Jan 2019 19:49:58 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D882569E0A; Sat, 5 Jan 2019 19:49:57 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg1-x531.google.com with SMTP id m1so18925041pgq.8; Sat, 05 Jan 2019 11:49:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/j9h36X3hhe1v5pssCw0z0xQxWnQ/wIi1vaXi+hysUE=; b=HJVAV2JiS6So1xuBXfv03hOGPhbY62Aab8sFKfVBu7NHsA3h7SsEZW5TUQoVRC1JSU 0VxuW4VW/RQsij55GduYAx93fumgQ85TjEq7VhqEqVEladxksgaFw52835/8YsIvtlJe J7XzyOAQC5ybx6NdnZkhQPXTmhACMDDPxKYxRxapqszbpCr11yiHlIZbU1c7Suf14cIb Q89ovtAurqD0ZOfBbHXU/dHVabKwOytCc1YofZsq+fM3PU7LTj31i+GmulDoWeQOBoAO MHoYQor0lzEFxzoFHLlD0DWxVlKjC+U3989qne7BXm1qMAB7MmNfpRuR2UcGkFs9dRS+ SzXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=/j9h36X3hhe1v5pssCw0z0xQxWnQ/wIi1vaXi+hysUE=; b=ghs9c+57xph8oYO6WlaZS7W10mYXoRnfrc8+AObL9QF5yVInUHwa9nXNunZ3oByG1g 1n16pjZu/QVYOrrXfgQoYm8ZvOlTuGbVug84ieTYnoHjkLWKlr3VOa1RqurbfDo+Tc5X 3+Cyq13KsBEr3AzNobcXbYTLe4ay8vuCsuWtfjSXmjH92iIGwuRPSXQ+YSfQ2oQ7LK42 CHyr0ygzCnOstCxdEVFH+VokT3ab06Ql3E1Gr7DBA7TUkGyctX7FUS9txjEx+D5JwdKp mXvZ1m+ytMhLbQAe2CxmXfVRq7PidQJ6OijEukTIiWA28A91by17IMIRMEnz9ib4wCvx T5hQ== X-Gm-Message-State: AA+aEWa0HVrs2tcQU3o2rkler9ZEgnbPVmv9xPWahXKxzOfs2Vn7XK2Z TpyeJ8tcDfjj3otRBlBYzLElsHOz X-Google-Smtp-Source: AFSGD/XLc029IkTAral6aiQLaI+FlUFljJBJqR1k0S7PG2ZNBePjkl44Zc+G+4cnWw+81SSq9WYVQg== X-Received: by 2002:a62:5dd1:: with SMTP id n78mr56388679pfj.58.1546717796480; Sat, 05 Jan 2019 11:49:56 -0800 (PST) Received: from ?IPv6:2607:fb90:82a9:a99e:b851:5f32:3f1d:bd9? ([2607:fb90:82a9:a99e:b851:5f32:3f1d:bd9]) by smtp.gmail.com with ESMTPSA id a195sm116413911pfa.7.2019.01.05.11.49.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Jan 2019 11:49:55 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: svn commit: r342774 - head/sys/conf From: Enji Cooper X-Mailer: iPhone Mail (16C104) In-Reply-To: <201901041838.x04IcSXf074418@repo.freebsd.org> Date: Sat, 5 Jan 2019 11:49:55 -0800 Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <5E026C13-9D49-4F34-A0FC-8120CF214B4E@gmail.com> References: <201901041838.x04IcSXf074418@repo.freebsd.org> To: Andrew Gallatin X-Rspamd-Queue-Id: D882569E0A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=HJVAV2Ji; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::531 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com X-Spamd-Result: default: False [-6.06 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.88)[-0.879,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-2.68)[ip: (-9.43), ipnet: 2607:f8b0::/32(-2.20), asn: 15169(-1.67), country: US(-0.08)]; RCVD_IN_DNSWL_NONE(0.00)[1.3.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2019 19:49:59 -0000 > On Jan 4, 2019, at 10:38, Andrew Gallatin wrote: >=20 > Author: gallatin > Date: Fri Jan 4 18:38:27 2019 > New Revision: 342774 > URL: https://svnweb.freebsd.org/changeset/base/342774 >=20 > Log: > Limit git history searches in newvers.sh >=20 > newvers.sh takes upwards of 4-5 seconds to complete on trees checked > out from github, due to searching the entire history for non-existent > git-svn metadata. Similarly, if one does not check out notes, we > again search the entire history for notes. That makes newvers.sh very > slow for many github users. >=20 > To fix this in a fair way, limit the history search to the last 10K > commits: if you're more than 10K commits out of sync, then you've > forked the project, and our SVN rev is no longer very important to you. >=20 > Due to how git implements --grep in conjunction with -n, --grep has been > removed for performance reasons (git does not seem to limit its search > to the -n limit in this case, and takes just as long as it did with no > limit). Wonderful =E2=80=94 thank you Andrew :)!! -Enji=