From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:558:fe21:29:69:252:207:34; helo=resqmta-ch2-02v.sys.comcast.net; envelope-from=eklhad@comcast.net; receiver= Received: from resqmta-ch2-02v.sys.comcast.net (resqmta-ch2-02v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:34]) by hurricane.the-brannons.com (Postfix) with ESMTPS id D232577893 for ; Sat, 10 Feb 2018 03:51:18 -0800 (PST) Received: from resomta-ch2-02v.sys.comcast.net ([69.252.207.98]) by resqmta-ch2-02v.sys.comcast.net with ESMTP id kThHecc36ve36kThHeg308; Sat, 10 Feb 2018 11:51:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1518263519; bh=sav0DK6viqavzoQ+gnVCX35byKQqjU9vy08J5+JhC/c=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=SvhugVHk0tSL2vKJmFAaCbM4Uq6p6KfepmGyMVr4STxhJyrcL7DbR4qcztz3cjghr YO1qKvwIDeQXu5sH8kLLdO7K3AP3v11WzBLgGZsCqKSSdTr5K53/wUV6XOBLgDqHl9 yuZlpcYca196JNcTVF4fjPGZNTHmvAWtSsWZgcHatmo3hA0q/+MYzhZXuPmRGL58sQ TSnVCo0/WDIRG/JVOMbD9UmZjRT/En/8XMcPhkOYmDtD89yiZKKKNsAFUhjhV/uHi3 VuJV1K+JZkxU3dmwlA9FYRuzryyOceqqsuAtS1cuwZf7zM9dQpPfjBVyzn3Pfg9lw5 J+mWIdf2amHAw== Received: from unknown ([IPv6:2601:408:c300:8f09:21e:4fff:fec2:a0f1]) by resomta-ch2-02v.sys.comcast.net with SMTP id kThGe3bQhtbS7kThHecskD; Sat, 10 Feb 2018 11:51:59 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.7.1 Date: Sat, 10 Feb 2018 06:51:58 -0500 Message-ID: <20180110065158.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-944278 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfCyRZQ8yvyND61p5WKXz/w16iDhbbpSw97VI3DF9IDOAa5d442KtGve8GwTjKYJ1bLR0vj/44VLaAE7v1pyTTxktYZMypzL55/cfKWkWRFRoyMN1l0xe oc9Ml1N9162IjHfGR/TOPjkS8Zjth+VFOqpIZupmlwRliSqPPweE1HQb Subject: [Edbrowse-dev] nasa slow X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.25 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Feb 2018 11:51:19 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --nextpart-eb-944278 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Using my local instance of nasa.gov, so I don't have to keep crawling = on the internet, I find the output is the same with or without several js files, and = with or without the two css files, but, without css the page browses in 6 seconds, with css it takes a minute = 10. Frustrating, since 99% of the time we don't need css anyways, but if we = ever need it then I guess we have to do it. There's an initial 6 seconds setting up css on the web page, I can live = with that I guess, but all the rest comes from calls to getComputed = Style(). I print g at the start of that routine, and h at the end, and almost = all the time is spent between g and h. Worse still, I'm using third party software that I don't want to mess = with. Yet I might have to, at some level, because we can't live with this = much inefficiency. querySelectorAll is running through the entire document tree, = evaluating each node against each css selector, when it only has to = examine one node in particular, the one passed to getComputedStyle. But the traversal seems implicit to the third party software. I can't tell it to look at just one node. I'm not sure what to do here. Karl Dahlke --nextpart-eb-944278--