From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23968 invoked from network); 5 Jan 2021 21:20:23 -0000 Received: from mars2.inri.net (HELO 1ess.inri.net) (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 5 Jan 2021 21:20:23 -0000 Received: from mail-ed1-f48.google.com ([209.85.208.48]) by 1ess; Tue Jan 5 16:03:26 -0500 2021 Received: by mail-ed1-f48.google.com with SMTP id dk8so2376411edb.1 for <9front@9front.org>; Tue, 05 Jan 2021 13:03:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=HrF5ETbsWSWLHf0eXeUM8+C2Y+Pek/b1Z361KYh8qgM=; b=bdBzb8XjtGMZPWuRhOYItgPVNnmUnLjDew6GTJ8BBqYGgV8YFa4f6kEjltrbSygFlm bEkK/mug5ntIrAHQ+OYKro+eB4qHFEYC7DRLC08PikFpuAv+QniNJ4zZMOiRZzPistDg U33WqXYTc7AZFuRsh8O5wldL+1Fp0kDvuccuY/JyDR/Ofal5KdW4ElNJRcXZDN/wGxLe OHYTMKOOnmCtt8h132yYkWNfdaIA3iyin4kYiW2g4Po5BklVN/kqiHSSyp+U5ydgxUa3 HV1b57fqpFbUgKtvN6ssyWDnYmbD6VkstEZ/NmHwMi0i0Yi8FtaDlbgD8+wvgUrOonhJ M/cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=HrF5ETbsWSWLHf0eXeUM8+C2Y+Pek/b1Z361KYh8qgM=; b=j6wl7ei/ZIO0RBM9YWje5XhYt9pMT0vmxiuorDugwl60gBoCBBuQks39BhLtKWN0bx j5DAIFBHnGvhrCE6CrLzCYQ/tZ7CCWvGkzmdLnkfscKJBwbFi5+/8x1oAzq4xdTNIGBl dMtJmRZet26YLZG2uRE7fZbsZcTmThsscsQ020NXNWlZ0sEC3KToijZLPepJQHSeimnO uhDbG46yMHuLJvq4eDqzaL+8vIb5xLUy2NkvcxYo9A9/Q/q9x4cozyW18Sou/ldAUFxz EVqRxY2LzJ/HhRcHJY9N+LTFz0hcTEP/sAOXDJsb+F8NW7lKJK6DyUKX3sFdl5l+accA WCwQ== X-Gm-Message-State: AOAM531AG0oOryH0blnB6U7Qs1qJjGV21WPBQOGpzh8XbNkgYYTOYsfN GRktAn2Xh7qzr8I1n3ReUYXzqFHtk+PutP8U7yBKDVcKarM= X-Google-Smtp-Source: ABdhPJxuc86WJfW89b+7p9ffWXGiAEi/LONwykkav/CF+uEL1uzdThHDD5cUZctT9U23rtifPMRMCpM93sraZwob+VE= X-Received: by 2002:aa7:c94a:: with SMTP id h10mr1627123edt.247.1609880597261; Tue, 05 Jan 2021 13:03:17 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a17:906:6848:0:0:0:0 with HTTP; Tue, 5 Jan 2021 13:03:16 -0800 (PST) In-Reply-To: References: From: hiro <23hiro@gmail.com> Date: Tue, 5 Jan 2021 22:03:16 +0100 Message-ID: To: 9front <9front@9front.org> Content-Type: multipart/mixed; boundary="00000000000021d1a405b82d8976" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: self-signing framework Subject: Fwd: [9front] Change of Hashsize in acid (slow startup on netsurf) Reply-To: 9front@9front.org Precedence: bulk --00000000000021d1a405b82d8976 Content-Type: text/plain; charset="UTF-8" the 9front mailing list seems to be making a weird subdomain quarantine decision: Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=frcOH6pW; spf=pass (google.com: domain of 9front-bounces@1ess.inri.net designates 216.126.196.35 as permitted sender) smtp.mailfrom=9front-bounces@1ess.inri.net; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com but the from header does not specify a subdomine, so quarantine should not apply ---------- Forwarded message ---------- From: Jonas Amoson Date: Tue, 5 Jan 2021 14:10:09 +0200 Subject: [9front] Change of Hashsize in acid (slow startup on netsurf) To: 9front@9front.org It is slow to debug netsurf with acid, as it takes a long time to load all the symbols from the binary. It is the process of checking if a symbol has been encountered before, the function unique(), that makes the loading slow. Changing Hashsize from 128 to 32768 in acid takes down the loading time from 4 minutes to 8 seconds for me (45 times faster). Philippe reported a similar speed increase (30x from 15 min to 30 sec). I don't know if it is desirable to change the hashsize in the 9front repo, as it probably is only netsurf that has so many symbols to load, that it matters. But it might be that it doesn't harm anything either. /Jonas --00000000000021d1a405b82d8976 Content-Type: application/octet-stream; name="acid.patch.suspect" Content-Disposition: attachment; filename="acid.patch.suspect" Content-Transfer-Encoding: base64 X-Attachment-Id: 15ca2703f8e292aa_0.1.1 LS0tIGEvc3lzL3NyYy9jbWQvYWNpZC9hY2lkLmgKKysrIGIvc3lzL3NyYy9jbWQvYWNpZC9hY2lk LmgKQEAgLTMsNyArMyw3IEBACiB7CiAJRW9mCQk9IC0xLAogCVN0cnNpemUJCT0gNDA5NiwKLQlI YXNoc2l6ZQk9IDEyOCwKKwlIYXNoc2l6ZQk9IDMyNzY4LAogCU1heGFyZwkJPSA1MTIsCiAJTkZE CQk9IDEwMCwKIAlNYXhwcm9jCQk9IDUwLAo= --00000000000021d1a405b82d8976--