Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp378598lqt; Mon, 18 Mar 2024 10:18:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhDIbf9b16/jqhqIJX4sHGxDkZCXl9+OlQMDhwDFFIIDFu4+Gs0qTPtVHri3qGpbO+aveo3N5SNShnn0UZeY6I/afjo+ngYeuCyK5qUw== X-Google-Smtp-Source: AGHT+IFm5drJMAhJvDBv/oc0c/z5d20Z+3FrrNW1ab1Zmo/f/Izj8GjMJa9t7T4H104a+TNZCa/O X-Received: by 2002:a05:6a20:2450:b0:1a3:63a1:eb4a with SMTP id t16-20020a056a20245000b001a363a1eb4amr4082118pzc.56.1710782296064; Mon, 18 Mar 2024 10:18:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710782296; cv=pass; d=google.com; s=arc-20160816; b=SEvCSN+doWXl+8EAGAUXs/5IZ7QlvMFajXOZqoVhFp5f9WQ0mhmfmEhlGKr1DaIIPm Be/OEAaVApbn8MPYzMC60yFOO0xVZYhQYKEFP6xA/ftKLbukfxSOSUr4NHGVVLMube+d eYXBjKBOr5fwj0Kg5YsQ6zq0hg0fVRWc7A3wKc2n0CVacjezLbEDyIgyO197Wv7prjs6 IlX/blOId5ZXMHCQnXOrLPddrvsOSrSJSaXGmWU4SHVW3n4yU8Pm4BEec2GIPi6EJ7CT cC8IQI22vtbxgJUp/tr4fN+R96LOOh/cWhL30WSGS6NVWg8Sc2W3VirQ/3SC1g4cZHQ6 aHSg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=6Fp/07gqSj3HNqiWAJVFuUHu0yxBPdZOSVPdfE9Qmrc=; fh=u1N9ftFyuzydcPcpCZIY7hi5xb+HknF+yzC41JK2aQQ=; b=ZVp1Q5/WwRjfdj9BX15MvB9yf0wpzOVfDEsO5zmn9tP0Zf8FmFRDWynJ0k1TNNrAfb TVFGc9n+0RZtjkg7cqjDhvyWei9A0RObzubejynG/lXFmoMRgMz9KGF2ucL419EO7fSt 74mzqVzCUt9r0J1wwFrS4J8Zcms1PwFe9NsyWwLNJKFcQ4agLvgW8Nyx1aZgRN6TkEEl OPyqnDRQjdOOM80reNxCyUG3sY7gVcFjobHsBH6+/N0XQopDnD/mvBgbIqYKNBfWSK9s n9zuqcU3WYOybETuPBBrk3PnJE1KRnmIC1n+H7uuK8lA5gHpTp1eNYLoPn89I3GgWUn5 k01Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mJoCnLEK; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-106426-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106426-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z24-20020a656118000000b005dc8a203ddesi8324370pgu.744.2024.03.18.10.18.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 10:18:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106426-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mJoCnLEK; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-106426-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106426-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A2ADC28548E for ; Mon, 18 Mar 2024 17:11:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E917954FAF; Mon, 18 Mar 2024 17:10:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mJoCnLEK" Received: from mail-oo1-f47.google.com (mail-oo1-f47.google.com [209.85.161.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B3C8C54BF7; Mon, 18 Mar 2024 17:10:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710781854; cv=none; b=q6QemTdCWBV2Dsm4j6nr0UnTOaClePjcPmIJqOkXI+zOgLhf3Vp9lk7z5P4jTXYW4T8A57ZLO4DMN/mMKn/mDLaPu+yiqiJxzWxWCaQ9drCIM4lPpOZjlWjBuwcfhl+5r0jO8uWC+TmtmKl/MeOsvVN7yLGVo4/ZtuJkFy5Nr+Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710781854; c=relaxed/simple; bh=TJf6LnwgsKl71TNbw+Pvtwa4Bl/y2PNwY3PC96VPFr4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=AF5P8s1+oru3hq451/NUQBRFvJQBZrNR5doSBiW4c2TTEV3lI8kDOfEwhcY0AGcf0KwhOFdDAiyMDO7X1YKqLaL20HD26KAMoYB5cXNqYUFnN7ubUAeqsosnL5UUdfHGWzdmzx2ib2FjYuV2gHudY5s3uHtIT7RMAjOHzofB1TU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mJoCnLEK; arc=none smtp.client-ip=209.85.161.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-5a49261093cso1412415eaf.3; Mon, 18 Mar 2024 10:10:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710781852; x=1711386652; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6Fp/07gqSj3HNqiWAJVFuUHu0yxBPdZOSVPdfE9Qmrc=; b=mJoCnLEKXuWTHIFWhXsLIz5OGTX3ct3za7RkrZujLO39fVjpevSmV2X4GTEKWBuQYy 71FLuXfRfqCj/S3TasXEvvVp5BKGdRNOHUmQ218VQ6zhclXqrt+MAQOqNg73l+N7MRgp v34HAilGLF4k+vxhhGTmx9IYjhoB2UWLBacjQbs+bkTJR5bA1tZ1kvzdLAM7W9HzpKn5 HW0+7fta9A+oYSbxh2cQRhYYia5+TvLAx/Knr2HB36xjMsj2SiPwfPMJ/wAtyFai5Y1q in9QqaqbXL+lDvjbQxp8SXEAPhAiAIbcQ67izqPAJKMqZhzJ0NJ+dyIQjPmfS6QTWjAJ CR2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710781852; x=1711386652; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6Fp/07gqSj3HNqiWAJVFuUHu0yxBPdZOSVPdfE9Qmrc=; b=lCQEgph+0pz5IoZSAwjMXUNkM/6NYDE4rNsuB/+QWkicQCV801tY/8s00n+i5e3tnw wauHEv4BeYvWUgAYM0wRjU0XIPwlD12d0hVLFG5hTnHzsBLj2px/pVRJnwwraWBolwQU rP8v/IpXirbTzyF0q/ayK23ThYCBcxddVYFHKNdfvnczUXmVxJ4p21bxgOG5g2Z6BMr8 JQpatbgYqdwsYpraMjO4PgW0AirRIlP25KD2VP+FH21Z6JzyWqIJhCnNigF9AJLg5zGH +qWexf/OIQt8LhNJMgyqenFZuogthERBRrCizqU+XIvXF5GDIlEz54b4pJWHlLc4TffZ WwEQ== X-Forwarded-Encrypted: i=1; AJvYcCV3i3Opt3OqkZp8oRBIRDONYQFFxsu4MNbqbvjpNLqTvH6IlXcr7TqS6/7qjueUKn+Rd77mhvkOu6o7HubMzI9xd79DHf24yYcIkLRsQ9HSgW5gi+ri+nJtHykPmmQ6cZVyt5/zGl49 X-Gm-Message-State: AOJu0YyumF4othZPTq9kJoQZg+2ME52s53wgorPKwHUhgWzBpBNq5gjk 4KcNf/WGPhokjNpvnih0hhoO18cUjTXxPzMFWuL1aFD5ZeAy7ZmQ9DxX2LpYdT2PR02YSEEzr7/ GIF6meUUJ9bbnhDylFUKXM0SYn6c= X-Received: by 2002:a05:6870:9688:b0:21e:7cee:9815 with SMTP id o8-20020a056870968800b0021e7cee9815mr13809024oaq.53.1710781851752; Mon, 18 Mar 2024 10:10:51 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240301141800.30218-1-lukas.bulwahn@gmail.com> <41f28393-0211-4448-8add-ad3c55d02210@oracle.com> In-Reply-To: <41f28393-0211-4448-8add-ad3c55d02210@oracle.com> From: Donald Hunter Date: Mon, 18 Mar 2024 17:10:40 +0000 Message-ID: Subject: Re: [PATCH v2] docs: drop the version constraints for sphinx and dependencies To: Vegard Nossum Cc: Lukas Bulwahn , Jonathan Corbet , Mauro Carvalho Chehab , Akira Yokosawa , Jani Nikula , Randy Dunlap , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Mon, 18 Mar 2024 at 16:54, Vegard Nossum wrote: > > > % time make htmldocs > > ... > > real 9m0.533s > > user 15m38.397s > > sys 1m0.907s > > Was this running 'make cleandocs' (or otherwise removing the output > directory) in between? Sphinx is known to be slower if you already have Yes, times were after 'make cleandocs'. > an output directory with existing-but-obsolete data, I believe this is > the case even when switching from one Sphinx version to another. Akira > also wrote about the 7.x performance: > > https://lore.kernel.org/linux-doc/6e4b66fe-dbb3-4149-ac7e-8ae333d6fc9d@gmail.com/ Having looked at the Sphinx code, it doesn't surprise me that incremental builds can have worse performance. There's probably going to be some speedups to be found when we go looking for them. > > I have an experimental fix that uses a dict for lookups. With the fix, I > > consistently get times in the sub 5 minute range: > > Fantastic! > > There is a github issue for the C++ domain but I believe it's the same > issue for both C and C++ domains: > > https://github.com/sphinx-doc/sphinx/issues/10966 Ahh, I looked for an issue for the C domain but did not see one. I didn't think to check for issues with the C++ domain, even though the code for the C domain has been copied from there.