Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.apps > #840
| From | Johann Klammer <klammerj@NOSPAM.a1.net> |
|---|---|
| Newsgroups | comp.os.linux.development.apps |
| Subject | Re: g++ spent lots of user time |
| Date | 2017-03-01 17:18 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <o96rbm$ka7$1@gioia.aioe.org> (permalink) |
| References | <9e7e5a19-9122-4b1a-9532-d938bb192a4d@googlegroups.com> |
On 03/01/2017 03:05 PM, wij@totalbb.net.tw wrote: > Why did the compilation took so long in user time? > > ----------------- > $g++ --version > g++ (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1) > ... > > $time g++ -c -Wall -pthread -fPIC dsmain.cpp > > real 6m10.623s > user 6m8.142s > sys 0m0.099s > That's g++. especially their C++ compiler is awfully slow. Not sure what it is. maybe the parser... those STL headers with all the templates. or their garbage collector. I suspect it's not very good at collecting the garbage... Maybe it is time to look for alternatives.
Back to comp.os.linux.development.apps | Previous | Next — Previous in thread | Next in thread | Find similar
g++ spent lots of user time wij@totalbb.net.tw - 2017-03-01 06:05 -0800
Re: g++ spent lots of user time Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-03-01 09:50 -0500
Re: g++ spent lots of user time wij@totalbb.net.tw - 2017-03-01 17:12 -0800
Re: g++ spent lots of user time Rainer Weikusat <rweikusat@talktalk.net> - 2017-03-02 15:33 +0000
Re: g++ spent lots of user time Johann Klammer <klammerj@NOSPAM.a1.net> - 2017-03-01 17:18 +0100
Re: g++ spent lots of user time wij@totalbb.net.tw - 2017-03-01 17:29 -0800
csiph-web