--
--
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.
Did you check whether your CPU was even fully used in the Skylake case? Perhaps there is a different part that is maxed out, like your SSD, your RAM and so on.
--
Was thinking for parallel compiling the number of cores will cut the time at least in half if not less.Any ideas ?
--
I did prior to this a test with a Skylake 6820HK and the time was better ! it took about 30 min.Same amount of RAM and SSDs, etc
Antivirus: AVG Free ("Identity Protection" of this one may break timers, but I'm not sure.)
The "System and compressed memory" process has some activities, but I don't think RAM is ever eaten up.
I guess it can be different with the selection of build targets, different OS, the version of Visual Studio, and anti-virus software. So here's mine:
OS: Windows
Visual Studio: 2015 (I heard that compiler time is worse that 2013.)
Build targets: ninja -C out/Debug chrome unit_tests
Antivirus: AVG Free ("Identity Protection" of this one may break timers, but I'm not sure.)
Thanks! BTW, what antivirus product do you recommend? I won't pay for one anyway, so only free products.
(P.S. Read your blog. Nice stuff! I don't have a CS degree myself though.)
* Use Chrome to browse. If you get a SafeBrowsing alert in Chrome, take it seriously. If you are super paranoid, set plugins to not run unless you manually launch them and/or install some kind of extension with NoScript-like effects to limit JS, but I find these steps hinder usability too much.
* Be very cautious with links in emails, attached documents, downloaded files, etc. Do not run files from anywhere you're not sure you can trust. Do not open attachments from others unless it's very clear they weren't emailed by a worm.
* Do not let others use your computer while logged in as you. Log them in as a guest or similar.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
==> Can you confirm that a normal (not distributed) build on your most powerful machine takes about half an hour?
I'm interested in this too, at least this will show some reference numbers for others to relate to
==> Can you confirm that a normal (not distributed) build on your most powerful machine takes about half an hour?I'm interested in this too, at least this will show some reference numbers for others to relate to
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
But how long is the non-miracle? :)
A clobbered, clean build, 32 bit, release mode, not official build and whatever is built when you run ninja -C out\Release chrome.Same for debug builds.(On a very powerful machine)Can anyone provide an approximate duration for the mentioned configuration from their recent experiences?
Well, I understand that the incremental component build is very fast, hopefully that will stay this way.
(I am planning on buying a new machine and I want to make sure it will let me build Chromium again (since 2009) and maybe start fixing bugs and not just triaging them :) without being discouraged by extremely slow build times)
In particular, files in Blink seem to take a very long time individually to compile. I don't know why.
I am somewhat curious if our compile times would be noticeably improved if we could run a tool like Include-What-You-Use and trim down extraneous #includes some.
IIRC, back when I had access to two identical machines at work (16 cores / 32 threads at 2.9GHz, 64GB RAM, SSDs), with distributed compilation turned off the Linux machine took around 30 minutes and the Windows machine more than an hour. I don't remember exact numbers, but I do remember that the difference was shockingly large.
--
On Sun, Feb 14, 2016 at 9:45 PM, PhistucK <phis...@gmail.com> wrote:Well, I understand that the incremental component build is very fast, hopefully that will stay this way.Unfortunately even a component build ends up rebuilding most of the project if you resync, even after only a couple hours, so really the only solution is "never sync unless you're prepared to build for hours".
PK
I wonder if it would be possible to just compile the files (i.e. *.cc) I've changed, instead of building the whole Chromium. Unless I'm working on javascript part of Chromium (e.g. userpod), I don't see a need to compile the whole program.
My point is I want to compile those *.cc into *.obj, without getting the files linked to a .exe/.dll/.lib. In this way I can check for syntax errors early (e.g. to check for errors whenever I save a file.
Anyway, I'm trying something different:
ninja -C out\Debug -t targets | grep [target obj file]
Wow... you're able to run VS with Chromium? Splendid! Did you also get the correct include paths?
Anyway, I'm trying something different:
ninja -C out\Debug -t targets | grep [target obj file]
On Mon, Feb 15, 2016 at 10:12 PM, WC Leung <lwc...@gmail.com> wrote:Wow... you're able to run VS with Chromium? Splendid! Did you also get the correct include paths?I don't understand the question. What issue is there with include paths?
Anyway, I'm trying something different:
ninja -C out\Debug -t targets | grep [target obj file]I do not know how to compile individual files with direct ninja invocations on Windows.
PK
--
On Sun, Feb 14, 2016 at 9:29 PM, PhistucK <phis...@gmail.com> wrote:A clobbered, clean build, 32 bit, release mode, not official build and whatever is built when you run ninja -C out\Release chrome.Same for debug builds.(On a very powerful machine)Can anyone provide an approximate duration for the mentioned configuration from their recent experiences?On my home box, which is a 4.5 GHz 4-core (= 8 HT) machine with 16 GB of RAM, building this configuration on Windows takes a couple of hours. It's definitely much worse than when I built this machine (to compile Chrome!) 4 years ago or so.In particular, files in Blink seem to take a very long time individually to compile. I don't know why.
Just tried it with save-commands in Atom. Viola! It works perfectly! Anyway, remember to add the quotation when you try the command, i.e.
ninja -C out\Debug "..\..\base\strings\string16.cc^"
PhistucK: looks like you can try some refactoring tasks, because those do not require a complete build of Chromium. Still not fixing bug though.
BTW, just being curious: Who are the external contributors here? (i.e. non-Google, non-Opera, non-Intel, non-Samsung.)
Let's hope that it's not only PhistucK and me...
On Tuesday, February 16, 2016 at 11:29:39 PM UTC+8, Nico Weber wrote:Run `ninja -C out\Debug obj\base\strings\strings16.obj` to execute the build command that produces strings16.obj, or run `ninja -C out\Debug ..\..\base\strings\string16.cc^` to produce an obj file that has base/strings/string16.cc as input. Look e.g. at tools/vim/ninja.vim for a "compile this file" thingy for vim.(If you want to look at the rsp file for some reason, you can pass `-d keeprsp` to ninja to make it keep the rsp files around after compilations. You can use `ninja -C out\Debug -n -d keeprsp base` to write all rsp files used to build base and do nothing else. But generally you shouldn't have to muck with .rsp files yourself.)
Where do you find this info and what they do ? Good to know them
On Wed, Feb 17, 2016 at 9:54 AM, Nico Weber <tha...@chromium.org> wrote:If you set disable_nacl=1 (gyp) / enable_nacl=false (gn), gyp will run 30% faster and your build will be ~15% faster (iirc)
* If you set fastbuild=1 (gyp) / symbol_level=1 (gn), your build will be faster, but you won't have full debug information
* On OS X, Release builds are noticeably faster than Debug builds (I think on Linux too, but haven't measured there since my Linux box is beefy. Not sure on Windows.)* If you set component=shared_library (gyp) / is_component_build=true (gn), incremental builds will be way way faster (like 10x as fast)