Compile+run rather than interpret Swift actions.
Swift actions are now compiled at `init` time, then ran as a simple binary, rather than always be interpreted using `swift`. First invocation is only slighltly slower, all following are dramatically faster. Compile-time errors are reported as before. Note that if/when the container gets garbage-collected, the binary is not persisted so will be recompiled at following deployment.
Showing
- core/swiftAction/Dockerfile 3 additions, 3 deletionscore/swiftAction/Dockerfile
- core/swiftAction/proxy.py 33 additions, 9 deletionscore/swiftAction/proxy.py
- tests/src/actionContainers/SwiftActionContainerTests.scala 11 additions, 11 deletionstests/src/actionContainers/SwiftActionContainerTests.scala
Loading
Please register or sign in to comment