chetanmeh edited a comment on issue #4509: Analyze OpenWhisk Scala compilation for performance URL: https://github.com/apache/incubator-openwhisk/issues/4509#issuecomment-500295549 So far my hunch is that higher compilation time is due to usage of [pureconfig][1] which internally uses [Shapeless][2] to automagically derive the config reader instances for our config case classes. Such a usage can [cause compilation slowness][3] as it relies on macros to synthesize the type classes during compile time. Latest version of pureconfig supports disabling such auto derivations and supports a [semi autoderivation][3] which I think can reduce the compilation time in a significant way. It may require us to add such implicit lookup manually like we do for Spray Json. Would see if it actually benefits or not [1]: https://pureconfig.github.io/ [2]: https://github.com/milessabin/shapeless [3]: https://pureconfig.github.io/docs/non-automatic-derivation.html#semi-automatic [3]: https://github.com/pureconfig/pureconfig/issues/396
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services