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=1.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,RDNS_NONE, SPOOFED_FREEMAIL_NO_RDNS autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 20476 invoked from network); 5 Jan 2021 12:13:24 -0000 Received: from unknown (HELO 1ess.inri.net) (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 5 Jan 2021 12:13:24 -0000 Received: from mail-vk1-f180.google.com ([209.85.221.180]) by 1ess; Tue Jan 5 07:10:29 -0500 2021 Received: by mail-vk1-f180.google.com with SMTP id s13so6870451vkb.11 for <9front@9front.org>; Tue, 05 Jan 2021 04:10:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=x0dWw4EOhwz8NtFnwjtazzZA+bKfLDKPnVnvN4sg5ZY=; b=frcOH6pWibz7Qr0saYZn/wlAqhFUGJrWIpZae6PkNaPuS1He+4Kut1G2W//aC14b6W 0/dD3D1FDhs/yJLcCuvYFBMt74KGrA1ukdnbIYIW4cXCYG028KulNlG2p/GHaCzcak3H OEE7dBThz9gphqqVao6JFuqF76fRF0tEnuIa09dVHE4AxYe4yZYFOdgU70l1/9PXk5Y8 UyPPljivozHb2e8NkLtGvClbah0MXkLU5y7GtLycM6n8AzAk844j3VdtPrFAT1EYhd5P waDnBpMIL8Wr4TnwL2ajyPo8y441hi3n+tt2FJFmVgnS2fHfAWxBd807XhGsGW8eJXum yN/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=x0dWw4EOhwz8NtFnwjtazzZA+bKfLDKPnVnvN4sg5ZY=; b=EPOgPdYqPfTqE21kzXWtG4y62b0+pgX4RBuhqtDHAlCA5Z1ZAEb2oMSpN5gOIJKoD1 acea9pmmG52Xqx0UbSfhnpcW4Si3BVamh8KOkO6TEHugyUDztVo/hwRZfjnz/qOhqMHy U/m1MDCM6Qt2K0buM4fBKldSKkJDqdPRgl/wLd5NUaJUZUIVaOxXZodrusqPL+pLNrW7 ncBmXIpb+BNEyekIjgXKAvpWwiLBxhigs9bfoidOk78lv8wJ02uPD37TTBz5JVRkoqCJ 1EeRlS2JmaJaa4D8igBGsebPrZTAc1hj3wa60mHAOmz8BxQi9uBeU0S04I2nozi9JPRO VJWw== X-Gm-Message-State: AOAM531uXSnanFYwF0Ku6qTm4W2Hws/upJk4Kp+4pKk+Qurj4S05/3EI 2GQ3azO6si4t33ZCkCc3ZjVZmqcQkzSGBj9VhL+Thf4YL0M= X-Google-Smtp-Source: ABdhPJzo/8dU8crOZfnnEDRi25g6bEwPiOkRGaPhZcbMBioke4bsLAJIX/GELR7KIRsVgqp07tsJLnpzbAWpTc1xQ1Y= X-Received: by 2002:a1f:4ec7:: with SMTP id c190mr40181953vkb.11.1609848620511; Tue, 05 Jan 2021 04:10:20 -0800 (PST) MIME-Version: 1.0 From: Jonas Amoson Date: Tue, 5 Jan 2021 14:10:09 +0200 Message-ID: To: 9front@9front.org Content-Type: multipart/mixed; boundary="0000000000002b6d3f05b826174c" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: patented decentralized full-stack locator Subject: [9front] Change of Hashsize in acid (slow startup on netsurf) Reply-To: 9front@9front.org Precedence: bulk --0000000000002b6d3f05b826174c Content-Type: text/plain; charset="UTF-8" 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 --0000000000002b6d3f05b826174c X-Attachment-Id: f_kjjy5yq10 Content-Type: multipart/mixed; boundary="upas-fisqijelshxibxhahzaaqweghl" Content-Disposition: inline This is a multi-part message in MIME format. --upas-fisqijelshxibxhahzaaqweghl Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit from postmaster@1ess: The following attachment had content that we can't prove to be harmless. To avoid possible automatic execution, we changed the content headers. The original header was: Content-Type: application/octet-stream; name="acid.patch" Content-Disposition: attachment; filename="acid.patch" Content-Transfer-Encoding: base64 Content-ID: --upas-fisqijelshxibxhahzaaqweghl Content-Type: application/octet-stream Content-Disposition: attachment; filename="acid.patch.suspect" Content-Transfer-Encoding: base64 LS0tIGEvc3lzL3NyYy9jbWQvYWNpZC9hY2lkLmgKKysrIGIvc3lzL3NyYy9jbWQvYWNpZC9hY2lk LmgKQEAgLTMsNyArMyw3IEBACiB7CiAJRW9mCQk9IC0xLAogCVN0cnNpemUJCT0gNDA5NiwKLQlI YXNoc2l6ZQk9IDEyOCwKKwlIYXNoc2l6ZQk9IDMyNzY4LAogCU1heGFyZwkJPSA1MTIsCiAJTkZE CQk9IDEwMCwKIAlNYXhwcm9jCQk9IDUwLAo= --upas-fisqijelshxibxhahzaaqweghl--