Chromium Slow on loading and rendering pages with images

65 views
Skip to first unread message

ziv yankowitz

unread,
Sep 14, 2021, 4:03:35 AM9/14/21
to Chromium-discuss
Hi,

I have built chromium according to the instructions provided on the chromium project site and have it running, however when loading pages with images even with one large image it is much slower to load than chrome itself, i have attempted to configure the following:
--max_old_space_size=8192 --disk-cache-size=209715200 but still no luck.

any help would be appreciated, below are the settings and versions:


Chromium

92.0.4482.0 (Developer Build) (64-bit)
Revision

da8928ac887e2611fbdd71a02eeebb7e89222e3c-refs/heads/master@{#873679}
OS

Windows 10 OS Version 2009 (Build 19042.1165)
JavaScript

V8 9.2.55
User Agent

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4482.0 Safari/537.36
Command Line

"C:\Users\zivy\AppData\Local\Chromium\Application\chrome.exe" --max_old_space_size=8192 --disk-cache-size=209715200 --flag-switches-begin --flag-switches-end --origin-trial-disabled-features=SecurePaymentConfirmation



Torne (Richard Coles)

unread,
Sep 14, 2021, 10:36:39 AM9/14/21
to ziv.ya...@gmail.com, Chromium-discuss
What build options did you set in args.gn? The default build type is intended for development and debugging, so runs slower than actual release builds. You should set `is_debug = false` to get a release build with better performance, and for a "final" build intended for users to use you should also set `is_official_build = true` to get even more optimisations.

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

ziv yankowitz

unread,
Sep 14, 2021, 10:47:16 AM9/14/21
to Chromium-discuss, to...@chromium.org, Chromium-discuss, ziv yankowitz
thanks appreciate the help! below are the parameters:

# Set build arguments here. See `gn help buildargs`.
is_component_build = true
enable_nacl = false
arget_cpu = "x86"
blink_symbol_level = 0
symbol_level = 1

i will add the is_debug=false and try.
any other parameters you can recommend or documentation i should review?

Torne (Richard Coles)

unread,
Sep 14, 2021, 10:52:42 AM9/14/21
to ziv yankowitz, Chromium-discuss
On Tue, 14 Sept 2021 at 10:47, ziv yankowitz <ziv.ya...@gmail.com> wrote:
thanks appreciate the help! below are the parameters:

# Set build arguments here. See `gn help buildargs`.
is_component_build = true

Component builds are slower and only really supported in debug so you will have to remove this.
 
enable_nacl = false
arget_cpu = "x86"
blink_symbol_level = 0
symbol_level = 1

i will add the is_debug=false and try.
any other parameters you can recommend or documentation i should review?

is_official_build=true should give you the same general behaviour/optimisations as releases of Chrome. This can take quite a long time to build, though, so just doing a release build (with is_debug=false) is quicker.
Reply all
Reply to author
Forward
0 new messages