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
TestAssembly is very slow, leading to it being skipped by default. This is not surprising--it separately invokes the compiler and parses the result many times. However, with some care, it should be possible to take all the test functions (all named func f), rename them, assemble a single file to compile out of it, and parse the results, correlating them back to the original. This should speed it up considerably.
No special knowledge of the compiler required, but will require some careful attention and thought. Might be good first hacking project for a patient person with Go experience who wants to see the awful guts of the toolchain in action. :)
The text was updated successfully, but these errors were encountered:
TestAssembly is very slow, leading to it being skipped by default. This is not surprising--it separately invokes the compiler and parses the result many times. However, with some care, it should be possible to take all the test functions (all named
func f
), rename them, assemble a single file to compile out of it, and parse the results, correlating them back to the original. This should speed it up considerably.No special knowledge of the compiler required, but will require some careful attention and thought. Might be good first hacking project for a patient person with Go experience who wants to see the awful guts of the toolchain in action. :)
The text was updated successfully, but these errors were encountered: