Re: Horrible compiletimes and memory usage while compiling a parser with X3

Mike Gresens <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
Joel de Guzman wrote
> On 26/10/2016 5:54 AM, Seth wrote:
> I tried the stackoverflow code. It's compiling here (2015 Macbook pro i7
> 16GB) in under
> a few seconds. It didn't even hit memory that hard. What are you guys
> getting and
> what compiler/platform?

Hi Joel,

here are my measurements for the stackoverflow code:

Ubuntu 16.10 on i7-6900K with 32GB

1) g++ (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005

1a) ftemplate-depth=256

fatal error: template instantiation depth exceeds maximum of 256 (use
-ftemplate-depth= to increase the maximum)
1b) ftemplate-depth=512

18s and 1.0GB
2) clang version 3.8.1-12ubuntu1 (tags/RELEASE_381/final)

25s and 0.5GB

Best regards,
Mike...



--
View this message in context: http://boost.2283326.n4.nabble.com/Horrible-compiletimes-and-memory-usage-while-compiling-a-parser-with-X3-tp4689104p4689561.html
Sent from the spirit-general mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.