Browser runs super slowly

139 views
Skip to first unread message

Sudipta Biswas

unread,
Oct 2, 2023, 2:41:13 PM10/2/23
to Chromium-dev
Hi All, 
I am quite new to working with chromium.  When I run the Chromium browser, It's super slow compared to regular Google Chrome. Especially When I stream games, It gets slower. Is it normal or is it because of my PC configuration?  I mean is it supposed to run faster on the powerful machine? 

Also, Can anyone tell me where can I find the main func of the whole source code? 

Thanks in advance.

Reilly Grant

unread,
Oct 2, 2023, 2:48:12 PM10/2/23
to sudip...@gmail.com, Chromium-dev
On Mon, Oct 2, 2023 at 11:41 AM Sudipta Biswas <sudip...@gmail.com> wrote:
Hi All, 
I am quite new to working with chromium.  When I run the Chromium browser, It's super slow compared to regular Google Chrome. Especially When I stream games, It gets slower. Is it normal or is it because of my PC configuration?  I mean is it supposed to run faster on the powerful machine? 

Your local build may be compiled with debug checks enabled or without profile-guided optimizations. Make sure to set is_official_build = true in your GN configuration to turn on all optimizations.
 
Also, Can anyone tell me where can I find the main func of the whole source code? 

 
Thanks in advance.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/2e1cb902-0eff-4e34-ad6a-e32f0bb204dbn%40chromium.org.

Sudipta Biswas

unread,
Oct 2, 2023, 2:49:44 PM10/2/23
to Reilly Grant, Chromium-dev
Thank you so much, Reilly!
--
Best Regards,
Sudipta Biswas
Software Engineer
V2 Technologies Ltd.

House 40/A, Road 20, Mohakhali DOHS,
Dhaka 1216

Sudipta Biswas

unread,
Oct 5, 2023, 2:17:00 AM10/5/23
to Reilly Grant, Chromium-dev
In the main(chrome_main.cc) file I am trying to put some code that looks like the below : 
I added the marked part. I want to open a file and write something whenever the application starts! But it is not working. I cannot see any file names output.txt in the same directory. Can anyone help?
5a99776c-4434-446c-bf81-88e4db87355b.png

Asesh Shrestha

unread,
Oct 5, 2023, 3:40:17 AM10/5/23
to Chromium-dev, Sudipta Biswas, Chromium-dev, Reilly Grant
Looks like you are using Windows. It will try to create that file in the current directory, why not check what is the current director using GetCurrentDirectory API. If it's the directory where the exe resides then creating that file should fail because Chromium by default runs with standard user privilege, to write into program files folder, you need admin privilege.
Reply all
Reply to author
Forward
0 new messages