Post 3044353 by jakob@mastodon.gamedev.place
(DIR) More posts by jakob@mastodon.gamedev.place
(DIR) Post #3043102 by aras@mastodon.gamedev.place
2019-01-16T20:22:25Z
0 likes, 0 repeats
I added flame chart profiler output option to Clang, so I could see where exactly time goes while it's compiling. Already found some good stuff! Here's a blog post with info http://aras-p.info/blog/2019/01/16/time-trace-timeline-flame-chart-profiler-for-Clang/
(DIR) Post #3044353 by jakob@mastodon.gamedev.place
2019-01-16T21:11:05Z
0 likes, 0 repeats
@aras Interesting - how do to detect and help Unity's hundreds (perhaps millions by now?) of devs from accidentally committing "bad" (in terms of compile time) files in the future? ensuring a scalable solution for those tens (perhaps hundreds by now?) platforms you support
(DIR) Post #3044752 by aras@mastodon.gamedev.place
2019-01-16T21:21:29Z
0 likes, 0 repeats
@jakob right now we don’t. Could imagine having some tooling that tracks compile times over time/PRs. Not sure if worth it for C++, we plan to write most code in C# going forward...
(DIR) Post #3135380 by silverweed@mastodon.gamedev.place
2019-01-19T09:58:16Z
0 likes, 0 repeats
@aras Oh my god, that looks like a dream come true... I REALLY hope your PR gets merged, it's be soooooo useful for so many people!
(DIR) Post #3188929 by silverweed@mastodon.gamedev.place
2019-01-20T14:54:08Z
0 likes, 0 repeats
@aras I tried to build your branch of LLVM but had to give up due to insufficient device space (RelWithDebInfo eats up more than 40GB, which is more than I have available on my Linux partition). I'll try again with Release build, hopefully that should take significantly less space. (I really hope it does, as it took me ~5 hours before I had to stop the compilation! :D)
(DIR) Post #3207744 by aras@mastodon.gamedev.place
2019-01-21T04:46:45Z
0 likes, 0 repeats
@silverweed hmm weird. For me it compiles in 20-30 minutes from scratch (on Mac&Windows)
(DIR) Post #3207758 by aras@mastodon.gamedev.place
2019-01-21T04:47:32Z
0 likes, 0 repeats
@silverweed but yes it probably eats up 50GB or so :shrug:
(DIR) Post #3211844 by silverweed@mastodon.gamedev.place
2019-01-21T08:39:49Z
0 likes, 0 repeats
@aras Yeah, that time takes into account failures (due to OOM/insufficient space) and recompilations; but still it takes about 1.5/2 hours on my machine...guess I should get a better CPU.Btw, in the end I managed to compile it and it works wonderfully :)
(DIR) Post #3221613 by aras@mastodon.gamedev.place
2019-01-21T15:50:03Z
0 likes, 0 repeats
@silverweed \o/