opera startup and resource utilization
-
saifikhan last edited by
Hi:
Opera on startup takes more than 15 seconds and post UI rendering, the address bar freezes for another 30 seconds with CPU utilization at 100%. The output from pstree shows about 37 (sub)processes if that matters.
The environment details are as follows
-
Debian Bookworm/Sid
-
Linux kernel 6.0.0-2-amd64
-
AMD64 processor
-
Opera 92.0.4561.43
-
No opera add-ons
-
No opera extensions
As a first step i have written a script to start opera. Please see below
/usr/lib/x86_64-linux-gnu/opera/opera \ --change-stack-guard-on-fork=enable \ --utility-sub-type=network.mojom.NetworkService \ --lang=en-US \ --service-sandbox-type=none \ --enable-quic \ --with-feature:address-bar-dropdown-categories=off \ --with-feature:address-bar-dropdown-cities=off \ --with-feature:address-bar-dropdown-unfiltered-full=off \ --with-feature:autoupdater-allow-ipv6=off \ --with-feature:enhanced-address-bar=off \ --with-feature:cashback=off \ --with-feature:cashback-extension-download=off \ --with-feature:easy-files-multiupload=off \ --with-feature:enable-force-dark-from-settings=off \ --with-feature:game-maker-studio-integration=off \ --with-feature:history-onboarding=off \ --with-feature:native-crypto-wallet=off \ --with-feature:opera-account-popup=off \ --with-feature:pinboard=off \ --with-feature:safe-browsing=on \ --with-feature:scrollable-tab-strip=off \ --with-feature:side-profiles=off \ --with-feature:sidebar-autohide=off \ --with-feature:sidebar-site-panel=off \ --with-feature:snap-from-panel=off \ --with-feature:startpage-sync-banner=off \ --with-feature:strict-security-mode=on \ --with-feature:vpn-pro=off \ --with-feature:workspaces-dnd=off \ --with-feature:yat-emoji-addresses=off \ --with-feature:yandex-zen-news=off \ --with-feature:address-bar-dropdown-cities=off \ --with-feature:aliexpress-modal=off \ --with-feature:continue-on-booking=off \ --with-feature:continue-shopping=off \ --with-feature:continue-shopping-2=off \ --with-feature:continue-shopping-5=off \ --with-feature:continue-shopping-structured-partners=off \ --with-feature:feature-remote-disable-updates-testing-flag=off \ --with-feature:feature-remote-updates-testing-flag=off \ --with-feature:game-maker-studio-integration=off \ --with-feature:gaming-api=off \ --with-feature:in-house-autocomplete-send=off \ --with-feature:native-crypto-wallet=off \ --with-feature:partner-dropdown-suggestions-boost=off \ --with-feature:personalized-speeddials=off \ --with-feature:scrollable-tab-strip=off \ --with-feature:sd-suggestions-external=off \ --with-feature:sitecheck-age=off \ --with-feature:startpage-sync-banner-ref=off \ --with-feature:yandex-zen-iframe-scroll=off \ --with-feature:yandex-zen-leads-for-nonsdusers=off \ --with-feature:yandex-zen-lift-up=off \ --with-feature:yandex-zen-news=off \ --with-feature:yandex-zen-news-next=off \ --with-feature:yat-emoji-addresses=off exit 0;
Now opera starts nearly in 1 sec, however post UI rendering the address bar is still frozen for nearly 30 seconds.
I suspect there are some additional components or services being loaded within the UI service framework, which is causing this lag.
Since Opera uses some technology from Chrome, are there any options that can be passed via command-line to the module(s). I am perfectly fine if it disables bookmarks, video playing capabilities etc.
Would be grateful if the more experienced folks share what further optimizations / options are available that can address the 'UI freeze' issue. Any pointers ?
Thanks for your time.
warm regards
Saifi. -
-