UI memory leak testing across browsers

I thought this was interesting enough to share with everyone. tl;dr: give Firefox Quantum a try! We're doing UI memory leak testing of webadmin across browsers. The tests use selenium [http://www.seleniumhq.org/] which drives the browser to do hundreds of repetitive actions, which then over time exposes browser memory leaks in the actions being performed. X = repetitions (over time) Y = memory consumed in MB The graph shows that, as the number of repetitions through the application increases, Firefox Quantum 57 leaks less (lower slope) than Chrome 62 (latest) and older Firefox 52 ESR. Also, it uses less memory the entire time (lower on the graph). [FF 57 is also just plain faster per repetition, but I haven't posted that graph here. Take my word for it :)] [image: Inline image 1] Best wishes, Greg -- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>

On Dec 10, 2017 4:04 PM, "Greg Sheremeta" <gshereme@redhat.com> wrote: I thought this was interesting enough to share with everyone. tl;dr: give Firefox Quantum a try! We're doing UI memory leak testing of webadmin across browsers. The tests use selenium [http://www.seleniumhq.org/] which drives the browser to do hundreds of repetitive actions, which then over time exposes browser memory leaks in the actions being performed. X = repetitions (over time) Y = memory consumed in MB The graph shows that, as the number of repetitions through the application increases, Firefox Quantum 57 leaks less (lower slope) than Chrome 62 (latest) and older Firefox 52 ESR. Also, it uses less memory the entire time (lower on the graph). [FF 57 is also just plain faster per repetition, but I haven't posted that graph here. Take my word for it :)] Nice, especially that it is both faster AND takes less memory (otherwise you could have blamed a GC strategy favoring speed over memory consumption). Worth blogging on ovirt.org. Y. [image: Inline image 1] Best wishes, Greg -- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig> _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

The overall UX in 4.2 on ff57 is so much better than what we had on 4.1. On Sun, 10 Dec 2017 at 17:15 Yaniv Kaul <ykaul@redhat.com> wrote:
On Dec 10, 2017 4:04 PM, "Greg Sheremeta" <gshereme@redhat.com> wrote:
I thought this was interesting enough to share with everyone.
tl;dr: give Firefox Quantum a try!
+1
We're doing UI memory leak testing of webadmin across browsers. The tests use selenium [http://www.seleniumhq.org/] which drives the browser to do hundreds of repetitive actions, which then over time exposes browser memory leaks in the actions being performed.
X = repetitions (over time) Y = memory consumed in MB
The graph shows that, as the number of repetitions through the application increases, Firefox Quantum 57 leaks less (lower slope) than Chrome 62 (latest) and older Firefox 52 ESR. Also, it uses less memory the entire time (lower on the graph). [FF 57 is also just plain faster per repetition, but I haven't posted that graph here. Take my word for it :)]
Nice, especially that it is both faster AND takes less memory (otherwise you could have blamed a GC strategy favoring speed over memory consumption).
Worth blogging on ovirt.org. Y.
[image: Selection_366.png]
Best wishes, Greg
--
GREG SHEREMETA
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
Red Hat NA
gshereme@redhat.com IRC: gshereme <https://red.ht/sig>
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

On Sun, Dec 10, 2017 at 4:14 PM, Yaniv Kaul <ykaul@redhat.com> wrote:
On Dec 10, 2017 4:04 PM, "Greg Sheremeta" <gshereme@redhat.com> wrote:
I thought this was interesting enough to share with everyone.
tl;dr: give Firefox Quantum a try!
I started to use it when it was nightly. It is amazingly fast and do not consume so many resources as chrome. The funny thing is that it is only the beginning of the improvements that are queued for firefox.
We're doing UI memory leak testing of webadmin across browsers. The tests use selenium [http://www.seleniumhq.org/] which drives the browser to do hundreds of repetitive actions, which then over time exposes browser memory leaks in the actions being performed.
X = repetitions (over time) Y = memory consumed in MB
The graph shows that, as the number of repetitions through the application increases, Firefox Quantum 57 leaks less (lower slope) than Chrome 62 (latest) and older Firefox 52 ESR. Also, it uses less memory the entire time (lower on the graph). [FF 57 is also just plain faster per repetition, but I haven't posted that graph here. Take my word for it :)]
Nice, especially that it is both faster AND takes less memory (otherwise you could have blamed a GC strategy favoring speed over memory consumption).
Worth blogging on ovirt.org. Y.
[image: Inline image 1]
Best wishes, Greg
--
GREG SHEREMETA
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
Red Hat NA
gshereme@redhat.com IRC: gshereme <https://red.ht/sig>
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
participants (4)
-
Greg Sheremeta
-
Piotr Kliczewski
-
Roy Golan
-
Yaniv Kaul