[swift-users] Functions getting compiled multiple times

Dan Stenmark daniel.j.stenmark at gmail.com
Sun Nov 5 14:23:51 CST 2017

I’ve recently been profiling our compile times using the -debug-time-function-bodies flag, and I’ve noticed that some functions seem to be listed multiple times.  I know that -debug-time-function-bodies isn’t something that’s officially supported, but I’m not sure how to distinguish between a bug in that versus a problem in our own project.

Is a function being listed multiple times expected behavior and, if so, what does it indicate?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20171105/6c321225/attachment.html>

More information about the swift-users mailing list