You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on x86_64 I bench gcc9 and clang8/9 and I see that clang has poor performance
Do you know that behaviour? Is there some options to add in the clang case?
No difference with -Os -fomit-frame-pointer. I looked a little more into it, but it's hard to tell exactly what's going on in the context of the full benchmark. In isolation, a simple "raw add" test performs very similarly between clang and gcc. The overall benchmark seems to vary between runs as well, although that might be because I'm running on a VM in the cloud.
I would suggest benchmarking a mock-up of your particular use case with both clang and gcc to see if in your particular case there's a stark difference in performance or not. In my experience, clang's optimizations tend to be hit-or-miss, and can vary depending on the surrounding context.
on x86_64 I bench gcc9 and clang8/9 and I see that clang has poor performance
Do you know that behaviour? Is there some options to add in the clang case?
The text was updated successfully, but these errors were encountered: