From dev-return-17228-archive-asf-public=cust-asf.ponee.io@nifi.apache.org Tue May 15 10:27:24 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9818C180634 for ; Tue, 15 May 2018 10:27:23 +0200 (CEST) Received: (qmail 2396 invoked by uid 500); 15 May 2018 08:27:22 -0000 Mailing-List: contact dev-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list dev@nifi.apache.org Received: (qmail 2380 invoked by uid 99); 15 May 2018 08:27:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2018 08:27:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 33A401A1026 for ; Tue, 15 May 2018 08:27:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 42Jx_uGSozQh for ; Tue, 15 May 2018 08:27:17 +0000 (UTC) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 284255F666 for ; Tue, 15 May 2018 08:27:17 +0000 (UTC) Received: by mail-wm0-f51.google.com with SMTP id x12-v6so14884312wmc.0 for ; Tue, 15 May 2018 01:27:17 -0700 (PDT) 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=V+NKALJja2XyZ2QCSrg4teWaLeVj8nFee3fek9EDS5Q=; b=pepb3onu1PMuEfjEQtc8wFqEA9cz1GkE2nSCCShQKg0U2vOpN+Pi7MakJUn+dWWRHP 8Z7AcPXTO2nUm7ek6Vo8iG6ca5fiMUXga7/jdgawLVblUF7YRozBRt9pAOwz5s0ka1YA 42KAiSwCQCWi5aTueyDUc04CuGB4xvQVUMN3JlIULLfOWoC/jw7FDGiULEKQ4zn/uMSp JxqGVIrEdo+xBJIOEEiENVTxr8IxxxtzUTz8qvmAGbs2udqwg0NojXZ1zu5ELTdMeKPw eq5/0LyyyJypcJYrc9bcBFwW4hhRQYIVoOLeSkk2AgJh6BBgeOhFRKcOX3Gai2q1A7jf e63A== 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=V+NKALJja2XyZ2QCSrg4teWaLeVj8nFee3fek9EDS5Q=; b=qRkyjzt5yeDKGqqh6R2oC2DJpfCIScxCqun6wA9fbMnp6+JqZdmlHhs0vpTkz9pmz/ lf6VYrd53e/252z8GpYfZjzM9Nnfl0OpB2RycZVWpRCevGc6qoNNquTPr3rYvyUCfv+K Zg0LNVC+h4Mm6VosQucPDjI3gb/iqLR2lAnGxO0wuEW+J3CUcu582TjGnPdRXieAUmuT r/dmPujigNO0MYsVWQu6tmgotWBS1djtfHSKnf3TtycBfI8gxYhhjRzq5rivuG0A6dhv nFBRpZcMFTPA0hGG/NFByEGP+YJVYwC1Uc4JTYcCQinXNJVqkubxpH8XojZ9eivsvbv5 DJgg== X-Gm-Message-State: ALKqPwcCp8tfM4Q/OLNy4X+bPPt3tI++xgleXdkfR+43Vddi/IUJMLId 7V9UVZLwGBkZ0YZn3Q5HMMt+pRRye2rN9e7WQC8= X-Google-Smtp-Source: AB8JxZq0OBEItt3C/t+f4TvYuFuZ03iN+S0VxBrLh2NZDRgSBkwVxFP8WztdDrYp+ZuFmls861WmaeicAKq15NBZRm4= X-Received: by 2002:a50:b4e1:: with SMTP id x30-v6mr16521630edd.155.1526372830558; Tue, 15 May 2018 01:27:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.170.208 with HTTP; Tue, 15 May 2018 01:26:30 -0700 (PDT) In-Reply-To: References: From: Pierre Villard Date: Tue, 15 May 2018 10:26:30 +0200 Message-ID: Subject: Re: Firefox - Slower movements when moving around the canvas To: dev Content-Type: multipart/related; boundary="0000000000005c539e056c3a5efc" --0000000000005c539e056c3a5efc Content-Type: multipart/alternative; boundary="0000000000005c539b056c3a5efb" --0000000000005c539b056c3a5efb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Just to give an update on this in case someone else has the same issue: the last version of Firefox (60.0) solved the problem. Pierre 2018-04-04 19:58 GMT+02:00 Pierre Villard : > OK... that's weird. I also have the same issue when running FF in safe > mode (with no plugin enabled at all). > > When running the performance tool, I've this kind of result (if the > picture is going through the mailing list): > > > > This is just for moving from one place to another on the root canvas. The > green being "Paint" events. > > Not sure it could relate to something else running on my Mac since I don'= t > see the issue at all with Chrome. But nothing unusual running on it as fa= r > as I know... > > =E2=80=8B > > 2018-04-04 19:50 GMT+02:00 Scott Aslan : > >> I just upgraded to Firefox 59.0.2 (from 58) on my Mac. I am also not >> seeing >> any glaring performance difference between FF and Chrome and I also woul= d >> say FF 59 is faster than the previous version. >> >> Pierre, are you running any other plugins for FF or any other software o= n >> your Mac that may impact overall performance? >> >> On Tue, Apr 3, 2018 at 4:30 PM, Matt Gilman >> wrote: >> >> > I have not had a chance to fully dig in but I upgraded from Firefox 57 >> to >> > Firefox 59. While there is nothing quantitative behind this Firefox 59 >> > seemed to have better performance. I'll continue investigating and >> digging >> > through some Firefox tickets to see if there is anything interesting. >> > Additionally, Firefox 59 seemed to be on par with Chrome 65. >> > >> > Matt >> > >> > On Tue, Apr 3, 2018 at 4:10 PM, Michael Moser >> wrote: >> > >> > > Adding a data point: using Firefox for Linux 64-bit, I see no >> difference >> > > between Firefox 58.0.2 and 59.0.2. Neither exhibit a slow canvas wi= th >> > the >> > > NiFi UI. >> > > >> > > -- Mike >> > > >> > > >> > > On Tue, Apr 3, 2018 at 3:24 PM, Pierre Villard < >> > > pierre.villard.fr@gmail.com> >> > > wrote: >> > > >> > > > Yep, same here Mike, back to square one I guess... >> > > > One additional remark: paint event duration seems to be proportion= al >> > with >> > > > the number of elements to paint on the UI. Not really surprising b= ut >> > just >> > > > wanted to add the info. >> > > > >> > > > >> > > > 2018-04-03 21:12 GMT+02:00 Mike Thomsen : >> > > > >> > > > > Found on Reddit that you can toggle OMTP using this: >> > > layers.omtp.enabled >> > > > > >> > > > > Disabled it and restarted. Didn't seem to do any good. >> > > > > >> > > > > On Tue, Apr 3, 2018 at 3:08 PM, Mike Thomsen < >> mikerthomsen@gmail.com >> > > >> > > > > wrote: >> > > > > >> > > > > > Yeah, I'm using a Mac. >> > > > > > >> > > > > > On Tue, Apr 3, 2018 at 2:34 PM, Pierre Villard < >> > > > > > pierre.villard.fr@gmail.com> wrote: >> > > > > > >> > > > > >> I've been trying to debug this one and here are my findings s= o >> > > far... >> > > > > >> >> > > > > >> When debugging performance with the developer tools, the >> "Paint" >> > > event >> > > > > of >> > > > > >> the page is what is taking so long (between 3.5s to 5.5s (!!!= ) >> > when >> > > I >> > > > > move >> > > > > >> from one place to another on the root canvas). Based on the >> > release >> > > > note >> > > > > >> of >> > > > > >> Firefox 59.0 [1], I see that there is something new for Mac >> users >> > > > (Mike, >> > > > > >> are you also using a Mac?): "Improved graphics rendering usin= g >> > > > > >> Off-Main-Thread Painting (OMTP) [2] for Mac users (OMTP for >> > Windows >> > > > was >> > > > > >> released in Firefox 58)". >> > > > > >> >> > > > > >> So it seems to be related to this new feature(someone using >> > Windows >> > > > > could >> > > > > >> help conf irming if it's also slow using Firefox 58.x.). >> > > > > >> I tried to find existing bugs but didn't find anything really >> > > > > relevant... >> > > > > >> >> > > > > >> [1] https://www.mozilla.org/en-US/firefox/59.0/releasenotes/ >> > > > > >> [2] https://mozillagfx.wordpress.com/2017/12/05/off-main- >> > > > > thread-painting/ >> > > > > >> >> > > > > >> >> > > > > >> >> > > > > >> 2018-04-03 16:00 GMT+02:00 Mike Thomsen < >> mikerthomsen@gmail.com>: >> > > > > >> >> > > > > >> > I experienced it yesterday as well. I'm about to install a >> LTS >> > > > version >> > > > > >> of >> > > > > >> > Firefox so I can keep going there. >> > > > > >> > >> > > > > >> > While someone from the UI side figures this out, I think it >> > should >> > > > be >> > > > > >> filed >> > > > > >> > as a bug report to Mozilla. >> > > > > >> > >> > > > > >> > On Sat, Mar 31, 2018 at 5:04 PM, Pierre Villard < >> > > > > >> > pierre.villard.fr@gmail.com >> > > > > >> > > wrote: >> > > > > >> > >> > > > > >> > > Just confirmed that behavior changed between Firefox 58.x >> and >> > > > 59.x. >> > > > > >> > > I'll let our UI gurus find the root cause and will probab= ly >> > use >> > > > > >> Chrome in >> > > > > >> > > the meantime :) >> > > > > >> > > >> > > > > >> > > 2018-03-31 22:02 GMT+02:00 Pierre Villard < >> > > > > >> pierre.villard.fr@gmail.com>: >> > > > > >> > > >> > > > > >> > > > Hi guys, >> > > > > >> > > > >> > > > > >> > > > I'm running on master, using Firefox (59.0.2), and it >> seems >> > it >> > > > got >> > > > > >> > slower >> > > > > >> > > > to move around the canvas. In my case, I've around 10 P= Gs >> > and >> > > > > >> around 50 >> > > > > >> > > > processors. When trying to move from one place to >> another at >> > > the >> > > > > >> root >> > > > > >> > > > level, it's really slow and movement is >> intermittent/broken >> > > (not >> > > > > >> > fluid). >> > > > > >> > > > When accessing the same NiFi with Chrome, no issue at >> all. >> > > > > >> > > > >> > > > > >> > > > Problem is... I've also tried with a NiFi 1.5.0 and a >> NiFi >> > > > 1.3.0 I >> > > > > >> have >> > > > > >> > > > locally with various workflows, and it's the same with >> the >> > > older >> > > > > >> > > versions. >> > > > > >> > > > >> > > > > >> > > > Wondering if this could be related to the upgrade to >> Firefox >> > > > 59.x. >> > > > > >> > > > >> > > > > >> > > > Has anyone experienced the same? >> > > > > >> > > > >> > > > > >> > > > I can try to downgrade to Firefox 58.x to confirm but >> wanted >> > > to >> > > > > >> check >> > > > > >> > > with >> > > > > >> > > > the community first. >> > > > > >> > > > >> > > > > >> > > > Thanks! >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > >> > > > > >> > >> > > > > >> >> > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > >> > > --0000000000005c539b056c3a5efb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just to give an update on this in case someone else h= as the same issue: the last version of Firefox (60.0) solved the problem.

Pierre
2018-04-04 19:58 GMT+02:00 Pierre Villard <pierre.villard.fr@gmail.com>:
OK... that's weird. I also h= ave the same issue when running FF in safe mode (with no plugin enabled at = all).

When running the performance tool, I've this kind of= result (if the picture is going through the mailing list):



=
This is just for moving from one place to another on the root canvas.= The green being "Paint" events.

Not sure it could r= elate to something else running on my Mac since I don't see the issue a= t all with Chrome. But nothing unusual running on it as far as I know...

=E2=80=8B

2018-04-04 19:50 GMT+02:00 Scott Aslan <scottyaslan@gmail.com>:
I just upgraded to Firefox= 59.0.2 (from 58) on my Mac. I am also not seeing
any glaring performance difference between FF and Chrome and I also would say FF 59 is faster than the previous version.

Pierre, are you running any other plugins for FF or any other software on your Mac that may impact overall performance?

On Tue, Apr 3, 2018 at 4:30 PM, Matt Gilman <
matt.c.gilman@gmail.com> wrote:
> I have not had a chance to fully dig in but I upgraded from Firefox 57= to
> Firefox 59. While there is nothing quantitative behind this Firefox 59=
> seemed to have better performance. I'll continue investigating and= digging
> through some Firefox tickets to see if there is anything interesting.<= br> > Additionally, Firefox 59 seemed to be on par with Chrome 65.
>
> Matt
>
> On Tue, Apr 3, 2018 at 4:10 PM, Michael Moser <moser.mw@gmail.com> wrote:
>
> > Adding a data point: using Firefox for Linux 64-bit, I see no dif= ference
> > between Firefox 58.0.2 and 59.0.2.=C2=A0 Neither exhibit a slow c= anvas with
> the
> > NiFi UI.
> >
> > -- Mike
> >
> >
> > On Tue, Apr 3, 2018 at 3:24 PM, Pierre Villard <
> > = pierre.villard.fr@gmail.com>
> > wrote:
> >
> > > Yep, same here Mike, back to square one I guess...
> > > One additional remark: paint event duration seems to be prop= ortional
> with
> > > the number of elements to paint on the UI. Not really surpri= sing but
> just
> > > wanted to add the info.
> > >
> > >
> > > 2018-04-03 21:12 GMT+02:00 Mike Thomsen <mikerthomsen@gmail.com>:=
> > >
> > > > Found on Reddit that you can toggle OMTP using this: > > layers.omtp.enabled
> > > >
> > > > Disabled it and restarted. Didn't seem to do any go= od.
> > > >
> > > > On Tue, Apr 3, 2018 at 3:08 PM, Mike Thomsen <mikerthomsen@gmail.co= m
> >
> > > > wrote:
> > > >
> > > > > Yeah, I'm using a Mac.
> > > > >
> > > > > On Tue, Apr 3, 2018 at 2:34 PM, Pierre Villard <= ;
> > > > > pierre.villard.fr@gmail.com> wrote:
> > > > >
> > > > >> I've been trying to debug this one and her= e are my findings so
> > far...
> > > > >>
> > > > >> When debugging performance with the developer = tools, the "Paint"
> > event
> > > > of
> > > > >> the page is what is taking so long (between 3.= 5s to 5.5s (!!!)
> when
> > I
> > > > move
> > > > >> from one place to another on the root canvas).= Based on the
> release
> > > note
> > > > >> of
> > > > >> Firefox 59.0 [1], I see that there is somethin= g new for Mac users
> > > (Mike,
> > > > >> are you also using a Mac?): "Improved gra= phics rendering using
> > > > >> Off-Main-Thread Painting (OMTP) [2] for Mac us= ers (OMTP for
> Windows
> > > was
> > > > >> released in Firefox 58)".
> > > > >>
> > > > >> So it seems to be related to this new feature(= someone using
> Windows
> > > > could
> > > > >> help conf irming if it's also slow using F= irefox 58.x.).
> > > > >> I tried to find existing bugs but didn't f= ind anything really
> > > > relevant...
> > > > >>
> > > > >> [1] https://www= .mozilla.org/en-US/firefox/59.0/releasenotes/
> > > > >> [2] https://mozill= agfx.wordpress.com/2017/12/05/off-main-
> > > > thread-painting/
> > > > >>
> > > > >>
> > > > >>
> > > > >> 2018-04-03 16:00 GMT+02:00 Mike Thomsen <mikerthomsen@gmai= l.com>:
> > > > >>
> > > > >> > I experienced it yesterday as well. I'= ;m about to install a LTS
> > > version
> > > > >> of
> > > > >> > Firefox so I can keep going there.
> > > > >> >
> > > > >> > While someone from the UI side figures th= is out, I think it
> should
> > > be
> > > > >> filed
> > > > >> > as a bug report to Mozilla.
> > > > >> >
> > > > >> > On Sat, Mar 31, 2018 at 5:04 PM, Pierre V= illard <
> > > > >> > pierre.villard.fr@gmail.com
> > > > >> > > wrote:
> > > > >> >
> > > > >> > > Just confirmed that behavior changed= between Firefox 58.x and
> > > 59.x.
> > > > >> > > I'll let our UI gurus find the r= oot cause and will probably
> use
> > > > >> Chrome in
> > > > >> > > the meantime :)
> > > > >> > >
> > > > >> > > 2018-03-31 22:02 GMT+02:00 Pierre Vi= llard <
> > > > >> pierre.villard.fr@gmail.com>:
> > > > >> > >
> > > > >> > > > Hi guys,
> > > > >> > > >
> > > > >> > > > I'm running on master, usin= g Firefox (59.0.2), and it seems
> it
> > > got
> > > > >> > slower
> > > > >> > > > to move around the canvas. In m= y case, I've around 10 PGs
> and
> > > > >> around 50
> > > > >> > > > processors. When trying to move= from one place to another at
> > the
> > > > >> root
> > > > >> > > > level, it's really slow and= movement is intermittent/broken
> > (not
> > > > >> > fluid).
> > > > >> > > > When accessing the same NiFi wi= th Chrome, no issue at all.
> > > > >> > > >
> > > > >> > > > Problem is... I've also tri= ed with a NiFi 1.5.0 and a NiFi
> > > 1.3.0 I
> > > > >> have
> > > > >> > > > locally with various workflows,= and it's the same with the
> > older
> > > > >> > > versions.
> > > > >> > > >
> > > > >> > > > Wondering if this could be rela= ted to the upgrade to Firefox
> > > 59.x.
> > > > >> > > >
> > > > >> > > > Has anyone experienced the same= ?
> > > > >> > > >
> > > > >> > > > I can try to downgrade to Firef= ox 58.x to confirm but wanted
> > to
> > > > >> check
> > > > >> > > with
> > > > >> > > > the community first.
> > > > >> > > >
> > > > >> > > > Thanks!
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
>


--0000000000005c539b056c3a5efb-- --0000000000005c539e056c3a5efc--