Speed test performance issues with ABP

RESOLVED WONTFIX

Status

defect
RESOLVED WONTFIX
7 years ago
5 months ago

People

(Reporter: rockachu2, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:15.0) Gecko/15.0 Firefox/15.0a1
Build ID: 20120519030527

Steps to reproduce:

went to http://www.fabulant.com/downloadcenter/benchjs/benchjs.html


Actual results:

images (test #3) took 40+ seconds, the whole time increasing memory usage to a total of over 1gb.


Expected results:

images to flash fast as in chrome. Memory usage to not increase dramatically.
861,336,775 B (100.0%) -- explicit
+--625,051,464 B (72.57%) -- js
¦  +--469,656,776 B (54.53%) -- compartment([System Principal])
¦  ¦  +--256,761,856 B (29.81%) -- gc-heap
¦  ¦  ¦  +---83,067,072 B (09.64%) -- strings [10]
¦  ¦  ¦  +---71,164,304 B (08.26%) -- objects
¦  ¦  ¦  ¦   +--55,218,928 B (06.41%) -- non-function [35]
¦  ¦  ¦  ¦   +--15,945,376 B (01.85%) -- function [107]
¦  ¦  ¦  +---57,926,992 B (06.73%) -- shapes
¦  ¦  ¦  ¦   +--38,713,000 B (04.49%) -- tree [83]
¦  ¦  ¦  ¦   +--15,701,392 B (01.82%) -- base [18]
¦  ¦  ¦  ¦   +---3,512,600 B (00.41%) -- dict [6]
¦  ¦  ¦  +---24,659,144 B (02.86%) -- arena
¦  ¦  ¦  ¦   +--21,489,168 B (02.49%) -- unused [182]
¦  ¦  ¦  ¦   +---1,886,048 B (00.22%) -- headers [9]
¦  ¦  ¦  ¦   +---1,283,928 B (00.15%) -- padding [9]
¦  ¦  ¦  +---15,668,256 B (01.82%) -- type-objects [4]
¦  ¦  ¦  +----3,038,488 B (00.35%) -- sundries [181]
¦  ¦  ¦  +----1,237,600 B (00.14%) -- scripts [39]
¦  ¦  +---95,953,006 B (11.14%) -- string-chars [14]
¦  ¦  +---62,931,552 B (07.31%) -- shapes-extra
¦  ¦  ¦   +--60,950,784 B (07.08%) -- compartment-tables [64]
¦  ¦  ¦   +---1,555,776 B (00.18%) -- dict-tables [5]
¦  ¦  ¦   +-----245,920 B (00.03%) -- tree-shape-kids [5]
¦  ¦  ¦   +-----179,072 B (00.02%) -- tree-tables [5]
¦  ¦  +---27,508,736 B (03.19%) -- cross-compartment-wrappers [14]
¦  ¦  +---12,444,128 B (01.44%) -- objects
¦  ¦  ¦   +---9,913,984 B (01.15%) -- slots [16]
¦  ¦  ¦   +---2,530,144 B (00.29%) -- elements [3]
¦  ¦  +----8,390,752 B (00.97%) -- analysis-temporary [55]
¦  ¦  +----3,134,152 B (00.36%) -- script-data [66]
¦  ¦  +----2,307,330 B (00.27%) -- other-sundries [182]
¦  ¦  +------167,408 B (00.02%) -- mjit-data [8]
¦  ¦  +-------57,856 B (00.01%) -- type-inference/script-main [2]
¦  +---98,171,504 B (11.40%) -- xpconnect
¦  +---13,815,808 B (01.60%) -- gc-heap-chunk-dirty-unused
¦  +----9,221,312 B (01.07%) -- compartment(atoms)
¦  ¦    +--5,996,544 B (00.70%) -- gc-heap
¦  ¦    ¦  +--5,223,616 B (00.61%) -- strings
¦  ¦    ¦  +----772,928 B (00.09%) -- arena
¦  ¦    ¦       +--695,008 B (00.08%) -- unused
¦  ¦    ¦       +---46,848 B (00.01%) -- headers
¦  ¦    ¦       +---31,072 B (00.00%) -- padding
¦  ¦    +--3,223,744 B (00.37%) -- string-chars
¦  ¦    +------1,024 B (00.00%) -- other-sundries
¦  +----6,117,872 B (00.71%) -- runtime
¦  ¦    +--4,194,304 B (00.49%) -- atoms-table
¦  ¦    +----639,000 B (00.07%) -- mjit-code
¦  ¦    +----419,840 B (00.05%) -- compartment-objects
¦  ¦    +----262,144 B (00.03%) -- gc-marker
¦  ¦    +----217,088 B (00.03%) -- runtime-object
¦  ¦    +----131,072 B (00.02%) -- stack-committed
¦  ¦    +-----98,304 B (00.01%) -- math-cache
¦  ¦    +-----54,984 B (00.01%) -- unused-code-memory
¦  ¦    +-----44,016 B (00.01%) -- contexts
¦  ¦    +-----26,912 B (00.00%) -- regexp-code
¦  ¦    +-----22,016 B (00.00%) -- script-filenames
¦  ¦    +------4,096 B (00.00%) -- dtoa
¦  ¦    +------4,096 B (00.00%) -- temporary
¦  +----5,754,576 B (00.67%) -- compartment(http://www.greensock.com/js/speed.html)
¦  ¦    +--3,477,504 B (00.40%) -- gc-heap
¦  ¦    ¦  +--1,060,912 B (00.12%) -- arena
¦  ¦    ¦  ¦  +--1,003,144 B (00.12%) -- unused
¦  ¦    ¦  ¦  +-----30,600 B (00.00%) -- padding
¦  ¦    ¦  ¦  +-----27,168 B (00.00%) -- headers
¦  ¦    ¦  +----921,728 B (00.11%) -- objects
¦  ¦    ¦  ¦    +--479,616 B (00.06%) -- function
¦  ¦    ¦  ¦    +--442,112 B (00.05%) -- non-function
¦  ¦    ¦  +----753,376 B (00.09%) -- shapes
¦  ¦    ¦  ¦    +--488,840 B (00.06%) -- tree
¦  ¦    ¦  ¦    +--190,280 B (00.02%) -- dict
¦  ¦    ¦  ¦    +---74,256 B (00.01%) -- base
¦  ¦    ¦  +----467,840 B (00.05%) -- scripts
¦  ¦    ¦  +----188,400 B (00.02%) -- type-objects
¦  ¦    ¦  +-----85,248 B (00.01%) -- strings
¦  ¦    +--1,084,736 B (00.13%) -- script-data
¦  ¦    +----540,864 B (00.06%) -- shapes-extra
¦  ¦    ¦    +--322,240 B (00.04%) -- tree-tables
¦  ¦    ¦    +---90,784 B (00.01%) -- tree-shape-kids
¦  ¦    ¦    +---80,480 B (00.01%) -- dict-tables
¦  ¦    ¦    +---47,360 B (00.01%) -- compartment-tables
¦  ¦    +----309,264 B (00.04%) -- type-inference
¦  ¦    ¦    +--232,224 B (00.03%) -- object-main
¦  ¦    ¦    +---67,888 B (00.01%) -- tables
¦  ¦    ¦    +----9,152 B (00.00%) -- script-main
¦  ¦    +----160,992 B (00.02%) -- analysis-temporary
¦  ¦    +----153,472 B (00.02%) -- objects/slots
¦  ¦    +-----17,712 B (00.00%) -- string-chars
¦  ¦    +-----10,032 B (00.00%) -- other-sundries
¦  +----5,365,936 B (00.62%) -- compartment(https://www.google.com/search?q=js+speed+test&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:unofficial&client=firefox-nightly&channel=fflb)
¦  ¦    +--2,871,296 B (00.33%) -- gc-heap
¦  ¦    ¦  +----862,064 B (00.10%) -- objects
¦  ¦    ¦  ¦    +--537,952 B (00.06%) -- function [2]
¦  ¦    ¦  ¦    +--324,112 B (00.04%) -- non-function
¦  ¦    ¦  +----695,952 B (00.08%) -- arena
¦  ¦    ¦  ¦    +--651,128 B (00.08%) -- unused [3]
¦  ¦    ¦  ¦    +---23,832 B (00.00%) -- padding
¦  ¦    ¦  ¦    +---20,992 B (00.00%) -- headers
¦  ¦    ¦  +----579,160 B (00.07%) -- shapes
¦  ¦    ¦  ¦    +--256,960 B (00.03%) -- tree [2]
¦  ¦    ¦  ¦    +--247,720 B (00.03%) -- dict [2]
¦  ¦    ¦  ¦    +---74,480 B (00.01%) -- base [2]
¦  ¦    ¦  +----502,560 B (00.06%) -- scripts
¦  ¦    ¦  +----186,144 B (00.02%) -- type-objects
¦  ¦    ¦  +-----33,416 B (00.00%) -- sundries [2]
¦  ¦    ¦  +-----12,000 B (00.00%) -- strings
¦  ¦    +--1,349,392 B (00.16%) -- script-data
¦  ¦    +----420,608 B (00.05%) -- shapes-extra
¦  ¦    ¦    +--202,304 B (00.02%) -- tree-tables
¦  ¦    ¦    +--109,216 B (00.01%) -- dict-tables [2]
¦  ¦    ¦    +---62,464 B (00.01%) -- compartment-tables [2]
¦  ¦    ¦    +---46,624 B (00.01%) -- tree-shape-kids
¦  ¦    +----299,296 B (00.03%) -- type-inference
¦  ¦    ¦    +--138,688 B (00.02%) -- object-main
¦  ¦    ¦    +--119,584 B (00.01%) -- script-main
¦  ¦    ¦    +---41,024 B (00.00%) -- tables
¦  ¦    +----254,016 B (00.03%) -- analysis-temporary [2]
¦  ¦    +----136,368 B (00.02%) -- objects
¦  ¦    ¦    +--126,848 B (00.01%) -- slots
¦  ¦    ¦    +----9,520 B (00.00%) -- elements
¦  ¦    +-----34,960 B (00.00%) -- other-sundries [3]
¦  +----4,603,904 B (00.53%) -- gc-heap-chunk-admin
¦  +----4,074,168 B (00.47%) -- compartment(http://www.fabulant.com/downloadcenter/benchjs/testreplaceimages.html, file:///C:/Users/Silver/AppData/Roaming/Mozilla/Firefox/Profiles/w39pl9op.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js)
¦  ¦    +--2,514,944 B (00.29%) -- gc-heap
¦  ¦    ¦  +--1,386,224 B (00.16%) -- objects
¦  ¦    ¦  ¦  +----735,120 B (00.09%) -- non-function
¦  ¦    ¦  ¦  +----651,104 B (00.08%) -- function [2]
¦  ¦    ¦  +----966,728 B (00.11%) -- shapes
¦  ¦    ¦  ¦    +--550,088 B (00.06%) -- base
¦  ¦    ¦  ¦    +--416,640 B (00.05%) -- tree [2]
¦  ¦    ¦  +----140,840 B (00.02%) -- arena
¦  ¦    ¦  ¦    +--104,592 B (00.01%) -- unused [2]
¦  ¦    ¦  ¦    +---18,880 B (00.00%) -- headers
¦  ¦    ¦  ¦    +---17,368 B (00.00%) -- padding
¦  ¦    ¦  +-----21,152 B (00.00%) -- sundries [2]
¦  ¦    +----822,592 B (00.10%) -- shapes-extra
¦  ¦    ¦    +--690,176 B (00.08%) -- compartment-tables [2]
¦  ¦    ¦    +--132,416 B (00.02%) -- tree-shape-kids
¦  ¦    +----589,824 B (00.07%) -- cross-compartment-wrappers [2]
¦  ¦    +----131,072 B (00.02%) -- analysis-temporary
¦  ¦    +-----15,736 B (00.00%) -- other-sundries [2]
¦  +----3,589,256 B (00.42%) -- compartment(http://www.fabulant.com/downloadcenter/benchjs/benchjs.html)
¦  ¦    +--2,203,648 B (00.26%) -- gc-heap
¦  ¦    ¦  +----933,120 B (00.11%) -- shapes
¦  ¦    ¦  ¦    +--333,960 B (00.04%) -- tree [5]
¦  ¦    ¦  ¦    +--316,920 B (00.04%) -- dict [5]
¦  ¦    ¦  ¦    +--282,240 B (00.03%) -- base [5]
¦  ¦    ¦  +----760,080 B (00.09%) -- objects
¦  ¦    ¦  ¦    +--502,960 B (00.06%) -- non-function [2]
¦  ¦    ¦  ¦    +--257,120 B (00.03%) -- function [5]
¦  ¦    ¦  +----290,480 B (00.03%) -- arena
¦  ¦    ¦  ¦    +--280,656 B (00.03%) -- unused [5]
¦  ¦    ¦  ¦    +----9,824 B (00.00%) -- headers
¦  ¦    ¦  +----153,824 B (00.02%) -- strings
¦  ¦    ¦  +-----66,144 B (00.01%) -- sundries [5]
¦  ¦    +----691,552 B (00.08%) -- shapes-extra
¦  ¦    ¦    +--410,624 B (00.05%) -- compartment-tables [5]
¦  ¦    ¦    +--151,776 B (00.02%) -- dict-tables [5]
¦  ¦    ¦    +--129,152 B (00.01%) -- tree-tables
¦  ¦    +----396,512 B (00.05%) -- analysis-temporary [3]
¦  ¦    +----131,072 B (00.02%) -- string-chars
¦  ¦    +-----67,520 B (00.01%) -- objects/slots [5]
¦  ¦    +-----45,456 B (00.01%) -- script-data [2]
¦  ¦    +-----45,096 B (00.01%) -- other-sundries [5]
¦  ¦    +------8,400 B (00.00%) -- type-inference/script-main
¦  +----1,048,576 B (00.12%) -- gc-heap-chunk-clean-unused
¦  +------825,080 B (00.10%) -- compartment(http://www.fabulant.com/downloadcenter/benchjs/testreplaceimages.html)
¦  ¦      +--462,848 B (00.05%) -- gc-heap
¦  ¦      ¦  +--252,992 B (00.03%) -- objects
¦  ¦      ¦  ¦  +--184,032 B (00.02%) -- non-function
¦  ¦      ¦  ¦  +---68,960 B (00.01%) -- function
¦  ¦      ¦  +--133,208 B (00.02%) -- shapes
¦  ¦      ¦  ¦  +---83,640 B (00.01%) -- dict
¦  ¦      ¦  ¦  +---30,688 B (00.00%) -- base
¦  ¦      ¦  ¦  +---18,880 B (00.00%) -- tree
¦  ¦      ¦  +---64,816 B (00.01%) -- arena/unused
¦  ¦      ¦  +---11,832 B (00.00%) -- sundries
¦  ¦      +--135,168 B (00.02%) -- analysis-temporary
¦  ¦      +--131,072 B (00.02%) -- string-chars
¦  ¦      +---65,824 B (00.01%) -- shapes-extra
¦  ¦      ¦   +--39,968 B (00.00%) -- dict-tables
¦  ¦      ¦   +--25,856 B (00.00%) -- compartment-tables
¦  ¦      +---17,088 B (00.00%) -- objects/slots
¦  ¦      +---13,080 B (00.00%) -- other-sundries
¦  +------708,608 B (00.08%) -- gc-heap-decommitted
¦  +------678,380 B (00.08%) -- compartment(http://www.fabulant.com/downloadcenter/benchjs/control.html, file:///C:/Users/Silver/AppData/Roaming/Mozilla/Firefox/Profiles/w39pl9op.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js)
¦  ¦      +--421,888 B (00.05%) -- gc-heap
¦  ¦      ¦  +--168,128 B (00.02%) -- objects
¦  ¦      ¦  ¦  +---90,464 B (00.01%) -- function [2]
¦  ¦      ¦  ¦  +---77,664 B (00.01%) -- non-function
¦  ¦      ¦  +--115,296 B (00.01%) -- shapes
¦  ¦      ¦  ¦  +---62,040 B (00.01%) -- tree [2]
¦  ¦      ¦  ¦  +---53,256 B (00.01%) -- base
¦  ¦      ¦  +--106,696 B (00.01%) -- arena/unused [2]
¦  ¦      ¦  +---31,768 B (00.00%) -- sundries [2]
¦  ¦      +--131,072 B (00.02%) -- analysis-temporary
¦  ¦      +---77,120 B (00.01%) -- shapes-extra
¦  ¦      ¦   +--67,584 B (00.01%) -- compartment-tables [2]
¦  ¦      ¦   +---9,536 B (00.00%) -- tree-shape-kids
¦  ¦      +---24,576 B (00.00%) -- cross-compartment-wrappers
¦  ¦      +---23,724 B (00.00%) -- other-sundries [2]
¦  +------474,568 B (00.06%) -- compartment(about:home)
¦  ¦      +--258,048 B (00.03%) -- gc-heap
¦  ¦      ¦  +--115,864 B (00.01%) -- shapes
¦  ¦      ¦  ¦  +---72,000 B (00.01%) -- dict
¦  ¦      ¦  ¦  +---28,784 B (00.00%) -- base
¦  ¦      ¦  ¦  +---15,080 B (00.00%) -- tree
¦  ¦      ¦  +---73,544 B (00.01%) -- arena/unused
¦  ¦      ¦  +---56,288 B (00.01%) -- objects/function
¦  ¦      ¦  +---12,352 B (00.00%) -- sundries
¦  ¦      +--130,752 B (00.02%) -- analysis-temporary
¦  ¦      +---59,424 B (00.01%) -- shapes-extra
¦  ¦      ¦   +--34,080 B (00.00%) -- dict-tables
¦  ¦      ¦   +--25,344 B (00.00%) -- compartment-tables
¦  ¦      +---14,400 B (00.00%) -- objects/slots
¦  ¦      +---11,944 B (00.00%) -- other-sundries
¦  +------350,996 B (00.04%) -- compartment(http://www.fabulant.com/downloadcenter/benchjs/benchjs.html, file:///C:/Users/Silver/AppData/Roaming/Mozilla/Firefox/Profiles/w39pl9op.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js)
¦  ¦      +--176,128 B (00.02%) -- gc-heap
¦  ¦      ¦  +---88,824 B (00.01%) -- arena/unused [2]
¦  ¦      ¦  +---33,416 B (00.00%) -- sundries [2]
¦  ¦      ¦  +---27,360 B (00.00%) -- shapes/tree [2]
¦  ¦      ¦  +---26,528 B (00.00%) -- objects/function [2]
¦  ¦      +--131,072 B (00.02%) -- analysis-temporary
¦  ¦      +---32,532 B (00.00%) -- other-sundries [2]
¦  ¦      +---11,264 B (00.00%) -- shapes-extra/compartment-tables
¦  +------250,664 B (00.03%) -- compartment(https://www.google.com/search?q=js+speed+test&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:unofficial&client=firefox-nightly&channel=fflb, file:///C:/Users/Silver/AppData/Roaming/Mozilla/Firefox/Profiles/w39pl9op.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js)
¦  ¦      +--102,400 B (00.01%) -- gc-heap
¦  ¦      ¦  +---64,288 B (00.01%) -- arena/unused
¦  ¦      ¦  +---14,280 B (00.00%) -- sundries
¦  ¦      ¦  +---12,512 B (00.00%) -- objects/function
¦  ¦      ¦  +---11,320 B (00.00%) -- shapes/tree
¦  ¦      +---91,136 B (00.01%) -- shapes-extra/compartment-tables
¦  ¦      +---49,152 B (00.01%) -- cross-compartment-wrappers
¦  ¦      +----7,976 B (00.00%) -- other-sundries
¦  +------131,880 B (00.02%) -- compartment(http://www.greensock.com/js/speed.html, file:///C:/Users/Silver/AppData/Roaming/Mozilla/Firefox/Profiles/w39pl9op.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js)
¦  ¦      +---98,304 B (00.01%) -- gc-heap
¦  ¦      ¦   +--60,248 B (00.01%) -- arena/unused
¦  ¦      ¦   +--14,224 B (00.00%) -- sundries
¦  ¦      ¦   +--12,512 B (00.00%) -- objects/function
¦  ¦      ¦   +--11,320 B (00.00%) -- shapes/tree
¦  ¦      +---17,408 B (00.00%) -- shapes-extra/compartment-tables
¦  ¦      +----8,192 B (00.00%) -- cross-compartment-wrappers
¦  ¦      +----7,976 B (00.00%) -- other-sundries
¦  +------102,824 B (00.01%) -- compartment(https://www.google.com/compressiontest/gzip.html, file:///C:/Users/Silver/AppData/Roaming/Mozilla/Firefox/Profiles/w39pl9op.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js)
¦  ¦      +---86,016 B (00.01%) -- gc-heap
¦  ¦      ¦   +--48,240 B (00.01%) -- arena/unused
¦  ¦      ¦   +--13,984 B (00.00%) -- sundries
¦  ¦      ¦   +--12,512 B (00.00%) -- objects/function
¦  ¦      ¦   +--11,280 B (00.00%) -- shapes/tree
¦  ¦      +---16,808 B (00.00%) -- other-sundries
¦  +-------66,768 B (00.01%) -- compartment([System Principal], jar:file:///D:/Program%20Files/Nightly/extensions/uriloader@pdf.js.xpi!/bootstrap.js)
¦  ¦       +--53,248 B (00.01%) -- gc-heap
¦  ¦       ¦  +--35,488 B (00.00%) -- arena/unused
¦  ¦       ¦  +--17,760 B (00.00%) -- sundries
¦  ¦       +--13,520 B (00.00%) -- other-sundries
¦  +-------42,008 B (00.00%) -- compartment(moz-nullprincipal:{be8c7772-9581-4f43-a4c9-f3c3273e490f})
¦          +--36,864 B (00.00%) -- gc-heap
¦          ¦  +--29,800 B (00.00%) -- arena/unused
¦          ¦  +---7,064 B (00.00%) -- sundries
¦          +---5,144 B (00.00%) -- other-sundries
+--179,268,732 B (20.81%) -- heap-unclassified
+---28,940,930 B (03.36%) -- network-memory-cache
+---14,047,340 B (01.63%) -- window-objects
¦   +---8,208,116 B (00.95%) -- top(http://www.fabulant.com/downloadcenter/benchjs/benchjs.html, id=24)/active
¦   ¦   +--3,850,558 B (00.45%) -- window(http://www.fabulant.com/downloadcenter/benchjs/testreplaceimages.html)
¦   ¦   ¦  +--3,046,816 B (00.35%) -- layout
¦   ¦   ¦  ¦  +--2,043,776 B (00.24%) -- style-sets
¦   ¦   ¦  ¦  +----932,336 B (00.11%) -- arenas
¦   ¦   ¦  ¦  +-----66,800 B (00.01%) -- pres-contexts
¦   ¦   ¦  ¦  +------3,904 B (00.00%) -- text-runs
¦   ¦   ¦  +----803,742 B (00.09%) -- dom [2]
¦   ¦   +--2,284,406 B (00.27%) -- window(http://www.fabulant.com/downloadcenter/benchjs/control.html)
¦   ¦   ¦  +--2,197,408 B (00.26%) -- layout
¦   ¦   ¦  ¦  +--2,043,776 B (00.24%) -- style-sets
¦   ¦   ¦  ¦  +----140,784 B (00.02%) -- arenas
¦   ¦   ¦  ¦  +------9,536 B (00.00%) -- text-runs
¦   ¦   ¦  ¦  +------3,312 B (00.00%) -- pres-contexts
¦   ¦   ¦  +-----86,998 B (00.01%) -- dom [2]
¦   ¦   +--2,073,152 B (00.24%) -- window(http://www.fabulant.com/downloadcenter/benchjs/benchjs.html)
¦   ¦      +--2,060,528 B (00.24%) -- layout
¦   ¦      ¦  +--2,043,776 B (00.24%) -- style-sets
¦   ¦      ¦  +-----14,832 B (00.00%) -- arenas
¦   ¦      ¦  +------1,664 B (00.00%) -- pres-contexts
¦   ¦      ¦  +--------256 B (00.00%) -- text-runs
¦   ¦      +-----12,624 B (00.00%) -- dom [3]
¦   +---2,322,480 B (00.27%) -- top(chrome://browser/content/browser.xul, id=1)/active
¦   ¦   +--2,308,272 B (00.27%) -- window(chrome://browser/content/browser.xul)
¦   ¦   ¦  +--1,158,928 B (00.13%) -- layout
¦   ¦   ¦  ¦  +----736,752 B (00.09%) -- arenas
¦   ¦   ¦  ¦  +----382,784 B (00.04%) -- style-sets
¦   ¦   ¦  ¦  +-----39,184 B (00.00%) -- pres-contexts
¦   ¦   ¦  ¦  +--------208 B (00.00%) -- text-runs
¦   ¦   ¦  +----791,256 B (00.09%) -- style-sheets
¦   ¦   ¦  +----358,088 B (00.04%) -- dom [2]
¦   ¦   +-----14,208 B (00.00%) -- window(about:blank)/dom [6]
¦   +---2,168,080 B (00.25%) -- top(http://www.greensock.com/js/speed.html, id=32)/active/window(http://www.greensock.com/js/speed.html)
¦   ¦   +--2,109,424 B (00.24%) -- layout
¦   ¦   ¦  +--1,987,968 B (00.23%) -- style-sets
¦   ¦   ¦  +----118,256 B (00.01%) -- arenas
¦   ¦   ¦  +------3,200 B (00.00%) -- pres-contexts
¦   ¦   +-----53,504 B (00.01%) -- dom [2]
¦   ¦   +------5,152 B (00.00%) -- style-sheets
¦   +---1,129,704 B (00.13%) -- top(about:memory?verbose, id=1199)/active/window(about:memory?verbose)
¦   ¦   +--1,101,424 B (00.13%) -- layout
¦   ¦   ¦  +----931,312 B (00.11%) -- arenas
¦   ¦   ¦  +----152,176 B (00.02%) -- style-sets
¦   ¦   ¦  +-----17,936 B (00.00%) -- pres-contexts
¦   ¦   +-----16,984 B (00.00%) -- style-sheets
¦   ¦   +-----11,296 B (00.00%) -- dom [2]
¦   +-----208,720 B (00.02%) -- top(resource://gre-resources/hiddenWindow.html, id=3)/active/window(resource://gre-resources/hiddenWindow.html)
¦   ¦     +--203,264 B (00.02%) -- layout
¦   ¦     ¦  +--152,000 B (00.02%) -- style-sets
¦   ¦     ¦  +---49,648 B (00.01%) -- arenas
¦   ¦     ¦  +----1,616 B (00.00%) -- pres-contexts
¦   ¦     +----5,456 B (00.00%) -- dom [2]
¦   +------10,240 B (00.00%) -- top(none)/detached
¦          +---4,096 B (00.00%) -- window(https://www.google.com/search?q=js+speed+test&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:unofficial&client=firefox-nightly&channel=fflb)/dom [4]
¦          +---2,048 B (00.00%) -- window(http://www.fabulant.com/downloadcenter/benchjs/control.html)/dom [2]
¦          +---2,048 B (00.00%) -- window(http://www.fabulant.com/downloadcenter/benchjs/testreplaceimages.html)/dom [2]
¦          +---2,048 B (00.00%) -- window([system])/dom [2]
+----6,228,560 B (00.72%) -- storage
¦    +--4,815,360 B (00.56%) -- sqlite
¦    ¦  +--1,379,712 B (00.16%) -- places.sqlite
¦    ¦  ¦  +--1,159,752 B (00.13%) -- cache-used [4]
¦    ¦  ¦  +----128,032 B (00.01%) -- stmt-used [4]
¦    ¦  ¦  +-----91,928 B (00.01%) -- schema-used [4]
¦    ¦  +--1,285,952 B (00.15%) -- other
¦    ¦  +----452,048 B (00.05%) -- extensions.sqlite
¦    ¦  ¦    +--363,792 B (00.04%) -- cache-used
¦    ¦  ¦    +---75,904 B (00.01%) -- stmt-used
¦    ¦  ¦    +---12,352 B (00.00%) -- schema-used
¦    ¦  +----303,168 B (00.04%) -- addons.sqlite
¦    ¦  ¦    +--264,792 B (00.03%) -- cache-used
¦    ¦  ¦    +---28,192 B (00.00%) -- stmt-used
¦    ¦  ¦    +---10,184 B (00.00%) -- schema-used
¦    ¦  +----290,056 B (00.03%) -- chromeappsstore.sqlite
¦    ¦  ¦    +--265,584 B (00.03%) -- cache-used
¦    ¦  ¦    +---17,600 B (00.00%) -- stmt-used
¦    ¦  ¦    +----6,872 B (00.00%) -- schema-used
¦    ¦  +----256,912 B (00.03%) -- webappsstore.sqlite
¦    ¦  ¦    +--232,584 B (00.03%) -- cache-used
¦    ¦  ¦    +---17,456 B (00.00%) -- stmt-used
¦    ¦  ¦    +----6,872 B (00.00%) -- schema-used
¦    ¦  +----200,472 B (00.02%) -- urlclassifier3.sqlite
¦    ¦  ¦    +--129,328 B (00.02%) -- stmt-used
¦    ¦  ¦    +---66,792 B (00.01%) -- cache-used
¦    ¦  ¦    +----4,352 B (00.00%) -- schema-used
¦    ¦  +----147,496 B (00.02%) -- content-prefs.sqlite
¦    ¦  ¦    +--132,792 B (00.02%) -- cache-used
¦    ¦  ¦    +---10,560 B (00.00%) -- stmt-used
¦    ¦  ¦    +----4,144 B (00.00%) -- schema-used
¦    ¦  +----143,104 B (00.02%) -- signons.sqlite
¦    ¦  ¦    +--132,792 B (00.02%) -- cache-used
¦    ¦  ¦    +----5,544 B (00.00%) -- schema-used
¦    ¦  ¦    +----4,768 B (00.00%) -- stmt-used
¦    ¦  +----136,040 B (00.02%) -- cookies.sqlite
¦    ¦  ¦    +--132,792 B (00.02%) -- cache-used
¦    ¦  ¦    +----3,248 B (00.00%) -- schema-used
¦    ¦  ¦    +--------0 B (00.00%) -- stmt-used
¦    ¦  +----110,640 B (00.01%) -- downloads.sqlite
¦    ¦  ¦    +---99,792 B (00.01%) -- cache-used
¦    ¦  ¦    +----7,696 B (00.00%) -- stmt-used
¦    ¦  ¦    +----3,152 B (00.00%) -- schema-used
¦    ¦  +----109,760 B (00.01%) -- permissions.sqlite
¦    ¦       +---99,792 B (00.01%) -- cache-used
¦    ¦       +----7,856 B (00.00%) -- stmt-used
¦    ¦       +----2,112 B (00.00%) -- schema-used
¦    +--1,413,200 B (00.16%) -- prefixset/all
+----2,385,760 B (00.28%) -- atom-table
+----1,924,288 B (00.22%) -- gfx
¦    +--1,485,424 B (00.17%) -- font-shaped-words
¦    +----290,656 B (00.03%) -- font-list
¦    +-----85,456 B (00.01%) -- font-cache
¦    +-----62,752 B (00.01%) -- font-charmaps
+----1,323,056 B (00.15%) -- xpti-working-set
+------991,517 B (00.12%) -- startup-cache
¦      +--990,877 B (00.12%) -- mapping
¦      +------640 B (00.00%) -- data
+------697,024 B (00.08%) -- images
¦      +--573,424 B (00.07%) -- chrome
¦      ¦  +--396,952 B (00.05%) -- used
¦      ¦  ¦  +--396,952 B (00.05%) -- uncompressed-heap
¦      ¦  ¦  +--------0 B (00.00%) -- raw
¦      ¦  ¦  +--------0 B (00.00%) -- uncompressed-nonheap
¦      ¦  +--176,472 B (00.02%) -- unused
¦      ¦     +--176,472 B (00.02%) -- uncompressed-heap
¦      ¦     +--------0 B (00.00%) -- raw
¦      ¦     +--------0 B (00.00%) -- uncompressed-nonheap
¦      +--123,600 B (00.01%) -- content
¦         +--119,504 B (00.01%) -- used
¦         ¦  +---74,688 B (00.01%) -- raw
¦         ¦  +---44,816 B (00.01%) -- uncompressed-heap
¦         ¦  +--------0 B (00.00%) -- uncompressed-nonheap
¦         +----4,096 B (00.00%) -- unused
¦              +--4,096 B (00.00%) -- raw
¦              +------0 B (00.00%) -- uncompressed-heap
¦              +------0 B (00.00%) -- uncompressed-nonheap
+------352,152 B (00.04%) -- layout/style-sheet-cache
+------110,592 B (00.01%) -- cycle-collector
+-------15,360 B (00.00%) -- history-links-hashtable
+------------0 B (00.00%) -- spell-check

Other Measurements
      921,600 B -- canvas-2d-pixel-bytes
  861,342,891 B -- explicit
      488,652 B -- gfx-d2d-surfacecache
    7,643,560 B -- gfx-d2d-surfacevram
      630,788 B -- gfx-surface-image
              0 -- ghost-windows
  563,795,498 B -- heap-allocated
  583,864,320 B -- heap-committed
          3.55% -- heap-committed-unused-ratio
      450,560 B -- heap-dirty
   24,450,452 B -- heap-unused
       44,816 B -- images-content-used-uncompressed
            184 -- js-compartments-system
             21 -- js-compartments-user
  295,698,432 B -- js-gc-heap
    9,861,408 B -- js-main-runtime-analysis-temporary
  255,329,800 B -- js-main-runtime-gc-heap-allocated
   24,795,640 B -- js-main-runtime-gc-heap-arena-unused
    1,048,576 B -- js-main-runtime-gc-heap-chunk-clean-unused
   13,815,808 B -- js-main-runtime-gc-heap-chunk-dirty-unused
  294,989,824 B -- js-main-runtime-gc-heap-committed
   39,660,024 B -- js-main-runtime-gc-heap-committed-unused
         15.53% -- js-main-runtime-gc-heap-committed-unused-ratio
      708,608 B -- js-main-runtime-gc-heap-decommitted
      842,744 B -- js-main-runtime-mjit
   90,059,504 B -- js-main-runtime-objects
    8,513,608 B -- js-main-runtime-scripts
  129,167,688 B -- js-main-runtime-shapes
  188,133,792 B -- js-main-runtime-strings
   16,976,640 B -- js-main-runtime-type-inference
  924,413,952 B -- private
  972,255,232 B -- resident
    4,815,360 B -- storage-sqlite
1,259,528,192 B -- vsize
    1,356,156 B -- window-objects-dom
    2,923,920 B -- window-objects-layout-arenas
      133,712 B -- window-objects-layout-pres-contexts
    8,806,256 B -- window-objects-layout-style-sets
       13,904 B -- window-objects-layout-text-runs
      813,392 B -- window-objects-style-sheets
nightly build as of 5/12/2012
Thanks Notlost. Can you check if this is any better or worse in Firefox 14 (aurora) and 13 (beta)?
Component: Untriaged → General
QA Contact: untriaged → general
Whiteboard: [MemShrink]
Hardware: x86 → x86_64
In aurora I see the memory jumping as in nightly but it gets reset. It went from 188k to about 210k then looped for the duration of the test, which was faster too. 

The beta didn't install correctly, probably due to me having firefox 3 installed, but in firefox 3 about the same behavior was exhibited, with a cycle, but this time it increased at about 1mb/cycle with each cycle taking around 3 seconds.
Just tried the Nightly and I get 6.048s on test#3. Granted I am running in a VM and I selected "Hardware is new", I would expect this to take longer given your original post in this bug.

Could you please provide your system specifications?
Specs:

3.2ghz 6-core cpu
ati radeon hd 5870
windows 7 x64
nightly x64 build 5-25-2012 (? where do I find the #?)
Hmm...given those specs, only thing I could think of is if your 2D video driver comes into play. Can you go to Help > Troubleshooting Information and paste your Graphics section of the page in this bug?
Graphics

Adapter Description: ATI Radeon HD 5800 Series
Vendor ID: 0x1002
Device ID: 0x6898
Adapter RAM: 2048
Adapter Drivers: aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
Driver Version: 8.961.0.0
Driver Date: 4-5-2012
Direct2D Enabled: true
DirectWrite Enabled: true (6.1.7601.17789)
ClearType Parameters: Gamma: 2200 Pixel Structure: RGB 
ClearType Level: 100 Enhanced Contrast: 50 
WebGL Renderer: Google Inc. -- ANGLE (ATI Radeon HD 5800 Series) -- OpenGL ES 2.0 (ANGLE 1.0.0.1041)
GPU Accelerated: Windows1/1 Direct3D 10
AzureBackend: direct2d

(Manually formatted from a pasted block)
It could be a driver issue, but there is absolutely no stress on my GPU when running the test. Less stress than if I scroll down in a page.
(In reply to Notlost from comment #9)
> It could be a driver issue, but there is absolutely no stress on my GPU when
> running the test. Less stress than if I scroll down in a page.

Yeah, sorry, I didn't mean to imply that the bug was in your driver, just that it may be a Firefox bug related to your driver.

Can you go to Tools > Options > Advanced > General > Browsing and check what your autoscrolling, smooth scrolling, and hardware acceleration settings are? Try changing these settings and see if it changes the results you are seeing.
I have auto, smooth, and HWaccel enabled.
Ok, sorry to waste time. Its a bug in Adblock plus.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
@Notlost, could you please report this bug to the Adblock Plus developer?
https://addons.mozilla.org/en-US/firefox/user/346/
Reported
Let's just use this bug to track the ABP bug.  Wladimir is active on Bugzilla, and that's what we've done in the past for ABP bugs.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: INVALID → ---
Summary: speed test memory leak → speed test memory leak with ABP
Component: General → Add-ons
Product: Firefox → Tech Evangelism
QA Contact: general → addons
Version: 15 Branch → unspecified
Whiteboard: [MemShrink] → [MemShrink:P2]
I don't think that memory usage is the major issue here, at least on Firefox 12 where I tested. Memory grows for me by about 150MB total, dropping back by 50-100MB after relatively short intervals, with AdBlock Plus, and by about 50-75MB total without it, again dropping back by 25-50MB at relatively short intervals.

The performance difference, on the other hand, is dramatic. Especially on older hardware, what takes seconds without ABP takes minutes with it.

Wladimir, do you have any idea why this is happening?
This also occurs on this page, but every 10 seconds or so firefox suttters and memory drops back to normal.

http://people.opera.com/mage/retro/?mode=canvas
I tested this again with all filters disabled and the performance impact seems to be about the same. We really need to see some action on this issue soon, as the impact here is extreme.
Blocks: abp
OS: Windows 7 → All
Hardware: x86_64 → All
Summary: speed test memory leak with ABP → Speed test performance and memory issues with ABP
So, as should surprise nobody, the content policy is what's causing the vast bulk of the speed issue. Since this test deals with 1500 images, milliseconds matter here.

I'm not sure how much real world performance impact this has (how often do sites change out 1500 images in one go?), but there may be some noticeable page load impact on some sites, and I suspect that the the policy checks in Policy.processNode, which are by far the biggest culprit, could be significantly optimized with some effort.
Kris, the speed issue is fixed in the current Adblock Plus development builds - it's a fallout from compartment per global (bug 752200).
Hi Wladimir,

It wouldn't surprise me to find out that CPG caused a performance hit here, but all of my testing was on Firefox 12 & 13 after I confirmed that it was a problem on 15.
while using same filters
FF13 uses 140+mb whereas FF16 uses 220+mb
Tried a new profile same results
That's probably bug 762215.
I suspect that the memory issue here was related to bug 764258, given Wladimir's explanation of the problem. I never saw anything as severe as the reporter, but things seem much improved with the latest ABP release, so I'm removing the MemShrink tag.

The performance issues, however, remain.
Summary: Speed test performance and memory issues with ABP → Speed test performance issues with ABP
Whiteboard: [MemShrink:P2]
Posted file Simplified testcase
Adding simplified testcase based on the originally linked test suite. Simply loops alternating the src attribute of the images in a table and displays the mean time per iteration next to the number o iterations.
(In reply to Wladimir Palant from comment #21)
> Kris, the speed issue is fixed in the current Adblock Plus development
> builds - it's a fallout from compartment per global (bug 752200).
This speed issue is still present.
But it's not only ABP slow down this test, also Adblock Plus Pop-up, Ghostery and Lightbeam.

Tested with Nightly:
TEST 3  7.069 sec. ABP + Adblock Plus Pop-up + Ghostery + Lightbeam disabled
TEST 3 47.663 sec. only ABP enabled
TEST 3 32.295 sec. only Ghostery enabled
TEST 3 25.006 sec  only Lightbeam enabled
TEST 3 14.578 sec. only Adblock Plus Pop-up enabled
TEST 3 94.866 sec. ABP + Adblock Plus Pop-up + Ghostery + Lightbeam enabled
More numbers with Firefox 25:
no addons: TEST 3 6.07 sec.
with Greasemonkey 1.12 (no userscripts loaded): TEST 3 9.258 sec.
with NoScript 2.6.8.5 (site is allowed, otherwise default settings): TEST 3 23.513 sec.
both GM and NS enabled: TEST 3 26.588 sec.
The *extreme* slowdown has been addressed. What's left is the usual content policies overhead plus processing done by Adblock Plus. As Giorgio Maone noted in bug 638235, this is mostly expected - and has no real world relevance whatsoever.
For reference: while there are only 1500 image elements involved, test 3 produced roughly 96,000 content policy requests for me.
Status: REOPENED → RESOLVED
Closed: 7 years ago4 years ago
Resolution: --- → WONTFIX
Component: Add-ons → General
Product: Tech Evangelism → WebExtensions
You need to log in before you can comment on or make changes to this bug.