Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.os.linux.development.apps > #842
| Newsgroups | comp.os.linux.development.apps |
|---|---|
| Date | 2017-03-01 17:29 -0800 |
| References | <9e7e5a19-9122-4b1a-9532-d938bb192a4d@googlegroups.com> <o96rbm$ka7$1@gioia.aioe.org> |
| Message-ID | <674501a8-95b3-4f90-a08a-595b23c4a841@googlegroups.com> (permalink) |
| Subject | Re: g++ spent lots of user time |
| From | wij@totalbb.net.tw |
On Thursday, March 2, 2017 at 12:03:07 AM UTC+8, Johann Klammer wrote: > 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. I don't use STL, and even the standard library. But I do start learning another language instead following C++'s many new things, making codes difficult to comprehend and maintain.
Back to comp.os.linux.development.apps | Previous | Next — Previous 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