Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRelease Build Slow #4323
Release Build Slow #4323
Comments
|
Ran some tests on several website to see where the slowness may be occurring. Ran several sites with basicly the same results. The Compiled Brave browser is 600% slower than the Released brave browser. The dev tools break it up into 5 categories (hopefully the graphics will transfer here. All categories are slower except system. Just FYI, all tests were on the same computer with Hoping to find that magic compile setting that gives comparable speed. Any ideas? |
|
|
|
Thank you. That worked. The build is fast and the installed went from 554mb to 67 mb. However, it did not take any of my branding changes. I re-ran them and they are in the SRC. But this build seems to ignore them. I was under the impression that Official Build meant only for the Brave employees. Can you give me an idea of what its for and if i can get these benefits and still retain my changes? Thanks in advance. David |
|
Additional info I found helpful. Maybe the next person will as well: From Chromium
In Config.js
Brian is correct - The true performance gain is the official_build=true However, per my question above, it did not retain my branding changes. I rebuilt again without this flag and my branding changes were there. It should be noted that doing an official build rebuilds everything...all 38,000 items. :-) Hopefully there's a way to do the official build and retain the changes. Awaiting your reply :-) David |
|
just repeating the question here since I am stuck on my POC - see details above. Thanks in advance. David |
|
@davidfritsche17 there are guards in the code specifically around Let me know if you are needing an example In the GN files, you'll see it referenced as |
|
Closing as the original ask has been solved and there is no action needed from our side. Please do continue the conversation here |


Description
I am building a POC on Windows to determine what's possible with the code. I was able to build a Release version with some simple branding changes. In general the browser works. I am using 0.63.48 as this is the version on the released Brave Browser.
In some simple testing, my build of this browser is slow. Example:
My question is, are there other build settings I should use to increase the performance of the Built Browser?
I noticed this on the debug build as well, but thought this non-debug build would solve it. Here's some settings I have tried to help do two things:
These are in Config.js:
is_component_build: false, //Chromium indication this is faster performance.
proprietary_codecs: true,
ffmpeg_branding: "Chrome",
enable_nacl: false,
// branding_path_component: "brave",
enable_widevine: true,
target_cpu: this.targetArch, //x64
is_official_build: false,
is_debug: false,
dcheck_always_on: this.buildConfig !== 'Release',
//this.channel,
brave_channel: 'release',
Steps to Reproduce
Actual result:
Browser is slow loading sites.
Expected result:
Brave browser is very fast.
Reproduces how often:
every time. I have done multiple builds. Most were debug builds and these were all slow performing as well. This one is a release build with the same result. Also others were with the current build at the time which I think was 0.66.48
Brave version (brave://version info)
Windows x64
0.63.48
Version/Channel Information:
not sure this applies
Other Additional Information:
settings are the same in both browsers. Disabling for the site being tested had no affect.
Not enabled
Chrome is fast.
Miscellaneous Information: