-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[SR-7702] SILVerifier ist still very slow with large arrays. #50242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Comment by Andreas Wendleder (JIRA) It gets worse with Swift 5: 36 seconds for 10.000 elements on macOS 10.14.3 with Xcode 10.2 and Swift 5.0. |
Comment by Andreas Wendleder (JIRA) With the latest snapshot from 2019-04-16 it gets a little better: 10.000 elements: 5 seconds. 25.000 elements: 30 seconds. I tested again because I saw commits 8f47439 and 4e9a9cc from @eeckstein. |
Comment by Andreas Wendleder (JIRA) Swift 5.0.1 on Linux: 10.000 elements: 15 seconds.
It seems that the problem with the verifier is gone. Slow inlining remains which is tracked in SR-9223. |
Comment by Andreas Wendleder (JIRA) Swift 5.1 macOS, 50.000 elements: 4s. I'm closing this now. Thanks. |
Comment by Andreas Wendleder (JIRA) With Swift 5.1 this issue seems to be resolved. |
Comment by Andreas Wendleder (JIRA) Swift 5.1.1 on Linux is still not good: 10.000 elements: 3.7s Perf trace for 5.000 elements:
|
Comment by Andreas Wendleder (JIRA) Swift 5.2.4 Linux: 20.000 elements: 17.6s. |
Swift 5.7 Linux: 20.000 elements: 1.1s. I think this can be closed, @shahmishal, @eeckstein . |
Yes, sounds good |
Attachment: Download
Additional Detail from JIRA
md5: 67d071791112b24d8587652a110980c4
Issue Description:
Commit 6529787 by @eeckstein fixed quadratic behaviour in basic blocks for the
SILVerifier
reported in #50173.But performance is still under par. For 10.000 Int elements it takes more than 4 seconds and gets unusable for matrix sizes of 50.000 elements.
See attached Makefile.
The text was updated successfully, but these errors were encountered: