[SOLVED] libcef takes much longer to build on Windows

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

[SOLVED] libcef takes much longer to build on Windows

Postby romariorios » Wed Aug 31, 2016 6:48 pm

For a project of mine, I have to build libcef myself. One thing I noticed is that rebuilding it takes much longer on Windows than on Linux, even if just one file was touched. I didn't time it, but I believe just linking takes over an hour, whereas the same process on Linux takes two minutes at most.

Is this a known problem? What could I do to alleviate it?

Thanks.
Last edited by romariorios on Thu Sep 08, 2016 11:15 am, edited 1 time in total.
romariorios
Mentor
 
Posts: 50
Joined: Thu Apr 30, 2015 6:13 am
Location: Brazil

Re: libcef takes much longer to build on Windows

Postby magreenblatt » Thu Sep 01, 2016 3:11 am

What Windows and CEF version? What are your system specs (processor, memory, drive type)? What configuration are you using? How are you building?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: libcef takes much longer to build on Windows

Postby romariorios » Thu Sep 01, 2016 10:31 pm

magreenblatt wrote:What Windows and CEF version? What are your system specs (processor, memory, drive type)? What configuration are you using? How are you building?

Windows 10, CEF 2623. AMD FX-6300 3.5 GHz, 8 GB 1333 DDR3 (I think), 500GB HDD, I'm building with the automate-git.py script.
romariorios
Mentor
 
Posts: 50
Joined: Thu Apr 30, 2015 6:13 am
Location: Brazil

Re: libcef takes much longer to build on Windows

Postby magreenblatt » Fri Sep 02, 2016 1:58 am

You might be swapping during the link stage with 8GB of RAM. 16GB could give better results. Check resource usage in Task Manager while building to see where the bottlenecks are.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: libcef takes much longer to build on Windows

Postby Czarek » Fri Sep 02, 2016 2:37 am

CEF always builds much longer on Windows than on Linux. With buildtype=official it builds significantly longer and requires more ram.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: libcef takes much longer to build on Windows

Postby romariorios » Thu Sep 08, 2016 11:14 am

Thanks for the info.
romariorios
Mentor
 
Posts: 50
Joined: Thu Apr 30, 2015 6:13 am
Location: Brazil


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 74 guests

cron