From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 0A7561F452 for ; Fri, 31 Mar 2023 10:20:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1680258007; bh=4sWwmJVCDXN/ptwAo/2N15aPnmpJO3sKx24ZFfSNkCE=; h=From:To:Subject:Date:From; b=HHwi4LLyEB+70KTgSoQ6KzzuBoLcgr2xkRyf4nE4wpG4ifqq2WQzXcUo4ggQsbcmq RqrAWfyuX0tUBorx1/Rk0Q5MdLKzdIESJcILfOHLmToTchPcicCfU1h1zNSVEkeMaY 6vHsy59pxuApgZsoCjyAhLri3EHtND9iH4zwtvgo= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] cindex: parallelism++, sockets-- Date: Fri, 31 Mar 2023 10:20:02 +0000 Message-Id: <20230331102006.1028601-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: I've noticed `git log -p ...' can take a while to generate diffs, so being able to do prune work is helpful in the meantime. I've also noticed PktOp use was excessive so we now share sockets across processes without an increase in complexity. Eric Wong (4): ipc: support awaitpid in WQ workers cindex: do prune work while waiting for `git log -p' cindex: share PktOp socket across prune workers cindex: share PktOp across indexing workers MANIFEST | 1 + lib/PublicInbox/CidxLogP.pm | 29 +++++++ lib/PublicInbox/CodeSearchIdx.pm | 129 ++++++++++++++++++------------- lib/PublicInbox/IPC.pm | 11 +-- 4 files changed, 110 insertions(+), 60 deletions(-) create mode 100644 lib/PublicInbox/CidxLogP.pm